Forum Discussion
Altera_Forum
Honored Contributor
18 years agoVHDL block comment
Hi,
as far as I know the only way to mark a line as a comment in VHDL is to start the line with the characters "--" and it is not possible to make a block comment like it is usual in C/C++ (/* .... */). Anyway, is there a way in Quartus to add or remove automatically the comment characters to a couple of lines? Thanks5 Replies
- Altera_Forum
Honored Contributor
If using the Quartus text editor you can highlight the text you want, and along the left are two icons to comment or uncomment selected text. Very useful for this. (I'm still amazed block comments haven't been added to VHDL, but most people don't need them with these types of editors)
- Altera_Forum
Honored Contributor
Hi Rysc, thanks for the information. Unfortunately I can
not find this Icons. I assume either the feature is not available in my Quartus Version (6.1 full) or it is hidden in a special task bar. - Altera_Forum
Honored Contributor
I think the feature was added in version 7.1. I see it in that version but not in 6.1.
- YBenj
New Contributor
In quartus you can find comment/uncomment selection in Edit->Comment Selection/Uncomment Selection.
- mfro
Occasional Contributor
I'm sure this guy will be exuberantly happy now.
Finally. After eleven years of impatient wait 😀