Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

unresolved import #348

Closed
ghost opened this issue Nov 6, 2018 · 2 comments
Closed

unresolved import #348

ghost opened this issue Nov 6, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 6, 2018

I am using this language server with sublime, I compiled the source yesterday myself.

I get a warning for 'unresolved import' when the folder 'hlt' is in fact in the same directory as the file I am editing.
image
image

Also I noticed I don't get autocomplete suggestions at all for local variables when writing code. (Note the very bottom of the image where it states No available completion)
image

@jakebailey
Copy link
Member

You've removed it from your screenshot, but does your directory contain an __init__.py? I don't think the language server will be able to handle things without one until #12 and such are done.

You may also want to try running things in VS Code, as Sublime isn't something we directly test. The instructions in this repo are from a contributor using a third-party language server Sublime extension, which we don't test on.

@ghost
Copy link
Author

ghost commented Nov 6, 2018

Yeah, there isn't an __init__.py

@ghost ghost closed this as completed Nov 6, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant