August 17, 2020 at 9:00 pm
My fingers were fumbling at the keyboard in the SSMS SQL query editor window, and I ended up with a little [->] icon in the gray gutter bar on the left (where break point icons show). I knew approximately the keys I was working with and searched the Web. On this page:
I found this:
Set or remove a shortcut in the current line: CTRL+K, CTRL+H
Does anyone know what "a shortcut in the current line" is for ?
Thanks in advance,
Sincerely,
Daniel
August 18, 2020 at 11:45 am
Great question. Not a clue. I just tried it out. It puts a weird looking arrow in there. Several clicks in and around it yielded nothing. Hmm...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
August 18, 2020 at 12:14 pm
It's for the Task List. The short cuts act as markers there. Got the answer from Twitter.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
August 19, 2020 at 5:37 am
Thanks,
I did a little research on the Task List, and it seems like it is something that has been broken since SSMS 2017: Task List seems incomplete.
My coding often involves writing /*TODO: blah blah*/ comments in my code. Having a short cut list to those does seem helpful.
Oh, there is a SQL Server Central topic, too:
SSMS version 17.x Task List Window
https://www.sqlservercentral.com/forums/topic/ssms-version-17-x-task-list-window#post-3781520
Sincerely,
Daniel
August 19, 2020 at 11:40 am
I'd probably lean heavily towards using tasks defined through whatever tools we're tracking bugs and other work in. Especially since those tools usually can be correlated to source control. Since all changes go through source control, I can track that work as I make the changes. That way, the less than complete solution, can be ignored. Still, having a way to go right to the bit you're working on is kind of nice.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
August 20, 2020 at 1:39 am
Sincerely,
Daniel
August 20, 2020 at 1:43 am
Oh, yeah, I'm in another thread on this:
Not able to create tasklist in Sql Server Management Studio
Sincerely,
Daniel
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply