Comments (4)
Thanks for reporting this. I am not sure why it happens (it might be the python server fault, it may be a bug in my extension), but I will definitely investigate it in detail soon.
PS. If you use annotations a lot, have a look at mypy extension of python-language-server
:
pip install pyls-mypy
While it does not work as good as the PyCharm's implementation, it does help sometimes:
from jupyterlab-lsp.
Hi, @krassowski
Thanks a lot for your contributions and information (as well as mypy information)!
from jupyterlab-lsp.
Hi.
For some reason I tried this extension today and it worked fine :O
I tried:
- Downgraded ipython version to 7.2.0 and restarted node.js and JupyterLab
I noticed that the console had an error similar to the next issue, so I downgraded ipython yesterday.
...
/site-packages/jedi/api/classes.py", line 345, in params
raise AttributeError('There are no params defined on this.')
AttributeError: There are no params defined on this.
And the error disappeared but did not improve.
- Installed mypy extension
As you told me, I installed pyls-mypy
.
- And today, when I start node.js and JupyterLab again, it works fine...
The reason is not well understood. Sorry :'-(
(Maybe it's ipython, mypy, or some other influence...or maybe I misunderstood because of DataFrame completion was taking time)
Notes: np.array
etc. are completed quickly. On the other hand, pd.DataFrame
seems to take a lot of time or become unstable. Possibly the large DataFrame code is influencing.
I'll close this issue because it seems to be an effect of other libraries.
Thx!
from jupyterlab-lsp.
I'm not familiar with mypy and typeshed, but maybe type information is loaded with typeshed via mypy, as well as mypy's lint execution.
from jupyterlab-lsp.
Related Issues (20)
- custom --jp-editor-mirror-lsp-highlight-background-color value HOT 3
- Completion failure on `itemWidthHeuristic` when `item.type` is missing
- Unable to set pyright settings through overrides.json5 HOT 2
- Several inconsistencies found, trying to configure pylsp HOT 16
- Follow the XDG base directory specification for the .virtual_documents folder
- Only one "Code Completion" settings seen when enabling "Continuous hinting" HOT 2
- pycodestyle false positive HOT 2
- Is @krassowski/jupyterlab-lsp still need to be installed? HOT 1
- Acceptance tests are failing on Windows with Python 3.8 (but pass with Python 3.11) HOT 2
- Need to update mitigation of file editors `extensionFactory` issue before release
- IHaskell + HLS support HOT 2
- Consider using the `bin` field from `package.json` for specs derived from `NodeModuleSpec`
- Jupyterlab-lsp Error: Uncaught Exception GET /lsp/ws/pyls (::1) HOT 5
- jupyter_lsp - different location of jupyter-lsp-notebook.json between 2.2.2 and 2.2.3 HOT 3
- Markdown cells generate a lot of errors in browser logs and seem to block other extensions, like jupyterlab-spellchecker HOT 2
- GitHub release artifacts are not separate for jupyter-lsp and jupyterlab-lsp
- Code Jump only in the same notebook HOT 4
- Plugin has no transformers yet. HOT 2
- JSON completion introduces unexpected character HOT 1
- Environment variables set for lsp servers leak into the server/kernel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-lsp.