Visual Studio Code (commonly abbreviated as VSCode) is a lightweight yet powerful code editor that supports Windows, macOS, and Linux. It comes with built-in support for JavaScript, TypeScript, and Node.js, and offers a vast plugin ecosystem that allows it to support languages such as C++, C#, Python, PHP, and many more through extensions.
According to the creator of VSCode, this product may be Microsoft’s first Linux-compatible offering. The positioning of VSCode lies between a traditional text editor and an Integrated Development Environment (IDE), but it leans more toward being an advanced editor. Some describe it as an IDE wrapped in an editor’s interface, while I would say it's more like an editor with an IDE-like coat.
**VSCode Shortcuts**
- **Command Panel:** `Ctrl + Shift + P` or `F1` opens the command palette.
- **Quick Open:** `Ctrl + P` lets you quickly open files or symbols.
- **New Window:** `Ctrl + Shift + N` creates a new window or instance.
- **Close Window:** `Ctrl + Shift + W` closes the current window or instance.
**Basic Editing:**
- **Cut Line:** `Ctrl + X` cuts the selected line.
- **Copy Line:** `Ctrl + C` copies the selected line.
- **Move Line Up/Down:** `Alt + ↑ / ↓`.
- **Copy Line Up/Down:** `Shift + Alt + ↑ / ↓`.
- **Delete Line:** `Ctrl + Shift + K`.
- **Insert Line Below:** `Ctrl + Enter`.
- **Insert Line Above:** `Ctrl + Shift + Enter`.
- **Jump to Matching Brackets:** `Ctrl + \`.
- **Indent/Outdent Line:** `Ctrl + ] / [`.
- **Go to Start of Line:** `Home`.
- **Go to End of Line:** `End`.
- **Go to Start of File:** `Ctrl + Home`.
- **Go to End of File:** `Ctrl + End`.
- **Scroll Line Up/Down:** `Ctrl + ↑ / ↓`.
- **Scroll Page Up/Down:** `Alt + PgUp / PgDown`.
**Folding and Unfolding:**
- **Fold Region:** `Ctrl + Shift + [`.
- **Unfold Region:** `Ctrl + Shift + ]`.
- **Fold All Subregions:** `Ctrl + K`, `Ctrl + [`.
- **Unfold All Subregions:** `Ctrl + K`, `Ctrl + ]`.
- **Fold All Regions:** `Ctrl + K`, `Ctrl + 0`.
- **Unfold All Regions:** `Ctrl + K`, `Ctrl + J`.
**Commenting:**
- **Add Line Comment:** `Ctrl + K`, `Ctrl + C`.
- **Remove Line Comment:** `Ctrl + K`, `Ctrl + U`.
- **Toggle Line Comment:** `Ctrl + /`.
- **Toggle Block Comment:** `Shift + Alt + A`.
- **Toggle Word Wrap:** `Alt + Z`.
**Navigation:**
- **Show All Symbols:** `Ctrl + T`.
- **Go to Line:** `Ctrl + G`.
- **Go to File:** `Ctrl + P`.
- **Go to Symbol:** `Ctrl + Shift + O`.
- **Show Problems Panel:** `Ctrl + Shift + M`.
- **Go to Next Error:** `F8`.
- **Go to Previous Error:** `Shift + F8`.
- **Navigate Editor Group History:** `Ctrl + Shift + Tab`.
- **Back/Forward:** `Alt + ↠/ →`.
- **Toggle Tabs Focus:** `Ctrl + M`.
**Search and Replace:**
- **Find:** `Ctrl + F`.
- **Replace:** `Ctrl + H`.
- **Find Next/Previous:** `F3 / Shift + F3`.
- **Select All Occurrences:** `Alt + Enter`.
- **Add Selection to Next Match:** `Ctrl + D`.
- **Move Last Selection to Next Match:** `Ctrl + K`, `Ctrl + D`.
- **Toggle Case Sensitivity/Regex/Whole Word:** `Alt + C / R / W`.
**Multi-Cursor and Selection:**
- **Insert Cursor on Click:** `Alt + Click`.
- **Insert Cursor Above/Below:** `Ctrl + Alt + ↑ / ↓`.
- **Undo Last Cursor Operation:** `Ctrl + U`.
- **Insert Cursor at End of Each Selected Line:** `Shift + Alt + I`.
- **Select Current Line:** `Ctrl + I`.
- **Select All Occurrences of Current Selection:** `Ctrl + Shift + L`.
- **Select All Occurrences of Current Word:** `Ctrl + F2`.
- **Expand Selection:** `Shift + Alt + →`.
- **Shrink Selection:** `Shift + Alt + â†`.
- **Column Selection:** `Shift + Alt + Drag Mouse`.
- **Column Selection with Arrow Keys:** `Ctrl + Shift + Alt + Arrow`.
- **Column Selection Page Up/Down:** `Ctrl + Shift + Alt + PgUp / PgDown`.
**Rich Language Editing:**
- **Trigger Suggestions:** `Ctrl + Space`.
- **Parameter Hints:** `Ctrl + Shift + Space`.
- **Emmet Expand Abbreviation:** `Tab`.
- **Format Document:** `Shift + Alt + F`.
- **Format Selected Area:** `Ctrl + K`, `Ctrl + F`.
- **Go to Definition:** `F12`.
- **Peek Definition:** `Alt + F12`.
- **Open Definition to Side:** `Ctrl + K`, `F12`.
- **Quick Fix:** `Ctrl + .`.
- **Show References:** `Shift + F12`.
- **Rename Symbol:** `F2`.
- **Replace with Next/Previous Value:** `Ctrl + Shift + . / ,`.
- **Trim Trailing Spaces:** `Ctrl + K`, `M`.
- **Change File Language:** `Ctrl + K`, `M`.
**Editor Management:**
- **Close Editor:** `Ctrl + F4`, `Ctrl + W`.
- **Close Folder:** `Ctrl + K`, `F`.
- **Split Editor:** `Ctrl + \`.
- **Focus on Editor Group:** `Ctrl + 1 / 2 / 3`.
- **Focus Previous/Next Editor Group:** `Ctrl + K`, `Ctrl + ↠/ →`.
- **Move Editor Left/Right:** `Ctrl + Shift + PgUp / PgDown`.
- **Move Active Editor Group:** `Ctrl + K`, `↠/ →`.
**File Management:**
- **New File:** `Ctrl + N`.
- **Open File:** `Ctrl + O`.
- **Save:** `Ctrl + S`.
- **Save As:** `Ctrl + Shift + S`.
- **Save All:** `Ctrl + K`, `S`.
- **Close:** `Ctrl + F4`.
- **Close All:** `Ctrl + K`, `Ctrl + W`.
- **Reopen Closed Editor:** `Ctrl + Shift + T`.
- **Keep Open:** `Ctrl + K`, `Input`.
- **Open Next File:** `Ctrl + Tab`.
- **Open Previous File:** `Ctrl + Shift + Tab`.
- **Copy File Path:** `Ctrl + K`, `P`.
- **Reveal in Explorer:** `Ctrl + K`, `R`.
- **Show in New Window:** `Ctrl + K`, `O`.
**Display Settings:**
- **Toggle Full Screen:** `F11`.
- **Switch Editor Layout:** `Shift + Alt + 1`.
- **Zoom In/Out:** `Ctrl + = / -`.
- **Toggle Sidebar Visibility:** `Ctrl + B`.
- **Show Explorer / Toggle Focus:** `Ctrl + Shift + E`.
- **Show Search:** `Ctrl + Shift + F`.
- **Show Git:** `Ctrl + Shift + G`.
- **Show Debug:** `Ctrl + Shift + D`.
- **Show Extensions:** `Ctrl + Shift + X`.
- **Replace in Files:** `Ctrl + Shift + H`.
- **Toggle Search Details:** `Ctrl + Shift + J`.
- **Open Terminal:** `Ctrl + Shift + C`.
- **Paste into Terminal:** `Ctrl + Shift + V`.
- **Scroll Up/Down:** `Ctrl + ↑ / ↓`.
- **Scroll Page Up/Down:** `Shift + PgUp / PgDown`.
- **Scroll to Top/Bottom:** `Ctrl + Home / End`.
**Debugging:**
- **Toggle Breakpoint:** `F9`.
- **Start/Continue:** `F5`.
- **Stop:** `Shift + F5`.
- **Step Into:** `F11`.
- **Step Over:** `F10`.
- **Show Hover:** `Ctrl + K`, `I`.
**Integrated Terminal:**
- **Show Terminal:** `Ctrl + `.
- **Create New Terminal:** `Ctrl + Shift + `.
- **Copy Selection:** `Ctrl + Shift + C`.
- **Paste into Terminal:** `Ctrl + Shift + V`.
- **Scroll Up/Down:** `Ctrl + ↑ / ↓`.
- **Scroll Page Up/Down:** `Shift + PgUp / PgDown`.
- **Scroll to Top/Bottom:** `Ctrl + Home / End`.
**How to Modify Default Shortcuts in VSCode?**
Recently, while using VSCode, I noticed that some shortcuts conflicted with other software. To change them, follow these steps:
1. Open VSCode.
2. Go to **File > Preferences > Keyboard Shortcuts** (or press `Ctrl + K`, `Ctrl + S`).
3. You’ll see a list of all commands with their default keybindings.
4. To modify a shortcut, right-click the command and select **Change Keybinding**.
5. Press the desired key combination (e.g., `Ctrl + Shift + S`) and click **Enter**.
6. To reset to default, right-click the command and choose **Reset Keybinding**.
7. For advanced customization, click **Open Keyboard Shortcuts (JSON)** and edit the `keybindings.json` file directly.
This method allows you to fully customize your experience and avoid conflicts with other applications.
ccs2 to gbt adapter,type 1 to type 2 adaptator,gbt adapter,type 2 to tesla adapter,dc charger ev adapter
Shenzhen Jiesaiyuan Electricity Co., Ltd. , https://www.gootuenergy.com