DVT SystemVerilog IDE User Guide
Rev. 21.1.44, 19 October 2021
You can easily move a code fragment to a separate new file.
Select a block of code and press Ctrl+1, select Move selection to new file... from the list of quick assist proposals and press Enter.
Fill in the name of the new file.
Note: The initial selection is replaced by an `include to the new file
Tip: You can also right-click in the editor and go to Refactor > Move Selection to New File.