facebook

CSS formatting and block comments

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239733 Reply

    rogue_dev
    Member

    I have a CSS file which has the following comment structure:

    /*
    Copyright .......
    */
    
    /*TITLE: Red Scheme */
    
    /* body */
    body
    {
         <css statements>
    }

    and so on.

    If I reformat this file (using SHIFT-CTRL-F), the comments are “inlined”:

    /*
    Copyright .......
    */ /*TITLE: Red Scheme */ /* body */
    body {
         <css statements>
    }

    I think the formatter should honour blank lines between comments.

    #239790 Reply

    Riyad Kalla
    Member

    I will file this, thank you rogue_dev.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: CSS formatting and block comments

You must be logged in to post in the forum log in