Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Symbol always return "could not find identifier to rename" #578

Closed
alfredbaudisch opened this issue Apr 5, 2023 · 3 comments
Closed

Comments

@alfredbaudisch
Copy link

alfredbaudisch commented Apr 5, 2023

Version

  • Haxe 4.2.5
  • Windows 10
  • VS Code 1.77.0
  • Extension: both 2.27.0 from the Marketplace and then built from master

Issue

Trying to rename symbol always return "could not find identifier to rename".

RenameHaxe.mp4
Haxe language server started
Haxe Path: haxe.exe
Using --server-connect
Haxe connected!
Listening on port 6000
Done.
[rename] error: could not find identifier to rename
[Error - 3:08:35 PM] Request textDocument/rename failed.
  Message: could not find identifier to rename
  Code: -32603 
[rename] error: could not find identifier to rename
[Error - 3:09:32 PM] Request textDocument/rename failed.
  Message: could not find identifier to rename
  Code: -32603 

Reproduction

@RblSb
Copy link
Member

RblSb commented Apr 5, 2023

Is this folder is in haxe.renameSourceFolders for you?
https://github.com/vshaxe/vshaxe/wiki/Rename-Symbol

@alfredbaudisch
Copy link
Author

Is this folder is in haxe.renameSourceFolders for you? https://github.com/vshaxe/vshaxe/wiki/Rename-Symbol

I apologize, I missed that one from the docs, especially because the project I cloned has a different folder naming convention.

@RblSb
Copy link
Member

RblSb commented Apr 5, 2023

You are not the first. @AlexHaxe is there a way to add info about renameSourceFolders to this notification?

AlexHaxe added a commit to AlexHaxe/haxe-languageserver that referenced this issue Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants