I use NPP to edit ASP files and have often thought it would be nice to be able to call up a list if "sections" in the file I am editing to go right there. I have sections of the file commented with something like '*** Some Section, would be nice to be able to tell NPP that a section identifier starts with '*** and the rest is the name. Then when I call up the list, it will show all lines that look like that and I can click on one to go right there. This could be helpful for any language, or any type of file really. I hope this is clearish.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the moment only version 2.0 can do this. Create for your language a new group like "Section" and add your RegEx rules. In your case it is very easy.
Function begin: \*\*\*\s*
Function Name: \w*
All other fields stay empty.
Best Regards
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you could do that with functionlist plugin. Im not very familiar with regular expressions, but functionslist will probably allow you to search for '***' and a name after that and list them
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thats cool! I will have to look into the functionlist plugin further, I looked at it some but it didn't look like it would do what I wanted. Anyone familiar with that plugin that can give me some hints?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use NPP to edit ASP files and have often thought it would be nice to be able to call up a list if "sections" in the file I am editing to go right there. I have sections of the file commented with something like '*** Some Section, would be nice to be able to tell NPP that a section identifier starts with '*** and the rest is the name. Then when I call up the list, it will show all lines that look like that and I can click on one to go right there. This could be helpful for any language, or any type of file really. I hope this is clearish.
At the moment only version 2.0 can do this. Create for your language a new group like "Section" and add your RegEx rules. In your case it is very easy.
Function begin: \*\*\*\s*
Function Name: \w*
All other fields stay empty.
Best Regards
Jens
I think you could do that with functionlist plugin. Im not very familiar with regular expressions, but functionslist will probably allow you to search for '***' and a name after that and list them
Thats cool! I will have to look into the functionlist plugin further, I looked at it some but it didn't look like it would do what I wanted. Anyone familiar with that plugin that can give me some hints?