projects:zibaldone:vscode

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:zibaldone:vscode [2022/07/28 10:48] – [docker] sscipioniprojects:zibaldone:vscode [2025/09/13 21:44] (current) sscipioni
Line 34: Line 34:
  
 ===== docker ===== ===== docker =====
 +
 +on vscodium enable marketplace and install dev-containers extension
 +<code>
 +yay -S vscodium-bin-marketplace
 +</code>
  
   * https://code.visualstudio.com/docs/remote/attach-container   * https://code.visualstudio.com/docs/remote/attach-container
Line 76: Line 81:
   * ctrl+shift+p (F1 command palette): Remote-Containers: Open Attached Container Configuration File   * ctrl+shift+p (F1 command palette): Remote-Containers: Open Attached Container Configuration File
  
 +
 +<code | angular remote configuration>
 +{
 + "workspaceFolder": "/app",
 + "extensions": [
 + "christian-kohler.npm-intellisense",
 + "xabikos.JavaScriptSnippets",
 +        "dbaeumer.vscode-eslint"
 + ],
 + "settings": {
 +
 + }
 +}
 +</code>
  
 For debugger create in app folder (for example dnnutils) file .vscode/launch.json. From vscode attached to docker container is now enabled debugger from 'Run and Debug' view For debugger create in app folder (for example dnnutils) file .vscode/launch.json. From vscode attached to docker container is now enabled debugger from 'Run and Debug' view
Line 134: Line 153:
   * ctrl-F2: add cursor to each occurrence of current word   * ctrl-F2: add cursor to each occurrence of current word
   * ctrl-g: go to line   * ctrl-g: go to line
 +
 +
 +===== ollama =====
 +
 +models:
 +- https://ollama.com/hoangquan456/qwen3-nothink
 +
 +install ollama
 +<code>
 +yay -S ollama
 +
 +sudo systemctl enable ollama
 +sudo systemctl start ollama
 +
 +ollama pull hoangquan456/qwen3-nothink:1.7b
 +ollama pull nomic-embed-text:latest
 +ollama pull llama3.2
 +
 +
 +# mimo and a alias
 +ollama pull hf.co/jedisct1/MiMo-7B-RL-GGUF:Q4_K_M
 +ollama cp hf.co/jedisct1/MiMo-7B-RL-GGUF:Q4_K_M mimo
 +
 +# vision
 +ollama pull ZimaBlueAI/MiniCPM-o-2_6
 +</code>
 +
 +===== void =====
 +
 +<code>
 +void --install-extension ms-python.python@2025.6.1
 +</code>
 +
 +use pyright instead of pylance as python language server
 +
 +===== kilo code =====
 +
 +disable copilot github: CTRL+SHIFT+p and search for "Chat: hide AI ..."
 +
 +
 +qdrant vectore store
 +<code | docker-compose.yaml>
 +services:
 +  qdrant:
 +    image: qdrant/qdrant
 +    ports:
 +      - '6333:6333'
 +    volumes:
 +      - qdrant_storage:/qdrant/storage
 +    restart: unless-stopped
 +volumes:
 +  qdrant_storage:
 +</code>
 +===== continue.dev =====
 +
 +
 +
 +disable copilot github: CTRL+SHIFT+p and search for "Chat: hide AI ..."
 +
 +install continue.dev extension
 +
 +
 +<code | ~/.continue/config.yaml>
 +name: Local Assistant
 +version: 1.0.0
 +schema: v1
 +models:
 +  - name: Qwen3-coder
 +    provider: ollama
 +    apiBase: http://10.1.109.10:11434
 +    model: hoangquan456/qwen3-nothink:1.7b
 +    roles:
 +      - edit
 +      - apply
 +      - autocomplete
 +      - chat
 +  - name: Nomic Embed
 +    provider: ollama
 +    apiBase: http://10.1.109.10:11434
 +    model: nomic-embed-text:latest
 +    roles:
 +      - embed
 +  - name: Autodetect
 +    provider: ollama
 +    model: AUTODETECT
 +system_message: "You are an AI assistant running locally on an 8GB GPU. Keep responses concise and efficient."
 +context_providers:
 +  - name: "file"  # Current file context
 +    params:
 +      max_chars: 2000  # Prevent overload
 +  - name: "terminal"  # Shell command output
 +    params:
 +      max_lines: 50
 +  - name: "diff"  # Git/svn changes
 +    params:
 +      max_chars: 1000
 +  - name: "github"  # PRs/issues (needs auth)
 +    params:
 +      repo: "your/repo"  # Optional filtering
 +  - name: "search"  # Codebase search
 +    params:
 +      max_results: 3
 +  - name: "url"  # Webpage context
 +    params:
 +      max_chars: 1500
 +  - name: "open"  # Recently opened files
 +    params:
 +      max_files: 5
 +</code>
 +
  • projects/zibaldone/vscode.1658998111.txt.gz
  • Last modified: 2022/07/28 10:48
  • by sscipioni