Is there a way to change the tab settings in the modelsim text editor? I'd like to set them to 3 so they match my settings in all my other editors so files look the same no matter where they're opened.
hi, look at Edit menu...> Preferences...> click on a tab named "by something" maybe you will find tabulation parameter.OR Modify a modelsim.ini Or wait for more detailed answers ;-)
I just came across this during a search.For reference the actual answer is Go to the tools menu and select edit preferences Then select "Source windows" Then "Document types" Then the programming/HDL language you are using (it seems the setting is per-language) Then spacing Then set the settings to suit your taste/coding standards. If you want it to match what quartus does by default for verilog (I can't comment on VHDL since I don't use it) then you want to set the tab stop to 3 and turn off convert tabs to spaces. I also set the auto indent to 3.
What I had to do was similar to what is described above but not quite it.
Go to: tools > edit preferences
Change to the 'by name' tab
Look for 'tabs'
Set the value to the amount of spaces you want your tab to represent.
(windows, Modelsim starter edition 10.5b)