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/08/09 22:31] Wuffconfig:vscode [2026/09/02 17:23] (current) Wuff
Line 45: Line 45:
 Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
 <code> <code>
 +# GitLens:
 +ext install eamodio.gitlens
 +
 # OpenAI ChatGPT/Codex: # OpenAI ChatGPT/Codex:
 ext install openai.chatgpt ext install openai.chatgpt
Line 149: Line 152:
 /config remoteControl=true /config remoteControl=true
 </code> </code>
 +:!: Remote control may cause crashes when used in the vscode plugin!
  
 Then login via claude.ai/code on mobile or browser or claude app on different device. Then login via claude.ai/code on mobile or browser or claude app on different device.
Line 165: Line 169:
  
 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. 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.
 +
 +This can be set globally in .claude/settings.json in the permissions block like so:
 +<code>
 +"permissions": {
 +  "allow": [
 +    "WebSearch",
 +    "WebFetch(domain:github.com)",
 +    "WebFetch(domain:raw.githubusercontent.com)",
 +    "WebFetch(domain:api.github.com)",
 +    "Edit",
 +    "Write",
 +    "Bash(node *)",
 +    "Bash(curl -s *)"
 +  ],
 +  "defaultMode": "bypassPermissions"
 +}
 +</code>
 +===== Claude Code Behaviour =====
 +
 +Create or edit ~/.claude/CLAUDE.md
 +Paste the negative constraint inside the file:
 +<code>
 +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.
 +</code>
 +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 is required on your system). The direct extension path keeps changing, but separate version is available through .local/bin. Note that similar to vscode, the sessions are stored per working folder and then shared between vscode extension and cli. Open CLI code in the appropriate working directory for your project to /resume sessions:
 +<code>
 +add claude to bashrc path:
 +# Add claude to path
 +#export PATH="$HOME/.vscode/extensions/anthropic.claude-code-2.1.245-linux-x64/resources/native-binary:$PATH"
 +export PATH="$HOME/.local/bin:$PATH"
 +</code>
 +
 +To add a Claude Code CLI status bar:
 +GitHub: https://github.com/bhutano/claude-usage-bar 
 +<code>
 +git clone https://github.com/bhutano/claude-usage-bar.git
 +cd claude-usage-bar
 +bash install.sh
 +</code>
 +{{.:pasted:20260830-022636.png}}
 +
 +
 +Multi-account proxy teamclaude:
 +https://github.com/KarpelesLab/teamclaude
 +
 +<code>
 +npm install -g @karpeleslab/teamclaude
 +teamclaude import
 +teamclaude alias --install
 +source .bashrc
 +teamclaude server --headless
 +claude
 +</code>
 +
  
config/vscode.1786311089.txt.gz · Last modified: by Wuff