VS Code IDL (Interactive Data Language) Extension
This extension adds syntax highlighting and code snippets for the Interactive Data Language (IDL) from Harris Geospatial Solutions (formerly Research Systems, Inc.).
The TextMate files and code snippets are originally from Mike Galloy's idl.tmbundle.
The JSON syntax rules for the
.task files are from VSCode and are included so that you don't have to edit file associations for them to look correct.
Support for VSCode's auto-comment (Ctrl+/ or command+/)
Syntax highlighting and coloring
Code snippets for common code blocks
Colorization of ENVI and IDL task files.
The actual code that gets highlighted is strongly dependent on your theme. Themes such as Abyss, Atom One Dark (extension), Dark+ (default dark), or Monokai show the most color.
The previous issue for line continuations, where arguments were being colored as procedures has been resolved. In order to have the line continuation correctly highlight your code, you will need to have the next line indented such as:
This should be something that you are doing in your code anyways, so it shouldn't cause problems for most people. If you do not do this, then procedures will not be colored until your next line with an indentation and no
$ character. If this is an issue, let us know on the GitHub page via an issue and we will take a look at improving this functionality.
Properties will not highlight if being accessed directly from square brackets such as
When you have code blocks from line continuations a property will not be colored correctly if at the start of the line. Here is an example of the syntax that won't highlight correctly:
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!