From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108165 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alasdair McAndrew Newsgroups: gmane.comp.tex.context Subject: Re: Installing VSCode extension? Date: Wed, 29 Jul 2020 22:19:59 +1000 Message-ID: References: <61d9f861-b8c4-da48-0a9f-88abd19c5b08@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7086334841799886267==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28929"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 29 14:20:38 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0l4Y-0007Pe-6m for gctc-ntg-context-518@m.gmane-mx.org; Wed, 29 Jul 2020 14:20:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF9AF16096E; Wed, 29 Jul 2020 14:20:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ZQrSlnBXj9x; Wed, 29 Jul 2020 14:20:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4A6EF1614E6; Wed, 29 Jul 2020 14:20:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 259771614E6 for ; Wed, 29 Jul 2020 14:20:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sS71IROGDpBl for ; Wed, 29 Jul 2020 14:20:12 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.176; helo=mail-oi1-f176.google.com; envelope-from=amca01@gmail.com; receiver= Original-Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8D7F216096E for ; Wed, 29 Jul 2020 14:20:12 +0200 (CEST) Original-Received: by mail-oi1-f176.google.com with SMTP id e6so311689oii.4 for ; Wed, 29 Jul 2020 05:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=VSCauzxsWJLWJDdThGe5Bt9ESe17fcqNno6l7Yivzyo=; b=umqg1NMHNxdxyIU0CJC6pdIbSlemHVMiScpPCmLCxqzMLOZXMFTeiVPlQqp8f1+YMA j6s/VyBPcACv+xA//J4N6gHwZKuOLs98r0BiOF9XMH6w8vwSBnnt2jnig3bOnR2sguMc XGnrY/Et6Inowz0vP+OQZf0hRdoGwLqAOYiX+RRX+mN5jXdtHfCjgptxjGPbLuYoYh0h NdiK5sLH1wd/3N6b9XdzwZpb8nyeLU6/i8AmxVD1yw5Wty4xWNd3nhzwQ2iNLpPTXl44 Y68Eu6K7hYFA21+RIb+81MXWMAZZCETXomWQIXGua5XXEXErITMKQbuu72dICgMvEdhE ruHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VSCauzxsWJLWJDdThGe5Bt9ESe17fcqNno6l7Yivzyo=; b=o9UuuRm1f41OReqbh3PNl8j/If0u+QAl0yylItIyCd/5O9l4ijbhGtq5ntmqC6BQSL og1+NA7bfPXKyqVLAFx4pxZWHeWqHeadQZG8RB6fo4HgmEOjViyQlERHQIM0BmMMcBD3 n/ksXgS0a7v/Cedk53IYrOn15tu5lqIufYzJ/J+YQ4xQNaml5bHJd1hQL2cUoNeJArvb 1ctZ+mA2hYX58X8kgeFzLDcNLMAvmICgOMqsTc+oxLt8VClGIrxni6sV9jLY4SrkqO4s jKtgXQR7J8fA3vwiHMaVEsWGvSlKq0uWhRgzudLzefbcb4uNTFiFxyfOlgYz9f+Y3UfN F2Jg== X-Gm-Message-State: AOAM533OU9yyHpswmWb1CqE45Iom7vShD+ZsQFRC+LqqjV2lLi/a4xll QyPB5ds//IBVEIJ8aOWSjuWsDPn81Gy8O5/uIkVvo65z X-Google-Smtp-Source: ABdhPJyE7yRKFv+ounTWpeiU91DmBAuEc9MtE+YFizv2r6Xg8FGmeg8az7sw7bs3lIFpaDmrQX58HEA8D4cXeQilpng= X-Received: by 2002:aca:130e:: with SMTP id e14mr7858978oii.99.1596025210263; Wed, 29 Jul 2020 05:20:10 -0700 (PDT) In-Reply-To: <61d9f861-b8c4-da48-0a9f-88abd19c5b08@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:108165 Archived-At: --===============7086334841799886267== Content-Type: multipart/alternative; boundary="000000000000b5dbdf05ab9393bc" --000000000000b5dbdf05ab9393bc Content-Type: text/plain; charset="UTF-8" Thank you very much, but in fact that script file "vscode-context.cmd" really just contains the same command for installing extensions as I quoted above - and so produces the same errors. Maybe I'll go back to trying SciTe - I gave it a bit of a go, but wasn't successful. Of all the information on the context-wiki, and the Pragma webpage - where would I go to find the most up-to-date information about configuring an editor to work with ConTeXt in Windows? Thanks again, Alasdair On Wed, Jul 29, 2020 at 2:51 AM Hans Hagen wrote: > On 7/28/2020 6:51 AM, Alasdair McAndrew wrote: > > I am installing the Windows version of ConTeXt, which comes with a > > VSCode extension, in > > > > \tex\texmf-context\context\data\vscode\extensions > > > > > > with instructions to run (from within the VSCode terminal): > > > > code -- extensions-dir -- install-extension context > > > > > > The trouble is that the current ConTeXt installation (as of 65 minutes > > ago), doesn't seem to contain an extension in the format that VSCode > > understands. Running that command produces the errors: > > > > Installing extensions... > > Extension 'context' not found. > > Make sure you use the full extension ID, including the publisher, > > e.g.: ms-dotnettools.csharp > > Failed Installing Extensions: context: > > > > > > For what it's worth, I'm running VSCode 1.46.0. > > > > How can I install the VSCode ConTeXt extension? > Here i just run this (seems to work with latest update): > > data/context/vscode-context.cmd > > (I only occasionally check vscode and will look into it again when there > is easy suffix dependent runner support. Of course I do generate the > syntax files.) > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > -- https://numbersandshapes.net --000000000000b5dbdf05ab9393bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much, but in fact that script file "vs= code-context.cmd" really just=C2=A0contains=C2=A0the same command for = installing extensions as I quoted above - and so produces the same errors.= =C2=A0 Maybe I'll go back to trying SciTe - I gave it a bit of a go, bu= t wasn't successful.=C2=A0 Of all the information on the context-wiki, = and the Pragma webpage - where would I go to find the most up-to-date infor= mation about configuring an editor to work with ConTeXt in Windows?
Thanks again,
Alasdair

