This is a migrated thread and some comments may be shown as answers.

Default Shortcut Keys Overridden

5 Answers 250 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark Olson
Top achievements
Rank 1
Mark Olson asked on 11 Dec 2009, 07:46 PM
I'm having a good time checking out all the features in JustCode and it seems like a great tool.  But I was annoyed that some default Visual Studio 2008 shortcut keys had been overridden.

Specifically, Ctrl+UpArrow and Ctrl+DownArrow

I use these to scroll my page without moving my cursor regularly, but now it looks for my next error (typically in files that are supposed to be excluded from the project [.exclude file extension]), and I can't figure out how to remap those shortcut keys, or remove the JustCode shortcuts for those particular functions.

Regards, Mark.

5 Answers, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 14 Dec 2009, 01:51 PM
Hi Mark,

Thanks for the involvement.

There's a way to fix the behavior you observe. From Tools->Options->Environment->Keyboard options page you can adjust VS & JustCode keyboard shortcut the way it suits you. If you type "JustCode" in the "Show commands containing:" text field, you'll get all JustCode commands with their keyboard shortcuts.The ones you're looking for are "JustCode.GotoNextError" and "JustCode.GotoPreviousError". When you select one of the commands you can customize its keyboard mapping. In our case you can just choose the shortcut you want to remove from the drop-down list ("Shortcuts for selected command:") and hit Remove. Then you'll need to assign a shortcut for the original VS commands which are "Edit.ScrollLineUp" and "Edit.ScrollLineDown". That should do the trick. In case at some point you want to use the original JustCode shortcuts you can do so by going to JustCode->Options->General options page and pressing the "Restore keyboard shortcuts" button on the top of the page, which will overwrite the VS settings and restore JustCode ones.

Let us know if that works for you.

Regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mark Olson
Top achievements
Rank 1
answered on 15 Dec 2009, 06:51 PM
Kaloyan, That worked great, thank you.  I'm back to using my familiar shortcuts and being very happy with JustCode.

Thanks for the help.
Mark.
0
Michael
Top achievements
Rank 1
answered on 17 Dec 2009, 06:13 AM
I really really hate JustCode's ctrl-click of text. I want ctrl-click to highlight the whole word instead of navigating to the class etc. Is there a way to fix that?
0
Kaloyan
Telerik team
answered on 17 Dec 2009, 09:01 AM
Hello Michael,

There's an option in the menu JustCode->Options dialog. In the General options page there is a check box that manages the behavior you mention - "Go to definition on <Ctrl + Left Click> in editor". If you clear that option you'll get the default VS action for Ctrl+Click, i.e. highlighting word under cursor.

Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brendan
Top achievements
Rank 1
answered on 06 Sep 2012, 02:30 PM
Ideally, the ctrl-click on text should only apply on mouseup (not mousedown). Then, only execute "navigate to" if the mouse stayed within some minimum distance. If they moved the mouse more than X amount, then they are attempting to select the word/words underneath.
Tags
General Discussions
Asked by
Mark Olson
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Mark Olson
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Brendan
Top achievements
Rank 1
Share this question
or