config:vscode
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:vscode [2026/06/16 22:39] – Wuff | config:vscode [2026/09/02 17:23] (current) – Wuff | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| * Settings -> application -> update -> update:mode -> None (as updated through apt) | * Settings -> application -> update -> update:mode -> None (as updated through apt) | ||
| - | + | < | |
| - | Marketplace addons/ | + | sudo apt install sqlite3 |
| - | * install " | + | </ |
| - | * SQLite Viewer & SQLite https:// | + | |
| - | * move codex icon to right sidebar | + | |
| Keyboard shortcut changes (CTRL+K CTRL+S): | Keyboard shortcut changes (CTRL+K CTRL+S): | ||
| * Copy Line Down -> CTRL + D | * Copy Line Down -> CTRL + D | ||
| + | |||
| + | To use new hybrid markdown editor (v1.131.0) as default, go to settings -> | ||
| + | | ||
| + | |||
| + | |||
| + | ====== Marketplace addons/ | ||
| + | |||
| + | Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. | ||
| + | < | ||
| + | # GitLens: | ||
| + | ext install eamodio.gitlens | ||
| + | |||
| + | # OpenAI ChatGPT/ | ||
| + | ext install openai.chatgpt | ||
| + | |||
| + | # Codex rate limit plugin. Set refresh to 60 seconds. Default is 10 seconds. | ||
| + | ext install xiangz19.codex-ratelimit | ||
| + | |||
| + | # Anthropic Claude Code: | ||
| + | ext install anthropic.claude-code | ||
| + | |||
| + | # Claude Status: | ||
| + | ext install long-kudo.vscode-claude-status | ||
| + | |||
| + | # Python: | ||
| + | ext install ms-python.python | ||
| + | ext install ms-python.debugpy | ||
| + | ext install ms-python.vscode-python-envs | ||
| + | ext install ms-python.vscode-pylance | ||
| + | |||
| + | # SFTP: | ||
| + | ext install Natizyskunk.sftp | ||
| + | |||
| + | # SQLite: | ||
| + | ext install alexcvzz.vscode-sqlite | ||
| + | |||
| + | </ | ||
| + | |||
| + | move codex/ | ||
| Line 48: | Line 85: | ||
| </ | </ | ||
| - | ===== Codex Rate Limit Plugin ===== | ||
| - | https:// | + | SFTP extension for remote up/download of files: |
| - | install from top toolbar: | + | https:// |
| + | example config: | ||
| < | < | ||
| - | ext install xiangz19.codex-ratelimit | + | { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| </ | </ | ||
| - | Set refresh to 60 seconds. Default is 10 seconds. | + | |
| ===== Persistent Conf ===== | ===== Persistent Conf ===== | ||
| Line 81: | Line 129: | ||
| + | ===== Claude Code History ===== | ||
| + | |||
| + | Claude Code local sessions are stored in ~/ | ||
| + | |||
| + | |||
| + | ===== Claude Code Remote Control ===== | ||
| + | |||
| + | Remote control of VSCode sessions can be activated by entering the following into the claude session: | ||
| - | SFTP extension for remote up/download of files: | ||
| - | https:// | ||
| - | example config: | ||
| < | < | ||
| - | { | + | /remote-control |
| - | " | + | |
| - | " | + | or |
| - | " | + | |
| - | " | + | /remote-control My Project Name |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | } | + | |
| </ | </ | ||
| + | Push notifications for the claude app (does not work in browser) can be set using: | ||
| + | < | ||
| + | /config agentPushNotifEnabled=true | ||
| + | /config inputNeededNotifEnabled=true | ||
| + | /config remoteControl=true | ||
| + | </ | ||
| + | :!: Remote control may cause crashes when used in the vscode plugin! | ||
| - | https:// | + | Then login via claude.ai/code on mobile or browser or claude |
| - | https:// | + | |
| - | ===== Claude code permissions ===== | ||
| - | Claude | + | ===== Claude |
| - | It's a good idea to curate an allow list of safe commands it should use for projects or globally. | + | To bypass all permission requests (dangerous!) in vscode, the following setting needs to be adjusted: |
| + | settings -> search | ||
| + | set ask before edits/edit automatically to bypass permissions in the chat interface. | ||
| + | may need reload of the whole chat session to activate. | ||
| - | format of an allow list: | + | Once activated, in the chat, shift+tab can be used to scroll through edit type options |
| - | <code json .claude/ | + | |
| - | { | + | https:// |
| - | | + | |
| - | " | + | Note: Bypass permission mode does NOT work when remote-controlling sessions. Every instruction via a remote-controlled session changes the permission mode to the available setting from the external device and will prompt. Bypass permissions only works through the vscode extension chat. |
| - | "Bash(node -e \" | + | |
| - | "Bash(python3 -c \" | + | This can be set globally in .claude/ |
| - | "Bash(python3)", | + | <code> |
| - | "Bash(git diff *)", | + | " |
| - | "Read(// | + | " |
| - | "Read(// | + | "WebSearch", |
| - | "Bash(pip show *)", | + | "WebFetch(domain: |
| - | " | + | "WebFetch(domain: |
| - | " | + | "WebFetch(domain: |
| - | " | + | "Edit", |
| - | " | + | "Write", |
| - | " | + | "Bash(node *)", |
| - | ], | + | " |
| - | "additionalDirectories": | + | ], |
| - | | + | "defaultMode": "bypassPermissions" |
| - | ] | + | |
| - | } | + | |
| } | } | ||
| </ | </ | ||
| - | Note that the asterisk can be used anywhere in the setting and it matches any characters. Be mindful | + | ===== Claude Code Behaviour ===== |
| + | |||
| + | Create or edit ~/ | ||
| + | Paste the negative constraint inside | ||
| + | < | ||
| + | Never comment on the time of day, how late it is, or suggest that I take a break, get some rest, or go to sleep. | ||
| + | </ | ||
| + | Save the file. Claude Code will automatically ingest this instruction at the start of every new chat session. | ||
| + | |||
| + | ===== Claude Code CLI ===== | ||
| + | |||
| + | To use the CLI of claude code installed with the extension, add the path to .profile or .bashrc (whichever | ||
| + | < | ||
| + | add claude to bashrc path: | ||
| + | # Add claude to path | ||
| + | #export PATH=" | ||
| + | export PATH=" | ||
| + | </ | ||
| + | |||
| + | To add a Claude Code CLI status bar: | ||
| + | GitHub: https:// | ||
| + | < | ||
| + | git clone https:// | ||
| + | cd claude-usage-bar | ||
| + | bash install.sh | ||
| + | </ | ||
| + | {{.: | ||
| + | |||
| + | |||
| + | Multi-account proxy teamclaude: | ||
| + | https:// | ||
| + | |||
| + | < | ||
| + | npm install -g @karpeleslab/ | ||
| + | teamclaude import | ||
| + | teamclaude alias --install | ||
| + | source | ||
| + | teamclaude server --headless | ||
| + | claude | ||
| + | </ | ||
| + | |||
config/vscode.1781645982.txt.gz · Last modified: by Wuff