Link to home
Start Free TrialLog in
Avatar of EugeneSLO
EugeneSLO

asked on

Smart indentation in SQL Express Management Studio

Hi

How to add smart indentation to SQL Express Management Studio.
Every time I edit a SP or a query and press [Enter] the cursor jumps at the left side of the window not at the left side of statement in previous line.

Thx
Avatar of rboyd56
rboyd56

As far as I know, Management Studio does not have this feature. You ahve to do the indention your self.
rboyd is correct - there appears to be the option to set it if you go to Tools/Options then go to Text Editor/All Languages/Tabs and select Smart under Indenting but this appears to only work for XML formatting as the plain text option has it greyed out and unavailable.

Having said that - visual studio 2005 (including any of the express versions) do have smart indenting for Transact SQL and it is easy to access the database from within this environment through the database explorer so if that is what you are after - use that over the management studio.

Cheers
Avatar of EugeneSLO

ASKER

well I found the solution, which works very good, the name is Sql Prompt from redgate site :)

Thx for answers
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial