ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Julian Gompper <julian.gompper@pm.me>
To: info@eric-detrez.fr, ntg-context@ntg.nl
Subject: Re: Use Visual studio code
Date: Wed, 21 Aug 2019 19:44:03 +0000	[thread overview]
Message-ID: <g__Zx_Tn993Ffn_mi8JaoeU_AjH2m_GH6MzN50HLAaVSr6mtl0aONI7SKHMTra-dBQHRKgOg8YCKs8EGBLpdpMaa_lUTPR274wST4Mbm5MM=@pm.me> (raw)
In-Reply-To: <c920b4ca993a8d9b385b7bfb8c6946bb@eric-detrez.fr>

Hello,


I too use vscode as my editor, and recently wanted to use it for ConTeXt
as well.

Patrick Gundlach created a tmLanguage file for ConTeXt:
https://github.com/pgundlach/context.tmbundle/blob/master/Syntaxes/ConTeXt.tmLanguage

I just finished packaging and publishing said file in a vscode extension.

You can find it on GitHub:
https://github.com/JulianGmp/vscode-context-syntax

Or on the vscode marketplace:
https://marketplace.visualstudio.com/items?itemName=JulianGmp.context-syntax


As the name suggests, the extension only provides syntax highlighting. I
might add snippets or build macros in the future, though I would
probably implement these things in a seperate extension.


Best regards,

Julian


Also, if you want to build the document with a keybinding, you could
define a build task in your tasks.json:
https://gist.github.com/JulianGmp/a2b38212878c23d71de3d977214f2bf7


Am 19.08.2019 um 22:08 schrieb Eric Détrez:
> Hello
>
> Is it possible to use VScode as IDE for ConTeXt ?
>
>
>
> --
> Eric Détrez
> Informatique
> Lycée Faidherbe, Lille
> Documents de cours en pdf : eric-detrez.fr
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2019-08-21 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-19 20:08 Eric Détrez
2019-08-19 22:03 ` Hans Hagen
2019-08-21 19:44 ` Julian Gompper [this message]
2019-08-21 20:28   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g__Zx_Tn993Ffn_mi8JaoeU_AjH2m_GH6MzN50HLAaVSr6mtl0aONI7SKHMTra-dBQHRKgOg8YCKs8EGBLpdpMaa_lUTPR274wST4Mbm5MM=@pm.me' \
    --to=julian.gompper@pm.me \
    --cc=info@eric-detrez.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).