Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Nested comments?

$
0
0

Still a noob with IDEA but checked the archive and really did not find an answer - Is it intentional the way IDEA is handling nested comments?  That is it seems not to parse properly and keep track of the number of open and closing /* and */  ???   It seems the only way to get things to work is something like:

 

/*

start


*/

 

/*    inner comment

*/

 

/*

 

end

*/

 

 

so basically you need to add another level of comments else IDEA uses the first closing */ it finds to terminate the first /*    The "fix", however, is annoying when it comes time to uncomment as one then has to hunt and remove that extra  */ and /*


Viewing all articles
Browse latest Browse all 5661

Trending Articles