vscode-scala icon indicating copy to clipboard operation
vscode-scala copied to clipboard

Install Fails on VSCode 1.6

Open timothyrenner opened this issue 8 years ago • 12 comments

When I try to install the extension I get ERROR Couldn't find a compatible version of Scala with this version of Code. for VSCode 1.6.0. It seems odd because I have the extension on another machine that I installed with VSCode 1.5 then upgraded to 1.6 and it works fine. I get the same error with the sbt extension.

I tried cloning the repo and copying to .vscode/extensions too. It shows up in my extension list but doesn't do anything.

timothyrenner avatar Oct 12 '16 21:10 timothyrenner

It gets more confusing. I tried using the yo code command with the same scala.tmLanguage file to see if there's something different about the configuration but it still wouldn't work. So then I installed VSCode 1.5.3 as a separate application (I just renamed it before I put it in Applications) and loaded the extension successfully. Got my syntax highlighting.

Here's where it gets weird. My original VSCode executable that couldn't install the extension started showing the syntax highlighting - it successfully read the extension installed by the 1.5.3 version.

All this on OSX El Capitan by the way.

timothyrenner avatar Oct 13 '16 14:10 timothyrenner

I am having the same problem.

OT: @timothyrenner I just started with scala and I am a huge fan of vscode. Is vscode a valid choice for doing scala?

hillbillydev avatar Oct 15 '16 18:10 hillbillydev

@Tinee It depends on how you learn best. If you're looking for a lot of IDE assistance this extension won't do it - it's just a syntax highlighter and that's it. I personally don't really like IDEs so I never used one for scala, but I've heard good things about the IntelliJ scala extension.

timothyrenner avatar Oct 16 '16 02:10 timothyrenner

cool thank you @timothyrenner

hillbillydev avatar Oct 18 '16 08:10 hillbillydev

@timothyrenner also had the same solution as you, syntax colouring working with 1.5.3 on windows and it's also not working on 1.6 & the 1.7 nightly release. Potential issue with the version of VSCode?

audac1ty avatar Oct 21 '16 10:10 audac1ty

Just updated to from 1.5.3 to 1.6.1, and syntax highlighting is working perfectly for me. Seems to be a bug with the 1.6 and 1.7 installation

audac1ty avatar Oct 21 '16 11:10 audac1ty

Hi, same problem, i have vscode 1.6.1, Shell 1.3.7, commit 9e4e44c19e393803e2b05fe2323cf4ed7e36880e, on Ubuntu Gnome 16.04 LTS.

When trying to install scala and sbt plugins, got message "Couldn't find a compatible version of Scala with this version of Code" or "Couldn't find a compatible version of SBT with this version of Code"

alexandrio avatar Oct 22 '16 17:10 alexandrio

Hello, same problem here too. I tried some approaches to solve this, like: compiling vscode from source, manually installing the vscode-scala from this repository, but no success. Lastly, I created a new extension for scala syntax: https://marketplace.visualstudio.com/items?itemName=daltonjorge.scala

daltonjorge avatar Oct 27 '16 03:10 daltonjorge

Hi, it's me again, well, i've downloaded and debugged vscode source and i think have good news, at least in code source 1.8 branch the extension is properly installed, but in the 1.7 branch it has the problem so i think that probably with the next version will work.

alexandrio avatar Nov 11 '16 18:11 alexandrio

Wow! I've opened an issue before creating my extension, but they closed it =( See: https://github.com/Microsoft/vscode/issues/14533

daltonjorge avatar Nov 13 '16 02:11 daltonjorge

Install vscode 1.5. Then install the addin. Then un-install vscode 1.5 and re-install vscode 1.7. The addins will be there.

darkoverlordofdata avatar Nov 23 '16 06:11 darkoverlordofdata

greetings, just installed vscode 1.8.1, the extension installs fine.

alexandrio avatar Dec 21 '16 00:12 alexandrio