{"id":22865551,"url":"https://github.com/tecfu/vscode-config","last_synced_at":"2026-01-08T08:13:24.930Z","repository":{"id":66184310,"uuid":"271486480","full_name":"tecfu/vscode-config","owner":"tecfu","description":"Configuration files for VSCode","archived":false,"fork":false,"pushed_at":"2024-07-03T23:54:52.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T14:32:06.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecfu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-11T07:57:36.000Z","updated_at":"2024-07-03T23:54:56.000Z","dependencies_parsed_at":"2023-06-26T01:30:32.639Z","dependency_job_id":"c75abcf1-51f2-4dfb-ae5e-b97f9c46d8c5","html_url":"https://github.com/tecfu/vscode-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2Fvscode-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2Fvscode-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2Fvscode-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2Fvscode-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecfu","download_url":"https://codeload.github.com/tecfu/vscode-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450403,"owners_count":20779406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T11:37:36.649Z","updated_at":"2026-01-08T08:13:24.925Z","avatar_url":"https://github.com/tecfu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-config\n\n## Beware\n\n- VSCode gives no option to persist the undo stack between sessions. If you want undo intact, never close VSCode.\n\nhttps://github.com/microsoft/vscode/issues/43555\n\n## Extensions for vscode\n\n### Export Extensions\n\n- Linux/Mac\n\n```sh\ncode --list-extensions \u003e vscode-extensions.list\n```\n\n- Windows (Powershell)\n\n```powershell\ncode --list-extensions | Out-File -FilePath vscode-extensions.list\n```\n\n### Import Extensions\n\n- Substitute `code` with `codium` for VSCodium\n- Substitute `code` with `antigravity` for Google Antigravity\n\n* Linux/Mac\n\n```\ncat vscode-extensions.list | xargs -L 1 code --install-extension\n```\n\n- Windows Git Bash\n\nWe need to account for line break differences between Windows and Unix systems. The following command will work in Git Bash on Windows:\n\n```\ncat vscode-extensions.list | tr -d '\\r' | xargs -L 1 code --install-extension\n```\n\n- Windows (Powershell)\n\n```powershell\nGet-Content vscode-extensions.list | ForEach-Object { code --install-extension $_ }\n```\n\n#### Notes\n\n- For VSCodium use the `codium` command instead\n- Enable the `code` and `codium` shell commands via the command palette:\n  \u003cS-C\u003eP -\u003e Shell -\u003e Add Cod{e|ium} to Path\n- To manually install an extension:\n  - marketplace.visualstudiocode.com/\\* \u003e Resources \u003e Download Extension\n  - `code --install-extension downloaded-extension.vsix`\n\n### Troubleshooting\n\n#### Error: self signed certificate in certificate chain\n\nWhen attempting to install extensions on a corporate network, you may encounter an error like `Error while installing extensions: self signed certificate in certificate chain`.\n\nThis error occurs because the corporate network uses a proxy with an SSL certificate that is not trusted by your machine. Your development tools, including VS Code, cannot validate the connection and refuse to download the extensions.\n\nThere are several ways to address this:\n\n1.  **Install the Corporate Root CA Certificate (Recommended)**: The most secure and permanent solution is to obtain the root CA certificate from your IT department and install it in your system's trust store. This will allow your system to trust the corporate proxy.\n\n2.  **Temporarily Disable the Proxy**: If your organization's policy and network configuration allow it, you may be able to temporarily disconnect from the proxy (e.g., disconnect from the VPN or disable GlobalProtect). If you can do this and still have internet access, you can proceed with the installation. **Warning:** This may be against your company's IT policy and could disable your internet access.\n\n3.  **Workarounds (May Not Work)**: In some cases, you can bypass the SSL check. These methods are not guaranteed to work in highly restrictive environments.\n    - **Setting in `settings.json`**: Add `\"http.proxyStrictSSL\": false` to your `settings.json` file.\n    - **Environment Variable**: Set the `NODE_TLS_REJECT_UNAUTHORIZED=0` environment variable in your terminal session before running the installation command.\n\n### Delete All Extensions\n\nLinux/MAC:\n\n```\nrm -rf ~/.vscode/extensions\n```\n\nWindows:\n\n```\nrd -r %USERPROFILE%\\.vscode\\extensions\n```\n\nSee also: https://stackoverflow.com/questions/36746857/completely-uninstall-vs-code-extensions\n\n## Configuration files for VSCode\n\n### settings.json\n\n_VSCode_\n\n- Windows\n  %APPDATA%\\Code\\User\\settings.json\n- macOS\n  $HOME/Library/Application\\ Support/Code/User/settings.json\n- Linux\n  $HOME/.config/Code/User/settings.json\n\n_VSCodium_\n\n- Windows\n  %APPDATA%\\VSCodium\\User\\settings.json\n- macOS\n  $HOME/Library/Application\\ Support/VSCodium/User/settings.json\n- Linux\n  $HOME/.config/VSCodium/User/settings.json\n\nOpen the command palette (either with F1 or Ctrl+Shift+P)\nType `open settings`\nSelect `Open Settings (JSON)`\nReplace with settings.json from this repo\n\n### keybindings.json\n\n#### VSCode\n\n- Windows:\n  %UserProfile%\\AppData\\Roaming\\Code\\User\\keybindings.json\n- macOS:\n  ~/Library/Application\\ Support/Code/User/keybindings.json\n- Linux:\n  $HOME/.config/Code/User/keybindings.json\n\n#### VSCodium\n\n- Windows\n  %APPDATA%\\VSCodium\\User\\keybindings.json\n- macOS\n  $HOME/Library/Application\\ Support/VSCodium/User/keybindings.json\n- Linux\n  $HOME/.config/VSCodium/User/keybindings.json\n\nOpen the command palette (either with F1 or Ctrl+Shift+P)\nType: \"Open Keyboard Shortcuts\" (JSON) command.\nSelect `Open Keyboard Shortcuts (JSON)`\nReplace with keybindings.json from this repo\n\n### Symbolic Linking (Linux)\n\nTo make this repository the source of truth for your configuration, you can symbolically link the `settings.json` and `keybindings.json` files. This ensures that any changes you make in the editor are reflected in the repository, and vice-versa.\n\n**Warning**: This will overwrite your existing local configuration. Back up your current files if you have settings you want to keep.\n\n#### VS Code\n\n```bash\nmkdir -p ~/.config/Code/User\nln -sf ~/dotfiles/vscode-config/settings.json ~/.config/Code/User/settings.json\nln -sf ~/dotfiles/vscode-config/keybindings.json ~/.config/Code/User/keybindings.json\n```\n\n#### Google Antigravity\n\n```bash\nmkdir -p ~/.config/Antigravity/User\nln -sf ~/dotfiles/vscode-config/settings.json ~/.config/Antigravity/User/settings.json\nln -sf ~/dotfiles/vscode-config/keybindings.json ~/.config/Antigravity/User/keybindings.json\n```\n\n## Optional\n\n### Suggested: Remap ESC to CAPS LOCK\n\n- Linux ~/.xmodmap\n\n```\n! Swap caps lock and escape\nremove Lock = Caps_Lock\nkeysym Escape = Caps_Lock\nkeysym Caps_Lock = Escape\nadd Lock = Caps_Lock\n```\n\n- Windows [ililim/dual-key-remap](https://github.com/ililim/dual-key-remap)\n\n## Google Antigravity\n\nThis configuration includes settings specific to Google Antigravity, a VS Code fork.\n\n- `antigravity.marketplaceGalleryItemURL`: `https://marketplace.visualstudio.com/items`\n- `antigravity.marketplaceExtensionGalleryServiceURL`: `https://marketplace.visualstudio.com/_apis/public/gallery`\n\nThese settings configure the IDE to use the official Visual Studio Marketplace for extensions.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecfu%2Fvscode-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecfu%2Fvscode-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecfu%2Fvscode-config/lists"}