- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
low priority issue with VS and indentation. Assume I have:
if(expression) then
statement
end if
Assume then I place the insertion cursor at the end of "statement"
Press enter, then enter
if(expression) then
statement
do i=1,3
statement (auto indent here - ok)
end do (then on enter, I observe)
(note additional open line)
end if
I would prefer that the additional open line not be present. IOW if I want an additional open line, I enter the open line. Hitting Backspace is not a good solution since I must hit back space once for every tab indent or take a hand off the keyboard to us the mouse to select the line to remove. I would prefer to enter 1 additional enter (finger on key already) when I want an additional empty line, as opposed to several backspaces or hand to mouse, find line, select line, hit delete, hand back to keyboard. One stroke infrequently vs many strokes most of the time.
Jim Dempsey
if(expression) then
statement
end if
Assume then I place the insertion cursor at the end of "statement"
Press enter, then enter
if(expression) then
statement
do i=1,3
statement (auto indent here - ok)
end do (then on enter, I observe)
(note additional open line)
end if
I would prefer that the additional open line not be present. IOW if I want an additional open line, I enter the open line. Hitting Backspace is not a good solution since I must hit back space once for every tab indent or take a hand off the keyboard to us the mouse to select the line to remove. I would prefer to enter 1 additional enter (finger on key already) when I want an additional empty line, as opposed to several backspaces or hand to mouse, find line, select line, hit delete, hand back to keyboard. One stroke infrequently vs many strokes most of the time.
Jim Dempsey
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Withthe cursoron the open line,Ctrl-X will delete the line.
Les
Les
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page