Go Back
1 Vote

VS SDI should replace old variable name with suggested variable name rather than inserting it


Delivered

WHen I edit a XAML file, and (I think) a C# file, if I change a variable name or a method name  it will suggest what it thinks I want, and reaplce teh existing field name with the suggestion if I press ENTER.

But the same thing does not happen with synergy code.

Say I am changing a variable as from "NominalCode_FileIo"      to "NominalTransaction_FileIo"    

If start changing "Code" it will suggest "NominalTransaction_FileIo" , but if I take the suggestion I end up with  NominalTransaction_FileIo_FileIo

Other languages do not do this


 

2 Comments | Posted by Gordon Ireland to Synergy .NET, Visual Studio Integration on 5/17/2021 11:44 AM
Marty Lewis
Hi Gordon!

That sounds like a bug to me. I have logged Tracker #39384 get a handle on it. We are working on a number of IntelliSense issues right now, so your timing could not be better. We'll do our best to clean this one up before the next release.

5/17/2021 8:50 PM   0  
Marty Lewis
Hi Gordon!

With today's release of SDI 11.1.1h, this issue should be fixed for you. One of the things we noticed while investigating this issue is that there could be a case made for a user desiring this behavior to work the old way. For example, if you start typing a new symbol while the cursor immediately precedes another word, you may not want completion to remove that word. In a future version, we will likely offer an option to change the behavior. Either way, the default behavior should be what you are expecting in this ask.

7/17/2021 12:20 AM   0  
Please log in to comment on this idea.