Page 1
Page 1
Started By
Message

VS Code customization question

Posted on 7/31/22 at 10:55 am
Posted by omegaman66
greenwell springs
Member since Oct 2007
24837 posts
Posted on 7/31/22 at 10:55 am
Hello, awhile back I was pointed to VS Code as my new code editor. Thanks for that!

My question today is how can I bind strings of text to a keyboard shortcut.

I have been doing this with a keyboard mapping script, but I would now like to simply do it all from within VS Code.

Hypothetical example. When I press Ctrl+j I would like the text "blah blah blah thanks blah blah blah" to be typed automatically.

keybindings doesn't do this in VS Code from what I can tell. It only maps commands from what I gather.

Can it do this or should I just keep using my script.

Thanks in advance!
Posted by jdd48
Baton Rouge
Member since Jan 2012
22830 posts
Posted on 7/31/22 at 11:21 am to
A few suggestions are available on stackoverflow - LINK .
Posted by Brisketeer
Texas
Member since Aug 2013
1554 posts
Posted on 7/31/22 at 11:25 am to
Keybindings should work in concert with code snippets.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24837 posts
Posted on 7/31/22 at 11:55 am to
Thanks to both of you!!!
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on X, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookXInstagram