Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHow 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=13 Replies
- Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
No
Use a better editor (there are many out there that are free) - Altera_Forum
Honored Contributor
Ok, thanks