Skip to content

Set .sql Files to Open with Visual Studio Code

Published: at 07:38 PM

Let’s dive in.

1. Open Default Apps Settings

2. Choose Default by File Type

Under Default Apps

3. Change the Default App

If there’s already a default app, it’ll show that (as in the screenshot above, mine was SSMS).

If VS Code is not listed (OR you wish to select another app)

C:\Users\<YourUsername>\AppData\Local\Programs\Microsoft VS Code\Code.exe
C:\Program Files\Azure Data Studio\azuredatastudio.exe
  1. Confirm the Change

You can revert to it anytime using the same steps.


Previous Post
Remove Photos and Videos from Google Maps
Next Post
Setup a TypeScript Development Environment in a Container