Autocompletion and linting not available for libraries in src/lib
See original GitHub issueHi there,
Problem
I am having some problems with libraries not getting used for auto completion/ Default sys.path is the root folder and /lib
>>> import sys
>>> sys.path
['', '/lib']
The resulting .vscode\settings.json and .pylintrc do not have this folder included. Currently this results in not getting auto completion and proper linting for user defined libraries.
Expected behaviour: Since the /lib folder on the device is available for imports, it should have working auto completion and linting working properly.
Possible fix: Because user libraries go into the lib folder I propose adding the “src/lib” folder to the .vscode\settings.json and .pylintrc file.
What are your thoughts? Let me know!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Visual Studio Code: Intellisense not working - Stack Overflow
This can be caused by many reasons, some of them are as follows. Python executable path in vscode is incorrect. Solution: Configure the...
Read more >Code autocompletion not working for crates using C libraries
Code autocompletion and suggestions don't work with certain external crates or some functions in them. Code still compiles and shows no errors ...
Read more >VS Code autocomplete for library not showing : r/rust - Reddit
I've create a project to experiment creating a lib file as well as a binary file. The only thing that bothers me is...
Read more >CodeMirror 5 User Manual
CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons,...
Read more >CodeMirror: User Manual
The core library provides only the editor component, no accompanying buttons, ... This indicates that when a key is not found in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No problem, I appreciate you taking the time to implement this feature.
I installed a new project and tried to install custom packages. Works like a charm! Things I checked:
I will try to look into the problem with the requirements.txt tonight or tomorrow hopefully.
Thanks for the report!
Feel free to open any new issues when you have the time. Thanks again.