NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
option to differentiate between comment tags syntax colours


Joined: 09 Aug 2006
Posts: 26
Reply with quote
Not an essential - but a really nice daydream...

I'd love to be able to comment my code like this below and
have the option to make syntax hightlight for // comments appear in one
colour and the # commments in another.


// function to do something
function doSomething($target)
{
# this formats the target
$return = strtolower($target)

# this trims the target
$return = trim($return)

}

just a wish...
View user's profileFind all posts by mike_wainSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Probably easy to implement and no reason why /* */ comments couldn't have another colour as well.

I often use // for permanent comments and # for temporary where I will probably delete the comment.

+1
View user's profileFind all posts by plugnplaySend private message
option to differentiate between comment tags syntax colours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic