Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Implement rename functionality #4

Closed
MikhailArkhipov opened this issue Aug 31, 2018 · 4 comments
Closed

Implement rename functionality #4

MikhailArkhipov opened this issue Aug 31, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MikhailArkhipov
Copy link

microsoft/vscode-python#1008
microsoft/PTVS#4693

@MikhailArkhipov
Copy link
Author

#16

@brettcannon
Copy link
Member

Is this implemented in version 0.1.38.0? I just tried it and I keep getting:

[Error - 4:21:17 PM] Request textDocument/rename failed.
  Message: unknown document
  Code: -32000 
[object Object]

when trying to rename any variable in

def foo(x):
    w = x * 3
    y = w * 5
    return y

@MikhailArkhipov
Copy link
Author

It is. Looks like URI conversion fix was lost in merges. Restored - 1.40 should have the fix.

@brettcannon
Copy link
Member

Thanks! I have validated the fix.

MikhailArkhipov pushed a commit that referenced this issue Sep 16, 2019
* Egg and zip  (#1)

* Lint on no self argument (#4)

* Revert "Egg and zip  (#1)"

This reverts commit 0993674.

* Removing dead code

* refactoring

* More refactors

* Test refactors

* Update readme
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants