Now, I already followed instructions in this answer and have this written inside of myĬ:\Users\\.vscode\extensions\kamasamak.vscode-cfml-0.5.3\language-configuration. Then search for the Show hover action: And set it to your preferred shortcut. You can also use the following: Ctrl + / (the slash key) to comment and uncomment lines of Python code on Windows. Command + K, then Command + U if you’re on a Mac. We can set our own shortcuts by using ctrl + k ( + k) and then ctrl + s ( + s ), which will open the shortcuts settings view. To uncomment a block of code, use your mouse to select it and then use the key combination: Ctrl + K, then Ctrl + U if you’re on Windows. In the keybindings. To achieve the same result with the keyboard, we have to set up our own shortcut. Then from upright of the page select the icon that says open keyboard shortcuts. Then JSDoc Comment is toggled and you can use that. go to : File>Preferences>Keyboard Shortcut. The shortcut is shift + alt + a (windows), shift + option + a (mac) I use this type of comment in VS Code but I don't think there is an shortcut for this. What I am currently doing is Ctrl + G to move to the line :3 and then press Ctrl + Enter to insert a line below. However VS Code block comments are in this style / /. In languages where there are more than one type of comment, like JavaScript and. cfc file and when I hit shortcut key - Ctrl-/ - it comments out code in a wrong fassion, like so: // I want to be able to insert a new line below line 3 and move the cursor to that new line with just one shortcut. Line comments are your standard ctrl + / on Windows/Linux or cmnd + / on OSX. Open the keybindings.json file using the button in the tab-bar (screenshot below) Historical Note: In very early versions of visual studio code, you would Click File -> Preferences -> Keyboard shortcuts. Use the tab that opens up to edit and find available key bindings and assign them. While working, these shortcuts can save you time and boost your productivity. Click File -> Preferences -> Keyboard shortcuts. I write ColdFusion in VS code and have KamasamaK's CF extension installed. Here are the top 11 visual studio code shortcuts that every developer should know.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |