VS Code
Visual Studio Code
Visual Studio Code is a freeware source-code editor made by Microsoft for Windows, Linux, and macOS. It features, debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can also change the themes and keyboard shortcuts as per their preference. It supports many programming languages such as Java, Python, C++, etc.
Installing VS Code
Open your browser and search for Visual Studio Code download.
Download the VS Code as per your system requirements. As I am using windows so I will download the VS code for windows.
Now, check all the boxes as given in the pic (There is no need to recheck if it is already done) and click on next. And it will start installing.
How to use VS Code?
Step 1: Create a new folder
Step 2: Right-click and select open with code
Step 3: Name your fileNote: Make sure that while naming your file also include the extension.For Ex- In my case, I am giving the example of a python document. Python files are saved with .py extension, so, I name my file 'blog.py'.
Now, you are all set to start coding :D
Key Board shortcuts in VS Code
The VS code offers a wide range of shortcuts by default, but you can also change them according to your preferences.
Follow these steps to edit keyboard shortcutsFile > Preferences > Keyboard Shortcuts. ( Code > Preferences > Keyboard Shortcuts on macOS)
To know the frequently used shortcuts of VS Code visit this official documentation by VS code - https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
Settings
Key Board shortcuts in VS Code
The VS code offers a wide range of shortcuts by default, but you can also change them according to your preferences.
Follow these steps to edit keyboard shortcuts
File > Preferences > Keyboard Shortcuts. ( Code > Preferences > Keyboard Shortcuts on macOS)
To know the frequently used shortcuts of VS Code visit this official documentation by VS code - https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
There are many functionalities available in VS Code, you can access it by changing your settings at your convenience. Here, I have given an example to change the user setting to Zoom the font of the editor when using the mouse wheel and holding Ctrl
Follow the below steps if you wanna be able to change the size of your font by scrolling the mouse wheel:
Step 1: Open the settings button, given at the bottom-left corner.
Step 2: Now, search for the mouse in the search bar, and check the option 'Zoom the font of the editor when using the mouse wheel and holding Ctrl'
Now you can easily increase or decrease your font size :)
Difference between User and Workspace setting
When you go to settings, you'll get the two tabs named User and Workspace. Let's know the difference between these two.
- User Settings - Settings that apply globally to any instance of VS Code you open.
- Workspace Settings - Settings are stored in your workspace and only apply when the workspace is opened.
Changing the theme
Step 1: Go to settings
Step 2: Select the options color theme
So that's all in this :)
If you wanna know more about VS Code visit the official documentation of VS Code
If you wanna know more about VS Code visit the official documentation of VS Code
Or click this link - https://code.visualstudio.com/docs









Comments
Post a Comment