Page 1 of 1

how to make block comments?

Posted: Tue Nov 25, 2008 10:07 am
by cap
Hello,

How does one section off a whole block of code as a comment? Also, when typing in a program window, is there a way to highlight several lines of text and then comment/uncomment all of it?

On a side note, for such a trivial question I had hoped the documentation would have been able to answer it, but searching for "comments" yields a different topic.


Thanks,
-cap

Re: how to make block comments?

Posted: Tue Nov 25, 2008 10:23 am
by EViews Gareth
Unfortunately there isn't currently a way to comment multiple lines at once. Its something we're probably going to add for EViews 7 (believe me, it drives me nuts not having this feature!)

If you just want to be able to select some code and have EViews ignore it, you can always put an if condition around it. This won't work if you truly want multiple line comments though.

Re: how to make block comments?

Posted: Tue Nov 25, 2008 11:33 am
by cap
Ok, well thanks for the info. I would also add that the ability to block indent/unindent would be useful as well.

Re: how to make block comments?

Posted: Tue Nov 25, 2008 12:18 pm
by EViews Gareth
Totally agree.

Re: how to make block comments?

Posted: Sun Dec 07, 2008 5:11 am
by Mailu
Let me suggest also that an autoformatting tool would be also appreciated, like in Visual Studio. And the best thing for the users that write some code, I think, would be some intelli sence.
Thank you