Comments (7)
Another case: no refactoring library is installed
from pylance-release.
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.
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.
I see, yes that's something we could improve.
from pylance-release.
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.
This is still a issue with all language servers. Transferring to Pylance to see if it's possible.
from pylance-release.
This is #1418.
from pylance-release.
Related Issues (20)
- searchImport not finding modules HOT 4
- Pylance hangs after using "Go to Definition" on PySide6 objects HOT 2
- pylance JavaScript heap out of memory I set NODE_OPTIONS and exlude HOT 7
- IntelliSense/Pylance Semantic Highlighting and auto-code-completion is not working HOT 9
- Python intellisense not working HOT 2
- VS code "Find All References" does not find all references of a Python identifier HOT 2
- Not ignoring 'DELETE' keyword even it is enclosed with single or double quotes HOT 3
- Ability to force pylance to treat wrapped functions as functions as opposed to variables HOT 2
- Incorrect logic in unreachable code involving None and break HOT 2
- Show Type Hierarchy in notebook fails to find subtypes of type imported from .py file
- "requests" is not accessed Pylance. I am getting this problem when trying to import requests,it is already installed in the system but the word get coloured to green instead of white and when l click on it that is the info it shows HOT 2
- v2024.5.1: Resolving the import of non-"third party" modules HOT 8
- Remote extension host terminates unexpectedly HOT 15
- no module error if module was properly imported HOT 1
- Pylance doesn't stop analyzing files HOT 34
- Debug Failure. False expression: Check called before parsing HOT 2
- Function is not accessed (although it IS accessed) HOT 3
- No autocomplete with YOLO results HOT 2
- Pylance 在过去 3 分钟内崩溃了 5 次。Pylance 不会重新启动。有关详细信息,请参阅输出
- Syntax highlighting works differently in the last curly brackets in f-strings
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 pylance-release.