Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP function descriptions as I type in Notepad++

Tags:

php

notepad++

Is there a plugin for Notepad++ which would allow me to see functions including parameters/returns as I type?

For example, if i type "implode(", I'd see:

string implode ( string $glue , array $pieces )

Update: Wow, I'm surprised so many other people were as interested in this as me. The take-home lesson for me was to always explore all the Settings options!

like image 996
bgcode Avatar asked Jun 17 '11 01:06

bgcode


2 Answers

You don't need a plugin! 5.0 and above have this already.

Go to Settings -> Preferences, then go to the Backup/Auto-Completion tab, and you'll find it at the bottom! Check the box for function parameters hint as well.

You'll get exactly what you've asked for, as long as it knows the file is PHP.

like image 79
Tesserex Avatar answered Nov 05 '22 13:11

Tesserex


maybe, plugin Auto completion for custom PHP classes (ACCPC) is what you're mean.

basic info:
Show an overview over your classes' attributes & methods in a nice popup!

A popup window appears after typing the "->" or "::" behind a class or an instantiated object variable which displays all attributes and methods of it's class.

more information:
http://sourceforge.net/projects/accpc/


maybe this answer can helpful too:
Get parameter hints from Editing the API XML file
https://stackoverflow.com/a/12609240/2427906

like image 21
user2427906 Avatar answered Nov 05 '22 13:11

user2427906