After enabling "Function parameters hint on input" in Preferences->Backup/Auto-Completion, I get helpful tips for native PHP functions like this:
string|false substr (string str, int start, [int length])
Is there a plugin or something that would make Notepad++ do this for my own functions, much like Dreamweaver does?
Settings -> Preferences -> Backup/Auto-Completion -> Function parameters hint on input [CHECK]
Is this what you're talking about? Works for me.
I have accomplished this by doing the following:
The API XML files are located in your installation directory \plugins\APIs. I believe there is a file for each language that has a parser. That parser will determine which pieces of the XML file are required or ignored.
These files are very fragile so here are some tips:
I have used this technique to support a custom API used by a game engine I am working with and it works great. I have an excel spreadsheet to manage entries and create properly formatted XML to be pasted into the correct section of the file, but obviously there are many ways that managing that could be done.
I figured all this out based on these sources:
Screen adding new key word: myNewKeyword
Final result after adding math.tanh with highlighting
I'm not too familiar with Notepad++, however I think unless there is some sort of IDE plugin it would not be possible.
In my opinion, you should use Aptana Studio, it's based off of the Eclipse IDE, and is specifically made for web development/PHP. Although there are plenty of other IDEs out there, here's a few.
Here's a link to Aptana: http://www.aptana.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With