Program name: Visual Studio Code (Mac) (Developer tools) Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see Common keyboard shortcuts in Visual Studio for Mac. Program name: Visual Studio Code (Mac) (Developer tools) Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. View, download and print Keyboard Shortcuts For Mac - Visual Studio Code pdf template or form online. 10 Mac Cheat Sheets are collected for any of your needs. The top 10 keyboard shortcuts for VS code. To view all the available shortcuts use Ctrl + k Ctrl + s or Ctrl + k s. To read more about all the key bindings, visit the official keybindings document.
- Products
- OverviewSalesforce Apps Photo studio software free.Build Faster, Smarter & Together
- Resources
- LearnToolsBy Topic
- Community
- Trailhead
Don't have an account?
Signup for a Developer EditionBrowse by Topic
Git repository visual studio. You need to sign in to do that
Don't have an account?
Show![Keyboard Shortcut For Commenting In Visual Studio Mac Keyboard Shortcut For Commenting In Visual Studio Mac](/uploads/1/3/3/8/133846947/107826868.png)
Show
- All Questions
- Unanswered Questions
- Unsolved Questions
- Solved Questions
sorted by
- Date Posted
- Recent Activity
- Most Popular
You need to sign in to do that
Don't have an account?
- This Question
Hello Friends,
I have this below code.I can comment the code by standard way (' <!-- This is commented part --> ') which I can do with few clicks.
Is there a way using the keyboard shortcut to do so? MS Visual Studio has it. May be the Eclipse too, although not sure.
Please help, thanks!
I have this below code.I can comment the code by standard way (' <!-- This is commented part --> ') which I can do with few clicks.
Is there a way using the keyboard shortcut to do so? MS Visual Studio has it. May be the Eclipse too, although not sure.
Please help, thanks!
- July 10, 2015
- ·
- ·
- 1
- ·
- 5
- Open CTRL+O
- Open Lightning Resources CTRL+SHIFT+A
- Open log CTRL+G
- Open raw log CTRL+SHIFT+G
- Download log CTRL+ALT+G
- Save the current view CTRL+S
- Save all CTRL+SHIFT+S
- Delete CTRL+DELETE
- Close CTRL+/
- Close all CTRL+ALT+/
- Open the Execute Anonymous window CTRL+E
- Execute anonymous Apex code when the Execute Anonymous window is open or the last executed code when the window is closed CTRL+ALT+E
- View log panels.. CTRL+P
- Log panel SHIFT+ALT+G
- Show/Hide help for the shortcut key CTRL+SHIFT+?
- Find CTRL+F
- Find/replace CTRL+SHIFT+F
- Find/replace all CTRL+SHIFT+R
- Search in files CTRL+SHIFT+H
- Fix indentation SHIFT+TAB
- Open resource CTRL+SHIFT+O
- Clear log panel SHIFT+ALT+G
- Show Preview of the Visualforce page/component CTRL+J
- Navigate to the declaration of a selected object in the Source Code Editor CTRL+ALT+N
- Show/Hide the Command Line Console CTRL+SHIFT+L
- Navigate backward through the view history CTRL+,
- Navigate forward through the view history CTRL+.
- Navigate backward through the open views CTRL+PAGE UP
- Navigate forward through the open views CTRL+PAGE DOWN
- Toggle full screen editing of the current view, if available F11
- Exit full screen editing of the current view, if active ESC
- July 10, 2015
- ·
- 3
- ·
- 0
I came with the same conclution.
Hence had to post an idea at - https://success.salesforce.com/ideaView?id=08730000000DqmhAAC
Hence had to post an idea at - https://success.salesforce.com/ideaView?id=08730000000DqmhAAC
- July 10, 2015
- ·
- 0
- ·
- 0
Hi sfdcviraj,
It's better to use sublime editor for more flexibility and write code in offline also without getting error.
Visual Studio Zoom Keyboard Shortcut
- June 20, 2018
- ·
- 1
- ·
- 0
Use Sublime + mavenmate or simply copy to sublime editor then copy it back to console.
In Sublime, the shortkey is Ctrl + /
In Sublime, the shortkey is Ctrl + /
- June 23, 2018
- ·
- 0
- ·
- 0
Hi sfdcviraj,
we are able to create custom Shortcut as per your daily requirement.there are some explanation about this I hope it is useful for You
1)Creating a Custom Shortcut – The Logout of salesforce.com Hotkey
One of the simplest keyboard shortcuts is logging out of Salesforce. Let's set it up.
a)Defining the Keyboard Shortcut
a)First, go to the Keyboard Shortcuts setup page for your Console and via Setup-> Create-> Apps-> Your Console -> 'Customize keyboard shortcuts'-> Edit.
b)Now add a new shortcut. 'Click Add Keyboard Shortcut'
c)Fill out the shortcut details. Note that the name of the shortcut event is namespaced with 'custom shortcut'. This is good practice and avoids possible conflicts with existing or future events in the Console.
d)Now we save and move on to the next step.
Since we want the shortcut to be available at all times, the listener must also be available at all times in the Console.
Some Standard Shortcut Key is also in console check it on a link:
https://help.salesforce.com/articleView?id=console2_keyboard_shortcut_ref.htm&type=5
If you found this answer helpful then please mark it as best answer so it can help others.
Thanks
Akshay
we are able to create custom Shortcut as per your daily requirement.there are some explanation about this I hope it is useful for You
1)Creating a Custom Shortcut – The Logout of salesforce.com Hotkey
One of the simplest keyboard shortcuts is logging out of Salesforce. Let's set it up.
a)Defining the Keyboard Shortcut
a)First, go to the Keyboard Shortcuts setup page for your Console and via Setup-> Create-> Apps-> Your Console -> 'Customize keyboard shortcuts'-> Edit.
b)Now add a new shortcut. 'Click Add Keyboard Shortcut'
c)Fill out the shortcut details. Note that the name of the shortcut event is namespaced with 'custom shortcut'. This is good practice and avoids possible conflicts with existing or future events in the Console.
d)Now we save and move on to the next step.
Since we want the shortcut to be available at all times, the listener must also be available at all times in the Console.
Some Standard Shortcut Key is also in console check it on a link:
https://help.salesforce.com/articleView?id=console2_keyboard_shortcut_ref.htm&type=5
If you found this answer helpful then please mark it as best answer so it can help others.
Thanks
Akshay
- July 11, 2018
- ·
- 0
- ·
- 0
You need to sign in to do that.
Have an account?Sign In
Dismiss Keyboard shortcuts can greatly improve your productivity and are sometimes more helpful than mouse clicks. We will see some of the top 10 keyboard shortcuts that are very powerful and highly useful while using Visual Studio Code. I am gonna talk about the shortcuts for Windows, for Mac, just replace
ctrl
with cmd
key. How to get vsts for fl studio mac.Open & Close Sidebar – Ctrl + b
You can easily open and close the sidebar with
Ctrl + b
. This really comes in handy when you are on a small screen and would like to save the display area.Quick open – Ctrl + p
When you want to open the recent files or open a specific file, you can use
Ctrl + p
to get a search bar and open the file from there.Ctrl + p
Keep Open – Ctrl + k
Enter
When you open the file by a single click from the sidebar or through the quick open, the file will be replaced by the next file you open. So in case you want to keep open the current file, type in
Ctrl + k
Enter
You can also notice the changes in the file name in the top bar once you “keep open” the file.Integrated Terminal – Ctrl + `
To quickly open/close the integrated terminal use
Ctrl + `
. Integrated Terminal is a really handy tool when you want to execute commands without opening a separate terminal or command prompt.Ctrl + `
Code Formatting – Alt + Shift + f
To format the entire document you can use
Alt + Shift + f
. This is really useful when you want to follow same formatting rules across files.Search within folder – Ctrl + Shift + f
While
Ctrl + f
allows you to search within the current file, Ctrl + Shift + f
allows you to search within your open folder.Ctrl + Shift + f
Select Word – Ctrl + d
To select the entire word where your cursor is on, use
Ctrl + d
, If you hit Ctrl + d
more than once, you’ll add another occurrence of the same keyword to your selection. This is very useful when you want to change the multiple occurrences of the same word.Select all occurrences of selection – Ctrl + Shift + L
In case you want to change a particular word or get the cursor across all the occurrences of word or selection use
Ctrl + Shift + L
. Alternatively, you can also use Ctrl+F2
to get the same behavior.Ctrl + Shift + L
Close the currently open file – Ctrl + w
Close the open file with this shortcut instead of hovering over the tab finding the ‘x’ and clicking it. To close all the open files, use
Ctrl + k
w
.Command Palette – Ctrl + Shift + p
Block Comment Visual Studio Shortcut
One of the most important feature of VS Code is Command Palette. It lets you execute tasks in VS code. Use
Ctrl + Shift + p
to bring up the command palette. You can type in any task you want to achieve and VS Code will search for the task for you. If a keyboard shortcut exists, it will show that too.Ctrl + Shift + p
![Studio Studio](/uploads/1/3/3/8/133846947/195433912.jpg)
That’s it! The top 10 keyboard shortcuts for VS code. To view all the available shortcuts use
Ctrl + k
Ctrl + s
or Ctrl + k
s
To read more about all the key bindings, visit the official keybindings document .