Notepad++ Function List plugin tip2
By: Daniel
Using the Notepad++ Function List plugin you can filter out all of the required and included files in your current PHP file. To do so you will need a few things:
Once you have installed the Function List plugin as the instructions say, open up Notepad++ and follow the instructions below.
- Navigate in the File Menu to Plugins > Function List > Language Parsing Rules
- Select PHP from the left hand column
- Under the Group section click Add (You will now see newGroup listed below the Add / Delete buttons)
- Click on newGroup and change the Group Properties Name to Include
- Now under the Group Rules section make these changes (without the quotes):
- Function Begin: “include[\s\w]*\(['"]“
- Function List Name: “[\w\s\d\\/_.]*”
If you have a PHP file open that has functions and/or classes you can click the Try! button at the bottom of the window and you will see your included file paths show up in the Function List. Repeat this process to create a rule for required files as well. Once completed just click OK and you are done! Enjoy listing your included and required file paths in Notepad++.
**This will filter out the following in your Function List pane:
- include(‘file_path_here.php’);
- include (‘file_path_here.php’);
- include_once(‘file_path_here.php’);
- include_once (‘file_path_here.php’);
- require(‘file_path_here.php’);
- require (‘file_path_here.php’);
- require_once(‘file_path_here.php’);
- require_once (‘file_path_here.php’);





















January 13th, 2009 at 5:52 pm
I am looking for Instructors/ Tutors in these fields:
HTML, CSS, PHP, XML, ASP, JAVA SCRIPT, FLASH, DREAMWEAVER, FIREWORKS, PHOTOSHOP, and more.
I need them for online classes and tutorials.
I need to populate my Web Design Classes section.
You can offer Free classes or PAID classes.
Just sign up and login, then request to be an Instructor.
Thank you
Chris
July 10th, 2009 at 2:11 pm
[...] più facilmente con un numero elevato di funzioni. Porto alla vostra attenzione anche questo e quest’altro post che contengono due ottimi consigli per utilizzare quest plugin. A destra il pannello con la [...]
July 24th, 2009 at 9:03 pm
one way to do this is to create following groups:
* include
* include_once
* require
* require_once
then you add the following to each group
Group: include
——————–
function start: include\(\’
function list name: *.*[\w]
Group: include_once
——————–
function start: include_once\(\’
function list name: *.*[\w]
Group: require
——————–
function start: require\(\’
function list name: *.*[\w]
Group: require_once
——————–
function start: require_once\(\’
function list name: *.*[\w]
this will give the output
include
- file.php
- folder/file.php
include_once
- file2.php
- folder/file2.php
In my opinion this gives you a better overview and the abilitie to separate require_once, require, include_once and include from eachother.
and you also filter out the “(“, “)” and singel dots(‘) from the output
This works great on Functionlist 2.0 BETA.
sorry for my bad english
January 28th, 2010 at 7:40 pm
[...] into an easy to see pane on the right side of my screen. I had previously posted tutorials here and here but now I have made the process for “installing” these new rules easier by posting the [...]