Author Topic: 11.0.2 and comment wrap for JS??  (Read 4589 times)

Brandon

  • Community Member
  • Posts: 37
  • Hero Points: 5
11.0.2 and comment wrap for JS??
« on: September 01, 2006, 06:55:46 PM »
Uh, why is JS commented out as a supported language in the latest patch for comment wrapping (commentformat.e line 1017)?

David_O

  • Senior Community Member
  • Posts: 152
  • Hero Points: 8
Re: 11.0.2 and comment wrap for JS??
« Reply #1 on: September 06, 2006, 03:49:20 PM »
You've discovered the code that checks or valid comment wrap languages.  We decided to focus on the core C-like languages.  You are welcome to remove the 'js' comment and try to use comment wrap in your javascript, since it uses a similar comment style.  However, we did not fully test comment wrap with javascript and can't make any guarantees.

We plan to make comment wrap ubiquitous for all languages in the future.  If you have another language for which you'd like to use comment wrap, try adding it to the list.  If it's comment style in clearly specified in it's color coding section (Tools -> Options -> Color Coding...), then chances are comment wrap will work for you.  But we can only guarantee the languages derived from 'c', 'cs', 'e', 'java'

-David-