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

Assigning a shortcut to Code Template

1 Answer 140 Views
Code Templates
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Toshiyuki Tega
Top achievements
Rank 1
Toshiyuki Tega asked on 18 Nov 2009, 04:53 PM
Hello Telerik,

Congrats for your new product. JustCode looks very promising and super-fast, I've already replaced DevExpress CodeRush which I have to turn off occasionary for performance reasons.

There's one thing I miss at the moment and it is the nifty code completion feature of CodeRush since it worked almost transparently as you type "if", "using" and so on. If Code Template can work that way, I think it would be very nice but it's just a suggestion.

Anyway I'm trying to get used to the JustCode's template feature but it is not working even if I type "Alt+End" as the documentation says. As such is the case, I tried to map a shortcut on my own and looked for a command, in VS keyboard mapping configuration, which corresponds to "Show Available Code Commands..." but I couldn't figure out which one is. Is it possible to map a keyboard shortcut to the Code Template feature at this time?

I'm using VS 2008 SP1 Japanese FYI.

Thank you,
Toshiyuki

1 Answer, 1 is accepted

Sort by
0
Accepted
Deyan Varchev
Telerik team
answered on 18 Nov 2009, 05:30 PM
Hi Toshiyuki,

We are glad to hear you liked JustCode. As part of our efforts to make it even better we have large number of features that are still to be added before the official release. Code completion it one of the most requested features and I thus we should have it till we officially release JustCode.

Addressing your other issue - showing a list of the templates should be working either with Alt + End or Ctrl + Alt + End. If those keyboard short cuts does not work you can try to restore you shortcuts by clicking the "Restore keyboard shortcuts" button in JustCode's options dialog (JustCode -> Options).

In case you want to change the keyboard shortcut to e other - more suitable for you - you can do that using the following procedure:
1. Go to VS Tools menu and select Options...
2. In the Environment -> Keyboard section you will be listed all registered commands.
3. In the "Show commands containing" text box enter JustCode.Code - this is the command that corresponds to "Show Available Code Commands..."

Now you can assign the desired by you shortcut.

Should you have any other questions, please feel free ti contact us again.


Kind regards,
Deyan
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.
Tags
Code Templates
Asked by
Toshiyuki Tega
Top achievements
Rank 1
Answers by
Deyan Varchev
Telerik team
Share this question
or