Formatting in SP 4
dbbishop
Posts: 16 Bronze 2
In SP 3, when I typed in code, and hit ENTER, the cursor moved to align with the start of the previous line, thus if I entered:
the cursor would be in the same column as the start o col2.
Now, the cursor always popsitions itself at the start of the line. I do not see any settings under OPTIONS that lets me change this behavior. Is it gone, or am I missing a setting?
SELECT col1, col2,[ENTER]
the cursor would be in the same column as the start o col2.
Now, the cursor always popsitions itself at the start of the line. I do not see any settings under OPTIONS that lets me change this behavior. Is it gone, or am I missing a setting?
Comments
Cursor failing to align along the previous line - bug!
We are working on having it fixed and should have a release build that addresses this issue shortly. We will keep the forum posted when this build is made available for download.
Thank you for your patience and apologies for the inconvenience.
Regards,
Tanya
Project Manager
Red Gate Software Ltd
Just a quick update, the cursor allignment issue is now fixed
http://www.red-gate.com/MessageBoard/vi ... php?t=9517
Regards,
Tanya
Project Manager
Red Gate Software Ltd
Thanks for the quick update, but it still isn't totally how I would expect it.
Given this:
If I hit the back space key I expect it to either un-indent one level or back to the previous level, but it only removes one space.
I believe that is the normal behavior for SQL-Prompt. It does not insert tabs, but rather spaces. I asked about this when I first purchased version 3.x and was hoping that version 4 would use tabs, but it doesn't.
Given that, I'm not liking the formatting that SQL Prompt does as much anymore, it converts the tabs to spaces, and then you can't unindent with backspace...
So I think that SQL Prompt needs to either:
* Unindent one level when you backspace at the beginning of a line
or
* Give an option to have the format SQL use tabs instead of spaces