User Tools

Site Tools


config:vscode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:vscode [2026/02/11 01:39] Wuffconfig:vscode [2026/06/10 15:56] (current) Wuff
Line 38: Line 38:
 Keyboard shortcut changes (CTRL+K CTRL+S): Keyboard shortcut changes (CTRL+K CTRL+S):
   * Copy Line Down -> CTRL + D   * Copy Line Down -> CTRL + D
 +
 +
 +Note: To authenticate the ChatGPT/Codex plugin within VS Code Server docker image, the following needs to be done on the docker main system. The codex binary is in the plugin version's directory and vscode runs under user abc. For this to work, the device auth needs to be enabled in chatgpt codex security settings:
 +<code>
 +docker exec -it -u abc vscode sh -lc '
 +CODEX_BIN="$(find /config/extensions -path "*/bin/linux-x86_64/codex" | head -n1)"
 +"$CODEX_BIN" login --device-auth
 +'
 +</code>
 +
 +===== Codex Rate Limit Plugin =====
 +
 +https://marketplace.visualstudio.com/items?itemName=xiangz19.codex-ratelimit
 +install from top toolbar:
 +<code>
 +ext install xiangz19.codex-ratelimit
 +</code>
 +Set refresh to 60 seconds. Default is 10 seconds.
 +
 +===== Persistent Conf =====
 +
 +Open Command Palette:
 + Ctrl+Shift+P
 +then:
 + Preferences: Open User Settings (JSON)
 +and paste the settings below.
 +
 +<code>
 +{
 +    "window.restoreWindows": "preserve",
 +    "chat.restoreLastPanelSession": true,
 +    "terminal.integrated.persistentSessionReviveProcess": "onExitAndWindowClose",
 +    "files.hotExit": "onExitAndWindowClose",
 +    "workbench.editor.restoreViewState": true,
 +    "terminal.integrated.enablePersistentSessions": true,
 +    "workbench.colorTheme": "Dark 2026",    
 +}
 +</code>
 +
 +For vscodium-web, to restore project windows/open files etc, link to the exact project file like:
 +https://vscodium-web.example.com/?workspace=/src/projects/something.code-workspace
 +
 +
 +
 +SFTP extension for remote up/download of files:
 +https://marketplace.visualstudio.com/items?itemName=Natizyskunk.sftp
 +example config:
 +<code>
 +{
 +    "name": "remote-name",
 +    "host": "remote-hostname",
 +    "protocol": "sftp",
 +    "port": 22,
 +    "username": "root",
 +    "privateKeyPath": "/home/user/.ssh/id_rsa",
 +    "remotePath": "/var/www/htdocs",
 +    "uploadOnSave": false,
 +    "useTempFile": false,
 +    "openSsh": false
 +}
 +</code>
  
config/vscode.1770773958.txt.gz · Last modified: by Wuff