Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VS_for_McStasNew to Visual Studio Code? Get it now.
VS_for_McStas

VS_for_McStas

lomholy

|
39 installs
| (1) | Free
VS_for_McStas is an extension that aims to deliver McStas syntax highlighting, as well as GUI component insertion.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vs-for-mcstas README

VS-for-McStas is a vs code extension that serves as both a syntax highlighter, and as a component snippet writer.

Extension Settings

Upon launching the extension for the first time you will be prompted to set your mcstas resource folder. For linux it can be found under /usr/share/mcstas/resources

This can altso be accessed by pressing the mcstas icon on the left, and then the three little buttons above the component folder list.

Known Issues

Release Notes

1.0.0

Initial release of VS-for-McStas

1.2.0

Switch component reader to use mcstasscript. At the same time it is now mandatory to have a mcstas conda environment called 'mcstas'.

1.2.1

Fix comp_parser lying in src instead of media

1.2.2

Update readme to include the most recent developments.

2.0.0

Addition of language server, that allows for autocompletion in text. From now on the extension relies on the user having a conda environment with flask and mcstas installed.

2.0.1

Fix of server break on multiple instances of vs code active

2.0.2

Move cursor to end at component name when component is inserted. Also fix error in declare section regex.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft