VS SDI should replace old variable name with suggested variable name rather than inserting it
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
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
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