[NTG-context] Installing VSCode extension?

Henning Hraban Ramm texml at fiee.net
Thu Jul 30 12:25:34 CEST 2020


> Am 30.07.2020 um 07:52 schrieb Jeong Dal <haksan at me.com>:
> 
> Dear Alasdair McAndrew,
> 
> I am using vscode in iMac, so my setting may not work for you.
> 
> 
> 
> 1. First, find files for vscode in your TeX folder.
> 
> In my case, 
> 
> /ConTeXt-homefolder/tex/texmf-context/context/data/vacode/extensions/context/*.*
> 
> 2. In a homefolder, there is a hidden folder “.vacode”.
> 
> Copy context/*.* to  ./vscode/extensions/context/*.*
> 
> 3. Open vscode and enable context-extension.
> 
> Since it was long time ago, my memory may not be correct.
> However, I hope that it may give you an idea.

It might make sense to not copy the files but symlink the folder (then it automatically receives updates).
i.e.
ln -s $TEXROOT/texmf-context/context/data/vacode/extensions/context ~/.vscode/extensions/

Don’t know how symlinking in Windows works, though.

HR


More information about the ntg-context mailing list