Gebruikershulpmiddelen

Site-hulpmiddelen


werkinstructies:vscodium_opencode

Verschillen

Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.

Link naar deze vergelijking

Beide kanten vorige revisie Vorige revisie
Volgende revisie
Vorige revisie
werkinstructies:vscodium_opencode [2026/03/25 14:32]
abel
werkinstructies:vscodium_opencode [2026/03/31 11:00] (huidige)
abel [start]
Regel 2: Regel 2:
 VSCodium is a community-driven, fully open-source binary distribution of Visual Studio Code (VS Code), built from the same open-source repository (Code-OSS) but without Microsoft's proprietary components. VSCodium is a community-driven, fully open-source binary distribution of Visual Studio Code (VS Code), built from the same open-source repository (Code-OSS) but without Microsoft's proprietary components.
  
-===== Connect a TUI interface =====+===== install opencode plugin ===== 
 +The most used opencode plugins for VSCode have issues when installed in VSCodium except //**OpenChamber**//.
  
-Because we start opencode with a webinterface we need to attach a TUI interface using opencode. +in the left sidebar select **Extentions(Ctrl+Shift+X)** 
-On the command line we could do:\\ +in the search bar type //**OpenChamber**// and in the list press **Install**.
-''opencode attach http://localhost:4096''+
  
-but since we plan to use the TUI in VSCodium we might as wel create a startup task in VSCodium that does this for us when VSCodium starts+===== set link to opencode instance ===== 
 +Now that the plugin is installed we set it up with the URL of the previously installed opencode server. 
 + 
 +navigate to **File → Preferences → Settings**  
 +  
 +In the window that opens, in the left pane expand **>Exstentions** and select **OpenChamber** 
 + 
 +in the field **Api Url** enter ''%%http://localhost:4096%%''
 +  
 +Leave the **Opencode Binary** empty. 
 + 
 +===== start ===== 
 +Test by pressing the cube like icon in the top right of the VSCodium interface. A panel opens and at the bottom you can choose a model.
  
-In VSCodium press ''Ctrl+Shift+P', in the list appearing at the top choose **Task: Open User Task**, choose **Others** and replace the placeholder text with:  
-<code> 
-{ 
-  "version": "2.0.0", 
-  "tasks": [ 
-    { 
-      "label": "Attach to OpenCode", 
-      "type": "shell", 
-      "command": "opencode attach http://localhost:4096", 
-      "group": "none", 
-      "presentation": { 
-        "reveal": "always", 
-        "panel": "new" 
-      }, 
-      "runOptions": { 
-        "runOn": "folderOpen" 
-      } 
-    } 
-  ] 
-} 
-</code> 
  
-this can now be run with  **Tasks: Run Task** 
werkinstructies/vscodium_opencode.1774445573.txt.gz · Laatst gewijzigd: 2026/03/25 14:32 door abel