If you are new to Microsoft Visual Studio Code IDE (popularly called as VS Code) and wondering how to format or indent your source code, then here are the keyboard shortcuts that you can make use of,
For Windows:
If you are using VS Code on a device that runs Windows Operating System then the keyboard short cut is: Shift + Alt + F
For macOS:
If you are using VS Code on a device that runs Apple devices running macOS then the keyboard short cut is: Shift + Option + F
For macOS:
If you are using VS Code on a device that runs on Linux such as Ubuntu then the keyboard short cut is: Ctrl + Shift + I
⛏️ If you want to make use of your mouse, the simplest way to format your code is to right click anywhere in your source code file and select option - "Format Document", you can also check what the keyboard shortcut is by looking next to it just in case you forget it :)
This keyboard shortcuts remains the same irrespective of the programming language you are working on Java, JavaScript, Vue, Python etc.
- Graph API error when querying BookingBusinesses - ErrorExceededFindCountLimit, The GetBookingMailboxes request returned too many results
- Error 50057 - User account is disabled. The account has been disabled by an administrator [Microsoft - Teams - Azure]
- Microsoft Edge Fix: ERR_TUNNEL_CONNECTION_FAILED
- Fix: Microsoft OneDrive We are currently experiencing technical difficulties
- Fix Microsoft Store Error Code: 0x80072EFD
- Microsoft Office Excel - Couldnt Open the Workbook - The workbook cannot be opened.
- 0xCAA20003: You ran into an authorization problem. [Microsoft]
- [Microsoft Teams 4c7] Modern authentication failed here, but you'll still be able to sign in. Your status code is 4c7 error
- Fix Error CAA50021 - Number of retry attempts exceeds expectation - Microsoft 365 Apps
- [Fix] Microsoft 53003 Error
- What is FCM Messages Test Notification! [Microsoft Teams] [Google Hangouts]
- You're not on Teams yet, but you can set it up for your organization. [Microsoft Teams Login Error]
- Remove mailto link from Microsoft 365 Word Document Email Text
- PowerShell git: The term git is not recognized as the name of a cmdlet
- How to activate and use Microsoft Teams Together mode
- Remove Possible Data Loss Message from Microsoft Excel
- How to turn off Dark theme in Excel for Mac
- Fix Microsoft Windows Update Error 80072EFE
- Fix Microsoft Office 365 error code 135011 - Your organization has disabled this device
- What is Microsoft 365 Message You are using more licenses on your trial than what you will purchase once the free trial ends.
- Lost your iPhone? Regenerate QR Code for Microsoft Authenticator App
- Customize Praise badge for Microsoft Teams with own images, values, brand
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video
- Microsoft 365 Excel - PRO TIP Discover insights quickly with Power BI, which is already included in your Microsoft services, See it in action
- What version of windows do I have?
- How to Access Terminal (Command Line) in Eclipse IDE - Eclipse
- MacBook - Time Limit - You have reached your time limit, Ignore Limit - MacOS
- C#.Net error The underlying connection was closed: An unexpected error occurred on a send - SharePoint
- How to make Text in TextView bold and italic in Android - Android
- connection.url property value in hibernate.cfg.xml for mysql - Java
- Word count in Notepad++ - NotepadPlusPlus
- Share Image and Text on Instagram from Android App using Share Dialog - Android
- Calculate Area of ellipse - C-Program