PyvesB/eclipse-solargraph

Can't open js.erb files

mrj opened this issue ยท 8 comments

mrj commented

I get the following error when I try to open a file with a ".js.erb" suffix:

Solargraph Create js erb

Hello @mrj ๐Ÿ‘‹๐Ÿป

Similar to #32, could you please update to the latest version of the plugin? In particular, there have been sone fixes related to js.erb files. See the changelig here: https://github.com/PyvesB/eclipse-solargraph/releases

mrj commented

Thank you for pointing out that I don't have the latest version. Looks like I'm getting 0.5 rather than 1.02 because 0.5 is the latest on rubygems.org. My Eclipse installed my 0.5, and continues to insist there's no updates, possibly because Marketplace is broken on my install for some reason ("No repository found at https://marketplace.eclipse.org/.").

I'll try to get Eclipse to use 1.02 and report back.

mrj commented

I see now that I had/have the latest Solargraph Gem (0.5) and latest Eclipse Plugin (1.02).

I still get the same error trying to open .js.erb files.

Okay, thanks for confirming! Does this happen with every single js.erb file, even simple ones?

mrj commented

Yes, even if the file is empty (e.g. doing new-file in Eclipse).

I tried half a dozen other .*.erb variants, and .js.erb was the only to give the error.

Thanks for the information. Something probably broke in recent Eclipse versions, will take a look in the coming days/weeks.

Please update to version 1.0.3 of the plugin, the issue with js.erb files should be fixed. ๐Ÿ˜‰

mrj commented

Yes fixed. Thank you.