wikunia / brackets-quickdocsphp Goto Github PK
View Code? Open in Web Editor NEWInline short documentation for PHP functions, including a summary and parameters.
Inline short documentation for PHP functions, including a summary and parameters.
Thanks for this awesome extension, I love it, but one think I am missing from the PHP.net docs is the function definition that they add to the description, like they do here: http://ar2.php.net/manual/en/function.mktime.php.
What I would like to see in the codes is something like this for the mktime function (as an example):
int mktime ([ int $hour = date("H") [, int $minute = date("i")
[, int $second = date("s") [, int $month = date("n") [, int $day = date("j")
[, int $year = date("Y") [, int $is_dst = -1 ]]]]]]] )
Which sometimes makes the parameters a lot easier to read.
Currently when you press Ctrl+K the main editor loses focus so you can't continue to write without clicking in the editor or pressing esc. Would be nice if the editor kept the focus.
Hi,
Great plugin! Just what Brackets needed for PHP. The only thing I wish it included was the return values of the methods.
For example, if strstr returns a String if successful or False if not.. .etc.
Otherwise, great work.
Best,
Aaron
<?php
/**
* @param $a Foo
*/
function foo(
$a
){
return true;
}
$abc = foo(true);
Pressing Ctrl + K
in foo(true)
responds with "No Quick Docs available for current cursor position" instead of documentation.
Hi,
maybe you want to add support for the DateTime class.
http://www.php.net/manual/de/class.datetime.php
Regards
André
P.S.: Grüße aus dem Ruhrgebiet
Hi,
when I'm using ctrl+K just the linebreak is deleted. Is it possible to change the keys?
Regards
André
It might be a silly question, but nothing shows up when I tried to open up quick reference for "mysqli".
phpDocs are more common in the PHP world (at least in my experience), and allow for more details, such as parameter type in @param
.
For example, assuming the following:
<?php
/**
* @param array $a Foo
*/
function foo(array $a){
return true;
}
$abc = foo(true);
The documentation shows array
as the variable name, and $a Foo
as the description for the variable. It would be nice if this showed $a
as the variable, array
as the type, and Foo
as the description.
Seems like it cannot get the contents from the php.net website...
Hello!
The plugin is great! But it doesn't work on Ubuntu, this would work in another distro? My distro is Ubuntu 12.04 and the version of Brackets is 0.41.
Thanks and good work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.