p9malino26 / qooxdoo-lsp

Language Server Protocol implementation for qooxdoo framework
MIT License
4 stars 0 forks source link

Request textDocument/completion failed #1

Open alexvinidiktov opened 10 months ago

alexvinidiktov commented 10 months ago

Installed extension. Every time I type a type name with a dot (for example, qx. ) I get this error message:

[Error - 22:09:58] Request textDocument/completion failed. Message: Request textDocument/completion failed with message: Cannot read properties of undefined (reading 'find') Code: -32603

macOS 13.6 VS Code 1.84.1

p9malino26 commented 6 months ago

I am so sorry for the late response. I did not seem to receive an email notifying me of this issue probly because my Github settings are set so. This probably should have been fixed as the program has undergone a lot of changes.

alexvinidiktov commented 6 months ago

I've used the latest version of the extension. It doesn't error out on me but I'm not sure it's working either. How can I test?

p9malino26 commented 6 months ago

Start typing a fully-qualified classname and then trigger completion by pressing ctlr+space. You should see the name pop up in the list. If the class file is located outside your project folder (like for Qooxdoo classes), you must have that folder in your vscode workspace.

If it still doesn't work, open the command pallette and type "qooxdoo: change compiled directory" and select the option. Then select your main project folder.

Hope that helps.