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
Let's say I have just duplicated this line so I now have this
public int { get; set }
public int { get; set }
public int { get; set }
I would like to name each property one by one, but without manually moving the caret. What I would like to do is:
Position my caret before the {/after int.
Activate an action to make it so that I can turn the list of carets into a list of fields.
I can type in the field, then press press tab/shift-tab to go forward or backward in the list, and I could edit each of the 3 fields I had marked with my carets. Kind of like how it works for live templates.
Hope this makes sense!
The text was updated successfully, but these errors were encountered:
@oxysoft, I will have to see how this can be implemented. It requires a modal state which can interfere with other editing operation and will require being compatible with a ton of current editing states.
@oxysoft, the API does not have a tab stop system. It has an option for Tab to spaces and Tab Handler but only for specific applications that the API uses for its own.
The issue here is not the tabs but the modal state during which tab characters are used to traverse saved caret positions in order. This requires storing the carets and overriding the tabs. Then exiting the mode. Keeping the mode active only for the editor where it was activated.
While the mode is active, it requires updating the caret positions as the text is edited. The mode most likely has to remain active in the editor even when the current editor is switched for another, to allow navigating somewhere else to copy text and return to the original editor to paste at caret.
There are a lot of additional actions that the IDE generates during editing like re-formatting code which changes large sections of text. This I usually discover by trial and error and in many cases only when I encounter it since envisioning all these options is very difficult.
Let's say I have just duplicated this line so I now have this
I would like to name each property one by one, but without manually moving the caret. What I would like to do is:
{
/afterint
.Hope this makes sense!
The text was updated successfully, but these errors were encountered: