Skip to content

MohamedElashri/VSCode-Language-Fhicl

Repository files navigation

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