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:50]
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**//.
  
-==== manual in the CLI ==== +in the left sidebar select **Extentions(Ctrl+Shift+X)** 
-Because we start opencode with a webinterface we need to attach a TUI interface using opencode. +in the search bar type //**OpenChamber**// and in the list press **Install**.
-On the command line we could do:\\ +
-''opencode attach http://localhost:4096''+
  
-==== as a task in VSCodium ==== +===== set link to opencode instance ===== 
-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+Now that the plugin is installed we set it up with the URL of the previously installed opencode server.
  
-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:  +navigate to **File → Preferences → Settings**  
-<code> +  
-+In the window that opens, in the left pane expand **>Exstentions** and select **OpenChamber**
-  "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  **TasksRun Task**+in the field **Api Url** enter ''%%http://localhost:4096%%''
 +  
 +Leave the **Opencode Binary** empty.
  
-=== automatic on VSCodium startup === +===== start ===== 
-there are two options to run this task at startup of VSCodium; +Test by pressing the cube like icon in the top right of the VSCodium interfaceA panel opens and at the bottom you can choose a model.
-  * add the tasks.json file to every project and use **Tasks: Manage Automatic Tasks in Folder** +
-  * through  an extension like //AutoLaunch// +
- +
-the first option causes too much pollution so we choose the second.+
  
  
werkinstructies/vscodium_opencode.1774446603.txt.gz · Laatst gewijzigd: 2026/03/25 14:50 door abel