devcontainer.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. "CircleCI.circleci"
  40. ],
  41. "settings": {
  42. "editor.tabSize": 2,
  43. "bashBeautify.tabSize": 2,
  44. "typescript.tsdk": "node_modules/typescript/lib",
  45. "[gn]": {
  46. "editor.formatOnSave": true
  47. },
  48. "[javascript]": {
  49. "editor.codeActionsOnSave": {
  50. "source.fixAll.eslint": true
  51. }
  52. },
  53. "[typescript]": {
  54. "editor.codeActionsOnSave": {
  55. "source.fixAll.eslint": true
  56. }
  57. },
  58. "javascript.preferences.quoteStyle": "single",
  59. "typescript.preferences.quoteStyle": "single"
  60. }
  61. }
  62. }
  63. }