
I have a publisher ID on the vscode marketplace. Would it be helpful if I
publish this context extension to vscode on the marketplace? Is it open
source, and do I have permission to do this? I have spent the past 4
months writing an extension of my own and so the vscode API is still fresh
in my mind. Is there a repo for this extension online? What is its URL?
From,
David Roderick
On Sat, 28 Jun 2025, 18:34 Hraban Ramm,
Another thing: I don’t know how the tasks from "tasks/context.json" are supposed to work. They don’t appear under "Run Task" (Ctrl-F12).
I made my own tasks.json (doesn’t work in ~/.vscode-oss or ~/.vscode, but only in <project>/.vscode), that works to call context or mtxrun, but it won’t ever open an external PDF viewer. I found a workaround via command substitution (backticks): { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "ConTeXt", "type": "shell", "command": "context --autopdf=auto '${file}' && `xdg-open '${fileBasenameNoExtension}.pdf'`", "args": [], "options": { "cwd": "${fileDirname}" }, "group": { "kind": "build", "isDefault": true } }, { "label": "check file", "type": "shell", "command": "mtxrun --script check '${file}'", "args": [], "options": { "cwd": "${fileDirname}" }, "group": { "kind": "test", "isDefault": true } }, { "label": "open PDF in external viewer", "type": "shell", "command": "`xdg-open '${fileBasenameNoExtension}.pdf'`", "args": [], "options": { "cwd": "${fileDirname}" }, } ] }
Hraban
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net
___________________________________________________________________________________