question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide access to rope as well as Jedi

See original GitHub issue

We’re currently developing an LSP extension for Spyder https://github.com/spyder-ide/spyder/pull/4751 and we’re using your server to test all the LSP features, and eventually we’ll be using it by default.

At the moment we haven’t got much trouble migrating our own implemented functionalities, however we have noticed that some textDocument/completion requests take too long to be replied by the server, especially if they are related to modules such as numpy. On such cases we’ve experienced about 3-5 delay seconds.

Right now on Spyder we’ve been using both Jedi and Rope to handle our autocompletion calls, as Rope is faster than Jedi in resolving autocompletions for large/compiled modules, we achieve autocompletion in less than a second, which is one of the features most beloved by the Spyder user community.

We would like to contribute to improve the autocompletion performance of the server, we propose to use both Jedi and Rope to handle LSP completion requests, the idea is to define a race condition between both packages, by returning the results of the package that completes the autocompletion task first.

We would like to hear your opinion on this solution and discuss other alternatives, as Spyder LSP migration is imminent.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gatesncommented, Sep 30, 2017

There are already plans to add Rooe support so if you could spare some time to do this then that would be great!

I’ll push the branch I started for rope when I’m back at my computer. I struggled to figure out the best way to invalidate the rope caches but it sounds like you might have experience there.

0reactions
gatesncommented, Sep 30, 2017

I’ve pushed ngates/rope, there’s less on it than i thought so not sure how helpful it will be! https://github.com/palantir/python-language-server/compare/develop...ngates/rope

Going to rename this ticket and close out #113

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jedi Fallen Order Tomb of Miktrull Puzzle Guide - VULKK.com
This guide will help you solve the puzzle in Tomb of Miktrull on Zeffo, one of the most challenging puzzles in Star Wars...
Read more >
Why can't I let go of the rope after force pulling it? : r/FallenOrder
It was also tied to 'B' so it decided to unbind that as well when I ... From today r/FallenOrder will be the...
Read more >
Star Wars Jedi - How to Fix the FORCE PULL Ability Bug?
Star Wars Jedi Fallen Order TipsWelcome back to Star Wars Jedi Fallen ... get the ability so I wanted to give as much...
Read more >
Why Justice, Equity, Diversity, and Inclusion Matter for Climbers
This article discusses what it is, and why it matters for climbers. JEDI is a practice. It is a body of work that...
Read more >
Venator Wreckage Walkthrough - Star Wars: Jedi Fallen ... - IGN
Star Wars: Jedi Fallen Order Wiki Guide ... If you look against the cliff wall, you can find a rope leading into a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found