We just released version 1.1 of the Julia extension for VS Code to the marketplace. As always, you don’t need to do anything to get the new release, auto-update should take care of that.
This release has only two new user-level features, but a massive amount of improvements under the hood. We also fixed a lot of bugs, so hopefully it will provide a smoother experience.
Here are the release highlights:
We added a documentation browser. This provides a more permanent home for documentation in the UI than the existing hoover help, and some other benefits like navigation come with this as well. I created a short video that introduces this feature.
We add an experimental package tagging functionality to the extension. Tired of manually increasing the version field in your Project.tomland then pinging the registry bot when you want to release a new version of your package? This feature is here to help! And I created another short video that demos this feature.
The core data structure in CSTParser.jl was changed in this release to be more similar to the Expr type in Julia base. This is probably of very little interest to most folks, but part of @ZacLN’s secret plan to make CSTParser the Julia code parser of choice in all situations of life.
We adopted a new file format for the cached package information that the language server creates. For now this doesn’t do much, but is part of our medium term plan to get rid of those pesky “Language server indexing…” messages. If all goes well we will be able to switch on a major part of our plan in the next release of the extension. This time around we put most of the infrastructure needed in place.
We added an opt-out option to the telemetry opt-in prompt. So now when we ask you whether you agree to telemetry, there is not just a “Yes” button, but you can also say “No”. Long requested, long resisted by yours truly, but the rest of the team finally managed to talk some sense into me
Please do let us know how this version works for you, we always like to hear feedback! And if you experience a crash, please send a crash report, that is the most effective way to help us improve the quality of the extension.
Best,
David for the entire Julia VS Code team (Zac, Sebastian and Shuhei)
I was trying to figure out if this works with Julia v1.6-rc1 (without actually trying it). Is there a place where one can find current version compatibility?
It’s a lot like reactive programming in the sense of Pluto.
When you change the code in the package, all the tests that depend on it are automatically run.
and it stays alive looking for changes (so you don’t have startup time)
Works great! Thanks to pfitzseb the language server also works well and since I turned the replace_default flag to false at creating_sysimage at sysimage precompilation, it is extraordinary big step for me! Thank you!
I would like that the Execute File button on the top right corner of the editor also saved the file before execution. Its very easy that one performs some changes and then executes the code without applying those changes because the alterations weren’t saved.