Coder Social home page Coder Social logo

docphp's People

Contributors

garveen avatar pakanhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docphp's Issues

Automatically going to function definition

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

Port to vs code?

Any chance of importing or creating this package for vs code?

Would love to have it in vs code as well (y)

Other languages?

Awesome plugin. Is there exists chance for creating packages next languages like javascript / jquery ... ?

Not show in v.3200

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

Unable to find function / method doc

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.

根本用不起来

第一,没有配置menu 文件,导致菜单里访问不了配置,差评。
第二,没有语言列表,不知道中文对应cn zh-cn 还是zh 要不要区分大小写。
第三,我cmd path里有svn 开启不开启 use svn 都checkout 不下来language。
第四,截图样式差,建议用pop_style插件美化通过html显示

TypeError: can only concatenate tuple (not "str") to tuple

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

Sublime Text 3 getting a TypeError when running Show Definition

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.