garveen / docphp Goto Github PK
View Code? Open in Web Editor NEWDocPHPManualer: Show PHP documentation in Sublime Text 3
License: MIT License
DocPHPManualer: Show PHP documentation in Sublime Text 3
License: MIT License
Hey!
When I hover on a function call (let's say $this->getId()
) in al file, it automatically jumps to the function definition. I think this is unwanted? I would like to popup function definitions from the php documentation, not from my own file. And certainly I don't like to jump across my file.
Kind regards,
Malcolm
I really like your plugin and i am using it everyday. Can you also add mysqli functions documentation in the plugin as mysql is already deprecated. That would be a huge help.
Any chance of importing or creating this package for vs code?
Would love to have it in vs code as well (y)
ctrl+alt+d does not show the documentation (Windows)
Awesome plugin. Is there exists chance for creating packages next languages like javascript / jquery ... ?
navigation in popup - up, down, pgdn, pgup, home, end
hide popup - esc
In new version sublime not show.
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1088, in run_
return self.run(edit)
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 331, in run
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 344, in show_popup
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 412, in formatPopup
File "./python3.3/html/parser.py", line 145, in feed
File "./python3.3/html/parser.py", line 189, in goahead
File "./python3.3/html/parser.py", line 372, in parse_starttag
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 528, in handle_startendtag
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 557, in get_tag_text
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\DocPHPManualer.sublime-package\docphp.py", line 557, in
TypeError: can only concatenate tuple (not "str") to tuple
In the example below, ctrl-alt-d on the text SimpleXMLElement does show docs for that class. But ctrl-alt-d on getName() does not show that method of the class.
foreach ($headers->children() as (SimpleXMLElement)$node) {
$nodeName = $node->getName();
(not sure casting is valid in foreach, so....)
foreach ($headers->children() as ($node) {
$senode = (SimpleXMLElement)$node;
$nodeName = $senode->getName();
It does show the doc for the count function:
$myarray->count()
I understand the complexity of deriving the type of $node to know the base class for the method. In this case I tried to help it to recognize the class. Is this a feature that might be implemented? Thanks.
Ever since I installed that plugin I get this issue
Please fix it
第一,没有配置menu 文件,导致菜单里访问不了配置,差评。
第二,没有语言列表,不知道中文对应cn zh-cn 还是zh 要不要区分大小写。
第三,我cmd path里有svn 开启不开启 use svn 都checkout 不下来language。
第四,截图样式差,建议用pop_style插件美化通过html显示
After a fresh installation. I typed strpos($haystack, $needle);
in a php script then right click, DocPHP: Show Definition. In the console I can see the following backtrace.
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 1082, in run_
return self.run(edit, **args)
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 331, in run
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 344, in show_popup
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 412, in formatPopup
File "./python3.3/html/parser.py", line 145, in feed
File "./python3.3/html/parser.py", line 189, in goahead
File "./python3.3/html/parser.py", line 372, in parse_starttag
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 528, in handle_startendtag
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in get_tag_text
File "/home/ovidiu/.config/sublime-text-3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in <lambda>
TypeError: can only concatenate tuple (not "str") to tuple
Since about 2 weeks ago, I've started getting a type error when running DocPHP: Show Definition
on MacOS.
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1066, in run_
return self.run(edit, **args)
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 331, in run
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 344, in show_popup
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 412, in formatPopup
File "./python3.3/html/parser.py", line 145, in feed
File "./python3.3/html/parser.py", line 189, in goahead
File "./python3.3/html/parser.py", line 372, in parse_starttag
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 528, in handle_startendtag
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in get_tag_text
File "/Users/user/Library/Application Support/Sublime Text 3/Installed Packages/DocPHPManualer.sublime-package/docphp.py", line 557, in <lambda>
TypeError: can only concatenate tuple (not "str") to tuple
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.