PrestonKnopp / language-gdscript

gdscript language grammar package for atom.io
https://atom.io/packages/lang-gdscript
MIT License
32 stars 9 forks source link

Package broken when used with godot 3.2.2 #36

Closed Jeremi360 closed 4 years ago

Jeremi360 commented 4 years ago

On both windows 10 x64 and Ubuntu 20.04 x64. After I update godot to new version 3.2.2. Atom doesn't see godot's langue server - ports match in atom and godot editor. But legacy (tree-sitter) autocomplete doesn't work either.

PrestonKnopp commented 4 years ago

Hey thanks for posting this issue. This should now be fixed with version 6.0.0.

Jeremi360 commented 4 years ago

I will check today if it works.

Jeremi360 commented 4 years ago

I try to update and get this:

EPERM: operation not permitted, unlink 'C:\Users\jerem\.atom\packages\lang-gdscript\node_modules\tree-sitter-gdscript\build\Release\tree_sitter_gdscript_binding.node'
PrestonKnopp commented 4 years ago

I'm unable to reproduce the EPERM error on macOS and Ubuntu. It looks like tree_sitter_gdscript_binding.node file may be locked by something.

Can you try closing Atom, or any app that may possibly be locking the file, and then reinstalling from the command line:

apm uninstall lang-gdscript
apm install lang-gdscript
Jeremi360 commented 4 years ago

It work when I did:

apm uninstall lang-gdscript
apm install lang-gdscript

but when uninstalling I got something like this: Can delete lang-gdscript dir, because it can't found .../.atom/packages/lang-gdscript/package.json So I must delete this folder manually before reinstall.

PrestonKnopp commented 4 years ago

Huh, that's strange. I wonder why that happened?

Thanks for testing the above. I don't think it's caused by lang gdscript so I'll close this issue.