From the course: Visual Studio Tips and Techniques for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Customize the editor for a given file extension - Visual Studio Tutorial
From the course: Visual Studio Tips and Techniques for Developers
Customize the editor for a given file extension
- [Instructor] Visual Studio ships with a lot of specialized editors. When you open a file, you get the default editor which is based on the file extension. For this example, mainwindow.XAML.CS is the file. The extension is .CS, which stands for C-sharp. When I double click on this file it opens it in this C-sharp editor. We can see which editor is affiliated with this extension by right clicking on the file and choosing open with. This shows a list of possible editors and it shows the default editor is the C-sharp editor. We can choose to use a different Visual Studio editor when there is an alternative one available, plus we can choose a different default. To change default, choose the other editor, click on set as default. I'll set it back. We can also configure Visual Studio to use an external tool for the file. There's already one in this list down here. It's Notepad. So when I click on this, it'll launch the…
Contents
-
-
-
Solution filters for customized project loading3m 29s
-
Get a filtered file view in Solution Explorer2m 36s
-
Solution Explorer and Scope to This2m 25s
-
Add keyboard shortcuts for Git commands1m 57s
-
Customize the editor for a given file extension2m 56s
-
Sort and group your files with vertical tabs3m 10s
-
Extension: Text generator2m 26s
-
Extension: Code converter (VB to C#)4m 11s
-
Duplicate lines of code2m 8s
-
Browse the application in multiple browsers2m 48s
-
Better output window with the MetaProject extension5m 36s
-
Preview image and data files with the MetaProject extension4m 20s
-
-