You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the same area as in #5585
When I use Rename Symbol (F2) in VSCode, with Apex class open, then also part after dot is replaced. See example below.
Most recent version of the extensions where this was working:
The text was updated successfully, but these errors were encountered:
PawelWozniak
changed the title
Using Rename variable in VSCode renames also part after dot.
Using Rename Symbol (F2) in VSCode renames also part after dot.
May 28, 2024
Hi @PawelWozniak, Thank you for filing this issue. Yes, I'm able to replicate it using the code snippet that you provided. I have created a bug in my team's backlog, and we will prioritize it during our grooming session next week.
Summary
This is the same area as in #5585
When I use Rename Symbol (F2) in VSCode, with Apex class open, then also part after dot is replaced. See example below.
Steps To Reproduce:
oneChildContract.EndDate.addDays(1); become firstChildContract.firstChildContract.addDays(1);
Word EndDate was replaced by firstChildContract.
In the line below where there is no .addDays() replacement is correct.
Expected result
Word EndDate is not replaced by firstChildContract.
Actual result
Word EndDate was replaced by firstChildContract.
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code: 60.13
Salesforce CLI Version: @salesforce/cli/2.42.6 win32-x64 node-v20.12.2
OS and version: Windows 11
VS Code version: 1.89.1
Most recent version of the extensions where this was working:
The text was updated successfully, but these errors were encountered: