vs-for-mcstas READMEVS-for-McStas is a vs code extension that serves as both a syntax highlighter, and as a component snippet writer. Extension SettingsUpon 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 IssuesRelease Notes1.0.0Initial release of VS-for-McStas 1.2.0Switch component reader to use mcstasscript. At the same time it is now mandatory to have a mcstas conda environment called 'mcstas'. 1.2.1Fix comp_parser lying in src instead of media 1.2.2Update readme to include the most recent developments. 2.0.0Addition 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.1Fix of server break on multiple instances of vs code active 2.0.2Move cursor to end at component name when component is inserted. Also fix error in declare section regex. |