User Rules Dialog
Function List plugin can parse predefined languages: C, C++, Java, C#, ASM, PHP, HTML, JavaScript, LISP, Pascal, Python, Perl, Fortran, VHDL, SQL, Visual Basic, Bash, Tcl etc. Also it provides possibility to define user rules and parse any other language. You can open Plugins | Function List | User Rules dialog, please see here one sample.
Subscribe to:
Post Comments (Atom)
HOWTO: Repair Logitech M325 Mouse
FixIt says that you will find single screw under CE label. It isn't always true.
-
I would like to execute mysqldump using .mylogin.cnf file and --login-path option to make it more secure as it can be with plain text passwo...
-
If your worry about data left on dedicated/hosted root server and want to remove secure all files and bits, you can clean complete disk sli...
-
OUT - OF - DATE Obsolete. Please check new post ! If you have issue with Function List plugin for Notepad++ 5.1 or later, please ch...
4 comments:
Hi Ruslan,
Thanks for the tutorial on how to add rules to user defined languages.
In my case I've defined an new user defined language called pv-wave and when I do it as per the tutorial my syntax coloring is lost. Instead of that I changed the insertExt.ini and added the language I defined
example insertExt.ini file
[User Languages]
Count User Languages=2
Name 1=pv-wave
KeyWBodyBeg 1=
KeyWBodyEnd 1=
MatchCase 1=0
Count Comment 1=0
Comment P1.1.2=;
Comment P2.1.2=
Count Syntax 1=2
Syntax P1.1.1=^[\t ]*FUNCTION[\t ]+
Syntax P2.1.1=
Syntax P3.1.1=[a-zA-Z0-9_]+
Syntax P4.1.1=
Syntax P5.1.1=
Syntax P6.1.1=
Syntax P1.2.1=^[\t ]*PRO[\t ]+
Syntax P2.2.1=
Syntax P3.2.1=[a-zA-Z0-9_]+
Syntax P4.2.1=
Syntax P5.2.1=
Syntax P6.2.1=
[Function List]
Show all functions=0
Sort by names=0
showCmd=0
and now the syntax coloring and function list works properly,
Thanks again,
Ash
thanks anonymous :-)
if anyone have trouble with function list constantly rolling back any changes that you make to the insertExt.ini file you can make the changes, save the file and set it ro read only. only then exit notepad++. this will make sure that your change is the final one.
Hi Ruslan,
Sorry to bother you. I have been trying to get this to work with notepad++ v 5.4.5 for a few hours now without luck. The function list works with standard languages such as vb but I cannot get it to work with my user defined language. The function list window continually shows "no user settings". Where else should I look besides the insertExt.ini? How does the plugin make the link between the languages?
Turns out there is a bug with notepad 5.4.5 and the new 2.0 beta of function list. Just have to go into the preferences and turn off the make language menu compact option. 4 hours later...
Post a Comment