FHiCL language support for Visual Studio Code
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-06-30 14:40:06 -04:00
img add JObSub configuration support 2021-06-30 13:07:23 -04:00
snippets Add snippets support 2021-06-30 12:12:00 -04:00
syntaxes add JObSub configuration support 2021-06-30 13:07:23 -04:00
.gitignore ignore extension binary 2021-06-30 13:44:23 -04:00
cfg_language-configuration.json rename config files and delete the unnecessary. 2021-06-30 13:10:35 -04:00
fcl_language-configuration.json add JObSub configuration support 2021-06-30 13:07:23 -04:00
LICENSE.md edit metadata to fulfill VS Code marketspace requirements 2021-06-30 14:34:21 -04:00
package.json source code updated to what is published to marketspace 2021-06-30 14:40:06 -04:00
README.md source code updated to what is published to marketspace 2021-06-30 14:40:06 -04:00

VSCode-Language-FHiCL

FHiCL language support for Visual Studio Code

Background

I'm working on the NOvA experiment at Fermilab, During my MS years at UMD, I have used Atom as my editor on ubuntu instance. After some time I started to hate atom performance and it being electron-based software did not help with that. So I decided to move to VScode for the main development environment that I have a complex integration with my machine on Fermilab. I work regularly on developing code on ART software using C++ and FHiCL language which developed as a common language for configuring scientific applications inside many HEP experiments. My friend Justin vessel developed a syntax package for this language for Atom but with my move to VScode, I wanted something similar. Thanks to Justin for his initiative and continuous support.

Installation

It is available on VSCode marketplace and you install manually by downloading extension from release section and add the folder to VS Code extensions folder. Better way is to open the terminal and run that (assuming you have git installed)

MAC OS

git clone https://github.com/MohamedElashri/VSCode-Language-Fhicl $HOME/.vscode/extensions/VSCode-Language-Fhicl

Linux

git clone https://github.com/MohamedElashri/VSCode-Language-Fhicl $HOME/.vscode/extensions/VSCode-Language-Fhicl

Windows

git clone https://github.com/MohamedElashri/VSCode-Language-Fhicl %USERPROFILE%\.vscode\extensions\VSCode-Language-Fhicl

I doubt if anyone is using windows in our community for development anymore

Resources to help

I have learned a lot of things about how to create a syntax package for VScode mainly from the following sources:

  1. Create Custom Language in Visual Studio Code
  2. Creating Visual Studio Code extension for syntax highlighting of a custom language