I want to reset my editor to the default one in Modelsim
but I don't know how.
When I double click on a project it opens in Notepad
. I tried to change the value of the editor
variable from the "Edit Preferences
" tab but it didn't work.
I also tried to change the windows settings to open it with Modelsim.exe
and it worked for the first project only, but when I want to open another project it enters a loop where it keeps opening Modelsim again and again. What is the right way to do so?
Although the issue seems to be with ModelSim, it really is an issue with Windows. As you noted, you have associated a file type (in this case, .vhd) with a given program, and now you need to undo it in order to get ModelSim to work as it did initially.
The following is the manual method for removing file associations for the .vhd extension in Windows 10:
UPDATE
Performing just steps 6 and 7 may fix the issue by itself, so try those first, then proceed with steps 4 and 5, check again if that fixes the issue, and so on.
You will need to repeat the fix every time that you perform Open With
on a .vhd file, even if you Open With
and then cancel (i.e. do not select an application and do not open said file).