We have a beta release for version v0.7.0 of the julia extension for VS Code. Please give it a test drive, we hope to release v0.7.0 in about a week, but would like more folks to try the beta on their system before we release this to a larger group.
This new version has massive amount of improvements and bug fixes to the IntelliSense features, mostly thanks to @ZacLN, and some other new features:
In general the IntelliSense features should work with many more corner cases, be more robust etc.
We use the VS Code task system for running builds, tests and benchmarks now. If you open a folder, the extension will automatically detect whether that folder has a build, test or benchmark script. If it does, it will add detected tasks to the default list of tasks in VS Code, and you can run those tasks via the VS Code task runner.
We now support the rename refactoring in the editor.
With your permission, a question, since both VS Code and Juno are based on Atom, why not create one effort?
Either create official Julia IDE around VS Code or merge your efforts with Juno.
Wouldn’t that be more effective?
They are not both based on Atom. VS Code is not Atom, though both Atom and VS Code are built on Electron. But Atom has its own package system and addons that Juno builds on top of. So it’s not the same.
But there are tools that can be shared between them. This has been discussed in the Juno and julia-vscode Gitters, and the devs seem to talk quite often. Check out JuliaEditorSupport for a wide variety of tools for IDEs:
and check the chatrooms / issues if you want to get involved.
You can take a look at the latest changelog here. It will only show up on the marketplace when we publish a new released version, so in about a week.
To be a bit more specific, a lot of the functionality in the VS Code extension actually is in LanguageServer.jl, which in principle can be used from many different IDEs. There are folks working on integrating this with other IDEs (Emacs, Neovim and I can’t find a link to the Atom integration attempts right now, but they are also happening). The non-language server stuff in the VS Code extension is very VS Code specific, so I don’t think that can be easily shared.
Does it support the Juno workflow of choosing a module and eval-ing code in the editor in the context of that module?
I’ve come to rely on that, but I’d also like to check out VS Code.
This works with VS Code because VS Code is fairly REPL oriented (I like that). If you initiate this mode in VS Code Julia REPL, any code in the file you’re in will be sent/evaluated in this mode.
I’m using the rc1 now and it seems it is not able to recognize “nested” where.
Though I’m not entirely sure what I did is valid syntax… using it on the REPL doesn’t cause any problems…
We have a release candidate for v0.7.0 here. Would be great if folks could try that and report back (especially also if things work!) and unless we find some major bugs I would release v0.7.0 to the marketplace tomorrow.
Thanks for reporting, could you open an issue on github for this? I think we’ll just leave this for the v0.7.0 release and will fix this in a point release (we do want to get v0.7.0 out!).
I am using the extension on windows 10, but it the extensions pane both 0.7.0-beta-2 and 0.7.0-rc1 keep the blue reload button no matter how many time I reload, close VSC(1.14.2) or restart the computer.