Hey guys, is it possible to get some functionality in the function list for handling css? For example I use the following comment style to seperate blocks of css:
/* =Navigation */
Is there some way of making function list recognise this as a function so that I can skip between blocks of styles in my css files without having to go via the search box?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the moment not. Because you couldn't self define the parsing rules of standard programming languages. This could be done in a later version. At the moment you could only do following:
- Create you own User Defined Language, lets say: MyCSS
Do this here: "View->User Defined Dialog..."
- Press "Create New..." and fill out the fields if you want.
- Now go to: "Plugins->Function List->User Rules..."
- Select our created language "MyCSS" in combo box
- Press "Edit Rule"
- Fill out following:
Function Begin: "\* ="
Function List Name: "[a-zA-Z0-9]*"
Function End: " \*/"
You could use insteed of the spaces following regular expression:
[ \t]*
Best Regards
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys, is it possible to get some functionality in the function list for handling css? For example I use the following comment style to seperate blocks of css:
/* =Navigation */
Is there some way of making function list recognise this as a function so that I can skip between blocks of styles in my css files without having to go via the search box?
At the moment not. Because you couldn't self define the parsing rules of standard programming languages. This could be done in a later version. At the moment you could only do following:
- Create you own User Defined Language, lets say: MyCSS
Do this here: "View->User Defined Dialog..."
- Press "Create New..." and fill out the fields if you want.
- Now go to: "Plugins->Function List->User Rules..."
- Select our created language "MyCSS" in combo box
- Press "Edit Rule"
- Fill out following:
Function Begin: "\* ="
Function List Name: "[a-zA-Z0-9]*"
Function End: " \*/"
You could use insteed of the spaces following regular expression:
[ \t]*
Best Regards
Jens