From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108257 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Sundqvist Newsgroups: gmane.comp.tex.context Subject: Re: Installing VSCode extension? Date: Tue, 4 Aug 2020 14:38:05 +0200 Message-ID: References: <4ECE59FD-6C48-4B38-BEA3-68EE3D0441B6@fiee.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1831790446903283332==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2893"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 04 14:39:43 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 1k2wEJ-0000eu-CM for gctc-ntg-context-518@m.gmane-mx.org; Tue, 04 Aug 2020 14:39:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A687C1A7B35; Tue, 4 Aug 2020 14:38:37 +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 oY9YXQC3q94L; Tue, 4 Aug 2020 14:38:35 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5586D1A7B25; Tue, 4 Aug 2020 14:38:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7C2B1A7B21 for ; Tue, 4 Aug 2020 14:38:34 +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 WkqE2moNf3MC for ; Tue, 4 Aug 2020 14:38:33 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.177; helo=mail-qt1-f177.google.com; envelope-from=mickep@gmail.com; receiver= Original-Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 839451A7B1F for ; Tue, 4 Aug 2020 14:38:33 +0200 (CEST) Original-Received: by mail-qt1-f177.google.com with SMTP id b25so30710202qto.2 for ; Tue, 04 Aug 2020 05:38:33 -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=J/pLLUpD/x19r7gpkpNET/hZ2wSzuJlAP1ddxVwu/tA=; b=vetW8+BIoHV57ymlJ8AO3OIsZY4tRaYpua1Az0YsbGAF6LpTR8y6h3hLCgcRlCYK9V ep31f7Tl7x6R5LnkTQYNlaJqNj8X/tN+J73JGyn03EwRRn7ruoEskngVyNEvP6FJT2Xe 4rZqwYARsJuY/WUuNkb9EdFZ4IppUnZ1HgH/cMyacFH18yBmq64ziz087sbpNMZuVEhi /ZZLorb0QVpW75kLhWEI+ugHkJTPWl57gdpu/ekIHmV3XM1TzSErdlBI2UkXfeKdJWtN 9GHwN/G1An7/xWPNPvL42bRoaaPC7aGVMcNE4/VMcbGfeafICDCcHBXeCEebiVE0A5JY 1KbQ== 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=J/pLLUpD/x19r7gpkpNET/hZ2wSzuJlAP1ddxVwu/tA=; b=jWEaIgGGNiN6HKKeRLcHCOjOg93Ik+RwOihLqdJ8DJvHrl6tjFws0EoMddhYHKY6T5 ksM66gNlzYv7++bfjBNl8KN4M5QlSybEPZlt4xZcExWCOJmDZq6UtFd8WrKllMUfTq6L M/0K8ESZgvHiLtUx9IeQp3tasvOCCiXYbRbSDFQo0/ZRFj4pE1wJscaUhvQH3KIhoBgm g6F88COZ3X4pGqo7dB+KijaFUgMGsS4btgqfegA2F2Wc9PL56nLg0nG/Bk+lq3MPufcR TZJz+o3rTM66T+fw560W00sJ0OSinQOhIEVCQAinnQ7rK1yl73EjYnVc94VWvGKuO8iI LEdg== X-Gm-Message-State: AOAM532gR17h0Y/I0qoolfmlcYzjQyI3Q7fuc9neCKZ3e0bRolqwQ06X y2eWz9JrUj7PlYh3CHDh2zoCcAqLYcS6xr3DXrDVxdJa X-Google-Smtp-Source: ABdhPJy66qHrB1amenHnYGL6CEnBlGcbKycCPJZ6gyKPxnsIjj4hEqoNj/wBJHWG7kj7udZymPuwgi2lvdTFw5ligZ8= X-Received: by 2002:ac8:42c8:: with SMTP id g8mr20446448qtm.97.1596544711700; Tue, 04 Aug 2020 05:38:31 -0700 (PDT) In-Reply-To: <4ECE59FD-6C48-4B38-BEA3-68EE3D0441B6@fiee.net> 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:108257 Archived-At: --===============1831790446903283332== Content-Type: multipart/alternative; boundary="00000000000068b31605ac0c889f" --00000000000068b31605ac0c889f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 30, 2020 at 12:25 PM Henning Hraban Ramm wrote= : > > > Am 30.07.2020 um 07:52 schrieb Jeong Dal : > > > > 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/cont= ext/*.* > > > > 2. In a homefolder, there is a hidden folder =E2=80=9C.vacode=E2=80=9D. > > > > 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=E2=80=99t know how symlinking in Windows works, though. > > HR > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > Hi! To make a symlink worked well here, in the sense that I got a context extension in vs code, and when opening a context file it was recognized as such. I could go into the extension settings and enable color syntax. Questions: 1) Is there a way to get autocompletion on all context commands (not only the ones I have in the document)? If so, how? 2) Is there a nice way to compile the tex file from within vs code? As of now, I opened a terminal and compiled from that, but that feels like the wrong way of doing it. I'm on linux and with the latest standalone (lmtx if that matters). /Mikael --00000000000068b31605ac0c889f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jul 30, 2020 at 12:25 PM Henning = Hraban Ramm <texml@fiee.net> wr= ote:

> Am 30.07.2020 um 07:52 schrieb Jeong Dal <haksan@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/c= ontext/*.*
>
> 2. In a homefolder, there is a hidden folder =E2=80=9C.vacode=E2=80=9D= .
>
> Copy context/*.* to=C2=A0 ./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 a= utomatically receives updates).
i.e.
ln -s $TEXROOT/texmf-context/context/data/vacode/extensions/context ~/.vsco= de/extensions/

Don=E2=80=99t know how symlinking in Windows works, though.

HR
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________

Hi!

T= o make a symlink worked well here, in the sense that I got a context extens= ion in vs code, and when opening a context file it was recognized as such. = I could go into the extension settings and enable color syntax. Questions:<= /div>

1) Is there a way to get autocompletion on all con= text commands (not only the ones I have in the document)? If so, how?
=
2) Is there a nice way to compile the tex file from within vs code? As= of now, I opened a terminal and compiled from that, but that feels like th= e wrong way of doing it.

I'm on linux and with= the latest standalone (lmtx if that matters).

/Mi= kael


--00000000000068b31605ac0c889f-- --===============1831790446903283332== 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== --===============1831790446903283332==--