Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

How to set "Auto Indent" in ModelSim source editor ?

Altera_Forum
Honored Contributor II
6,187 Views

Hello, 

 

Does exist an option in modelsim source editor that allows aligning source code, e.g. clicking on "Enter" after "begin" moves the cursor jump on next line and get it aligned with the "begin" ... not with the start of line. 

On the image below - the actual behavior of modelsim editor: the cursor jumps at startline (cursor position is indicated by red arrow).  

Thanks. 

 

http://www.alteraforum.com/forum/attachment.php?attachmentid=13112&stc=1
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
3,865 Views

If I were you I would set ModelSim up to use an external editor (e.g. Notepad++ on Windows/gedit on Linux). You'll get much better indenting support.

0 Kudos
Altera_Forum
Honored Contributor II
3,865 Views

No 

Use a better editor (there are many out there that are free)
0 Kudos
Altera_Forum
Honored Contributor II
3,865 Views

Ok, thanks

0 Kudos
Reply