devcontainer.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "dockerComposeFile": "docker-compose.yml",
  3. "service": "buildtools",
  4. "onCreateCommand": ".devcontainer/on-create-command.sh",
  5. "updateContentCommand": ".devcontainer/update-content-command.sh",
  6. "workspaceFolder": "/workspaces/gclient/src/electron",
  7. "forwardPorts": [6080, 5901],
  8. "portsAttributes": {
  9. "6080": {
  10. "label": "VNC web client (noVNC)",
  11. "onAutoForward": "silent"
  12. },
  13. "5901": {
  14. "label": "VNC TCP port",
  15. "onAutoForward": "silent"
  16. }
  17. },
  18. "hostRequirements": {
  19. "storage": "128gb",
  20. "cpus": 16
  21. },
  22. "remoteUser": "builduser",
  23. "customizations": {
  24. "codespaces": {
  25. "openFiles": [
  26. ".devcontainer/README.md"
  27. ]
  28. },
  29. "vscode": {
  30. "extensions": [
  31. "joeleinbinder.mojom-language",
  32. "rafaelmaiolla.diff",
  33. "surajbarkale.ninja",
  34. "ms-vscode.cpptools",
  35. "mutantdino.resourcemonitor",
  36. "dbaeumer.vscode-eslint",
  37. "shakram02.bash-beautify",
  38. "marshallofsound.gnls-electron",
  39. ],
  40. "settings": {
  41. "editor.tabSize": 2,
  42. "bashBeautify.tabSize": 2,
  43. "typescript.tsdk": "node_modules/typescript/lib",
  44. "[gn]": {
  45. "editor.formatOnSave": true
  46. },
  47. "[javascript]": {
  48. "editor.codeActionsOnSave": {
  49. "source.fixAll.eslint": true
  50. }
  51. },
  52. "[typescript]": {
  53. "editor.codeActionsOnSave": {
  54. "source.fixAll.eslint": true
  55. }
  56. },
  57. "javascript.preferences.quoteStyle": "single",
  58. "typescript.preferences.quoteStyle": "single"
  59. }
  60. }
  61. }
  62. }