Git Product home page Git Product logo

Comments (7)

mjbvz avatar mjbvz commented on May 22, 2024

Another case: no refactoring library is installed

from pylance-release.

karrtikr avatar karrtikr commented on May 22, 2024

Hi @mjbvz
Apologies for the late response. Unfortunately, I am not able to repro this behavior. For me, I get the error notification

Refactor failed. Rename refactoring should be performed on resolvable python identifiers. [<FrameSummary file refactor.py, line 382 in watch>, <FrameSummary file refactor.py, line 352 in _process_request>, <FrameSummary file refactor.py, line 260 in _rename>, <FrameSummary file refactor.py, line 129 in refactor>, <FrameSummary file refactor.py, line 156 in onRefactor>, <FrameSummary file c:\Users\karraj\Desktop\isort\.venv\lib\site-packages\rope\refactor\rename.py, line 28 in __init__>]

When trying to use F2 (Rename symbol command) on None.

Do you have the library rope is installed? Please send the python output channel and logs mentioned in the template.

from pylance-release.

mjbvz avatar mjbvz commented on May 22, 2024

Just to confirm: the bug is that it should fail as soon as you press f2; I should never see the input box in these cases because we know the rename operation will fail

from pylance-release.

karrtikr avatar karrtikr commented on May 22, 2024

I see, yes that's something we could improve.

from pylance-release.

karrtikr avatar karrtikr commented on May 22, 2024

Another case: no refactoring library is installed

ctags/rope is being removed in the 2021.10 release (#17225) so this is now stale.

from pylance-release.

karrtikr avatar karrtikr commented on May 22, 2024

This is still a issue with all language servers. Transferring to Pylance to see if it's possible.

from pylance-release.

jakebailey avatar jakebailey commented on May 22, 2024

This is #1418.

from pylance-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.