Add rule to SourceCookifier plugin for notepad ++

I am trying to add a rule to the SourceCookifier for the CSS language.

A list of trees is currently displayed.

  • Classes
  • Selectors
  • Identities

But I want to add my own rule,

I will add some comments, for example:

/* Start Reset */
-- css rules here
/* End Reset */

/* Start Sidebar */
-- css rules here
/* End Sidebar */

And now I want to show my own function tree section

thanks for the help

Source code

+1
source share
1 answer

I'm not sure I understand your question, but here's what I think you're looking for.

Raise your CSS language preferences and add a new tag type. Set the description to "section" (or whatever).

To enter, use: / * Start (\ w +)

For output use: \ 1

, , , , "Reset" "Sidebar". , ?

+2

All Articles