Forum Discussion
I don't think there is an option to compile selected files. Quartus will compile all the files in the project navigator. What I can think of is go to File > Open > File2.sv to view the file without adding it into the project navigator.
May I know from your experience in using Notepad++, any keyboard macros that you think is good to have but not currently available in Quartus/Modelsim?
@ShyanYewT_Intel I'm used to using IDEs such as MS Visual Studio and even ancient editors such as Emacs. They have "keyboard macros" which allow you to record a sequence of keystrokes and play them back. (Ctrl-Shift-R to start/stop recording and Ctrl-Shift-P to playback recording). Imagine you have a load of port/variable defiintions nicely vertically aligned and you want to move the second columns of words over by 3 characters. You could do this by frantically pressing the space 3 times, moving left 3 times and then moving down one line and doing it all over again. With keyboard macros you just record the sequence and playback - so you can hold Ctrl-Shift down and press P for 10 times for 10 lines of change. And keyboard macros can also playback copy and pasting actions too.
Another simple thing I miss in both Quartus/Modelsim editors is the abilty to highlight a black and press Tab (or Shift-Tab) to move the entire block of lines a tab to the right or left. I'm so used to using this that I highilght a block of text in Quartus/Modelsim, press Tab and accidentally delete/replace the highlighted code with a tab character. :-)
Something I haven't tried is whether or not Quartus would allow me to include a file with an unknown extension. For example, it would be useful to be able to includes .txt or .doc files in the Project tree - these would be related files but not files you would want to compile. I could do something silly such as renaming my Files2.sv to File2.paulsv and then tell Notepad++ that a .paulsv file should be syntax highlighted the same as Verilog file.