forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
940 stars 397 forks source link

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

Open PawelWozniak opened 1 month ago

PawelWozniak commented 1 month ago

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 https://github.com/microsoft/vscode/issues/212166

peternhale commented 1 month ago

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

PawelWozniak commented 1 month ago

@peternhale Yes it is Apex .cls

git2gus[bot] commented 1 month ago

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