Re: [arts-dev] ARTS control file syntax highlighting for Visual Studio Code
Hi Stuart, This is really cool. Just tried it in VSCode and it works like charm. I think it would be great to distribute this alongside ARTS. If you don't mind please open a PR that adds it to the ARTS tools/ directory. Thanks for sharing this with the ARTS community. Cheers, Oliver > On 2 Jun 2020, at 11:52, Fox, Stuart wrote: > > Hi ARTS developers, > > I hope you are all well. Since next week was supposed to be the ARTS workshop > and I had some spare time when I was on holiday last week I decided to > develop syntax highlighting for ARTS control files in my favourite editor, VS > Code. I thought I’d share in case it is of use to anyone else – I believe it > may also be possible to use it with any other editor that can use TextMate > grammars. It can be found on GitHub > (https://github.com/stuartfox/arts-control-lang ) and just needs to be > downloaded to your .vscode/extensions directory. > > The list of keywords is generated from what is available in the pyarts > Workspace and can be updated using the supplied process_template.py script in > the top-level folder (requires python, pyarts and jinja2). > > I’m happy for this to be bundled with ARTS alongside the vim syntax > highlighting script, > > Stuart > ___ > arts_dev.mi mailing list > arts_dev.mi@lists.uni-hamburg.de > https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi smime.p7s Description: S/MIME cryptographic signature ___ arts_dev.mi mailing list arts_dev.mi@lists.uni-hamburg.de https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi
Re: [arts-dev] ARTS control file syntax highlighting for Visual Studio Code
Dear Stuart, that’s great, thanks! All the best, Stefan On 2 Jun 2020, at 11:52, Fox, Stuart wrote: Hi ARTS developers, I hope you are all well. Since next week was supposed to be the ARTS workshop and I had some spare time when I was on holiday last week I decided to develop syntax highlighting for ARTS control files in my favourite editor, VS Code. I thought I'd share in case it is of use to anyone else - I believe it may also be possible to use it with any other editor that can use TextMate grammars. It can be found on GitHub (https://github.com/stuartfox/arts-control-lang ) and just needs to be downloaded to your .vscode/extensions directory. The list of keywords is generated from what is available in the pyarts Workspace and can be updated using the supplied process_template.py script in the top-level folder (requires python, pyarts and jinja2). I'm happy for this to be bundled with ARTS alongside the vim syntax highlighting script, Stuart ___ arts_dev.mi mailing list arts_dev.mi@lists.uni-hamburg.de https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi ___ arts_dev.mi mailing list arts_dev.mi@lists.uni-hamburg.de https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi