How to Open a File with the DVT SystemVerilog Editor Regardless of Its Extension
Description
DVT Eclipse is an Integrated Development Environment (IDE) for SystemVerilog, Verilog, VHDL, e Language, and mixed-language projects. When working with files that don't have common extensions like .e, .sv, .vhdl, you may be surprised when DVT opens the file using a simple text editor. This video shows you how to open files with a particular extension using the DVT Editor. Although the movie is about SystemVerilog, it is applicable to all the languages supported by DVT Eclipse: SystemVerilog/Verilog, e Language, and VHDL.
Transcript
Let's consider a couple of files with random extensions. When double-clicking, they will be opened in their associated editor. For unknown extensions, the default is the text editor.
Opening with the DVT SystemVerilog Editor
To open with the DVT SystemVerilog editor:
- Right-click on the file.
- Select Open With > Other...
- Pick Verilog Language Editor from the list.
The associated editor is remembered when reopening this particular file.
Permanently Associating an Extension with the DVT SystemVerilog Editor
To permanently associate an extension with the DVT SystemVerilog Editor:
- Go to Window > Preferences.
- Then navigate to General > Content Types.
- Locate Verilog Source File.
- Click Add and fill
*.<desired_extension>
. - Go to General > Editors > File Associations.
- On the top panel, click Add and type
*.<desired_extension>
. - On the bottom panel, select Verilog Language Editor and click Default.
Then:
Now all the files with the extension are opened with the DVT SystemVerilog Editor.
Note: DVT automatically associates the files it compiles (blue-bullet files) with the appropriate editor.