6 Replies Last post: Oct 3, 2013 4:03 PM by Ambroise Dhenain  
Ambroise Dhenain Newbie 36 posts since
Sep 11, 2013
Currently Being Moderated

Oct 3, 2013 3:31 PM

Change comment templates

Hi!

 

I would know how change my comment template, when I do:

/** and tab

 

I want to add some lines and align the text with tab.

 

How can I do it?

 

Thank you!

Andriy Bazanov Master 3,911 posts since
May 28, 2010
Currently Being Moderated
Oct 3, 2013 4:02 PM in response to: Ambroise Dhenain
Re: Change comment templates

Hi there,

 

Would be fantastic if you could be a tiny bit more specific:

  1. What language?
  2. What context (class/method/variable/etc)?
  3. What IDE and version?

 

Generally speaking:

  • Such templates (if customisable) are located at "Settings | File and Code Templates"
  • Available formatting rules (if available and customisable) can be set at "Settings | Code Style" (for PHP it would be "PHP | PHPDoc")
Andriy Bazanov Master 3,911 posts since
May 28, 2010
Currently Being Moderated
Oct 3, 2013 3:59 PM in response to: Ambroise Dhenain
Re: Change comment templates

I can be wrong here, but I do not think that such customisation is currently available for JavaScript (I see them for PHPDoc only).

 

P.S.

I'm a PhpStorm user and not WebStorm, but all (the same) JS functionality is available in PhpStorm as well.

Andriy Bazanov Master 3,911 posts since
May 28, 2010
Currently Being Moderated
Oct 3, 2013 4:01 PM in response to: Ambroise Dhenain
Re: Change comment templates

Feel free to submit Feature Request tickets for required functionality directly to the Issue Traker: http://youtrack.jetbrains.com/issues/WEB

 

But please check for existing tickets first.

More Like This

  • Retrieving data ...