Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
2,513 Views

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

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
Highlighted
Valued Contributor III
191 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
Highlighted
Valued Contributor III
191 Views

No 

Use a better editor (there are many out there that are free)
0 Kudos
Highlighted
Valued Contributor III
191 Views

Ok, thanks

0 Kudos