On Wed, Jul 29, 2020 at 2= :51 AM Hans Hagen <j.hagen@xs4all.n= l> wrote:
On 7/28/2020 6:51 AM, Alasdair McAndrew wrote:
> I am installing the Windows version of ConTeXt, which comes with a > VSCode extension, in
>
>=C2=A0 =C2=A0 =C2=A0<ConTeXt>\tex\texmf-context\context\data\vsco= de\extensions
>
>
> with instructions=C2=A0to run (from within the VSCode terminal):
>
>=C2=A0 =C2=A0 =C2=A0code -- extensions-dir <above directory> -- i= nstall-extension context
>
>
> The trouble is that the current ConTeXt installation=C2=A0(as of 65 mi= nutes
> ago), doesn't seem to contain an extension in the format that VSCo= de
> understands.=C2=A0 Running that command produces the errors:
>
>=C2=A0 =C2=A0 =C2=A0Installing extensions...
>=C2=A0 =C2=A0 =C2=A0Extension 'context' not found.
>=C2=A0 =C2=A0 =C2=A0Make sure you use the full extension ID, including = the publisher,
>=C2=A0 =C2=A0 =C2=A0e.g.: ms-dotnettools.csharp
>=C2=A0 =C2=A0 =C2=A0Failed Installing Extensions: context:
>
>
> For what it's worth, I'm running=C2=A0VSCode 1.46.0.
>
> How can I install the VSCode ConTeXt extension?
Here i just run this (seems to work with latest update):

data/context/vscode-context.cmd

(I only occasionally check vscode and will look into it again when there is easy suffix dependent runner support. Of course I do generate the
syntax files.)

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


--
--000000000000b5dbdf05ab9393bc-- --===============7086334841799886267== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7086334841799886267==--