July 7, 2010 at 9:47 pm
Comments posted to this topic are about the item Tabify Select Lines
The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge. - Stephen Hawking
July 7, 2010 at 11:29 pm
3% of 36 or one person answered the Garfield option.
July 8, 2010 at 3:13 am
It only "tabifies" groups of 4 spaces starting from the left, so if you have 5 spaces at the beginning of the line, you'll get a tab and a space after running this.
I think it's the same in Visual Studio.
Duncan
July 8, 2010 at 3:50 am
SSMS question after a long time..:-) thanks
July 8, 2010 at 5:53 am
Duncan Pryde (7/8/2010)
It only "tabifies" groups of 4 spaces starting from the left, so if you have 5 spaces at the beginning of the line, you'll get a tab and a space after running this.I think it's the same in Visual Studio.
Duncan
Actually, it "tabifies" based upon the setting in Options|Text Editor|All Languages/Plain Text/Transact-SQL/XML|Tabs for the Tab Size setting.
In my case, it's set to 2. Selecting tabify on your 5 spaces gives me 2 tabs and 1 space.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 8, 2010 at 6:29 am
WayneS (7/8/2010)
Duncan Pryde (7/8/2010)
It only "tabifies" groups of 4 spaces starting from the left, so if you have 5 spaces at the beginning of the line, you'll get a tab and a space after running this.I think it's the same in Visual Studio.
Duncan
Actually, it "tabifies" based upon the setting in Options|Text Editor|All Languages/Plain Text/Transact-SQL/XML|Tabs for the Tab Size setting.
In my case, it's set to 2. Selecting tabify on your 5 spaces gives me 2 tabs and 1 space.
Ah, interesting. There had to be an option to configure it somewhere! I suppose I've just always been happy with the default...
Duncan
July 8, 2010 at 7:56 am
I think the answer is not quite correct. The action only changes the LEADING spaces on a line to tabs.
July 8, 2010 at 7:58 am
"Changes the font to look like cat scratchings" is getting 1% of the answers as of the time I posted this comment. A small but bold cadre of users who are willing to sacrifice QOTD points for humor.
- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
July 8, 2010 at 8:26 am
Tom Garth (7/8/2010)
I think the answer is not quite correct. The action only changes the LEADING spaces on a line to tabs.
Yes, the answer could have been more specific. But the feature's basic purpose is to change spaces to tabs.
The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge. - Stephen Hawking
July 8, 2010 at 8:33 am
Tom Garth (7/8/2010)
I think the answer is not quite correct. The action only changes the LEADING spaces on a line to tabs.
Tabify Selected Lines β Replaces the leading whitespace on a line that contains the selection with tabs. Doesnβt matter whether the leading whitespace is selected, as long as part of the line is selected.
SQL DBA.
July 8, 2010 at 9:06 am
Nice question, thanks! It is nice to see some of the SSMS features included in the QotD since people don't always explore and find them.
July 8, 2010 at 10:15 am
I appreciate that UMG Developer. You know exactly why I chose that question. π
The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge. - Stephen Hawking
July 8, 2010 at 11:34 am
Open Minded (7/7/2010)
3% of 36 or one person answered the Garfield option.
The song "Cat Scratch Fever" keeps running through my mind. π
July 8, 2010 at 12:08 pm
Thanks for the question.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 9, 2010 at 1:47 am
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply