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

When using Rename Symbol (F2) with variable that contains number "sumOfLast3Months" only "Months" is shown in rename field. #5585

Open
PawelWozniak opened this issue May 8, 2024 · 3 comments

Comments

@PawelWozniak
Copy link
Contributor

  • VS Code Version: 1.89.0
  • OS Version: Widnows 11

Steps to Reproduce:

  1. Create a variable named "sumOfLast3Months"
  2. Try to rename it using Rename Symbol (F2), you will see in popup only "Months"

image

  1. However variable is renamed correctly to a new name.

It seems like the text is somehow filtered and the number is breaking that.

Issue was created by me on VSCode project but based on the response from VSCode team it is plugin related. For details please see microsoft/vscode#212166

@peternhale
Copy link
Contributor

@PawelWozniak just to confirm, the file you are working on is an Apex .cls, correct?

@PawelWozniak
Copy link
Contributor Author

@peternhale Yes it is Apex .cls

Copy link

git2gus bot commented May 8, 2024

This issue has been linked to a new work item: W-15712992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants