I want to do something like the attached gif where if I change a value in a field declaration another value is updated based on a macro (in this case changing something to Something)
This is the context in which i try to achive it rider-mvvm-plugin/MvvmPlugin/MvvmPlugin/src/dotnet/ReSharperPlugin.MvvmPlugin/PostFixTemplates/ObservableIntroduceMemberTemplateBase.cs at 6d8304214b2b7c81265a11408b81cdac0c6040a1 · jeppevammenkristensen/rider-mvvm-plugin · GitHub .
I have a field declaration that has been generated by a postfix and a statement (for instance SomeProperty = “SomeValue”
Only the field should be editable,but when it’s value changes the SomeProperty should hotspot should change.
Hope it makes sense.
UPDATE for clarity
The current code resultss in the field being editable. But also the Name in the assignent is editable. So the first time the field hotspot gets focus it will correctly uppercase the name in the assigment. However the assignent property is editable and when i change anything in the field declaration name the assignment property is NOT updated. So only the field declaration name should be editable and on change trigger an update to the assignment name