Commits on Sep 17, 2016
  1. Merge pull request #92 from haya14busa/fix-syntax

    Fix syntax error
    complex857 committed on GitHub Sep 17, 2016
  2. Fix syntax error

    haya14busa committed Sep 17, 2016
Commits on Jun 18, 2016
  1. Add `instanceof` as a class completing context

    Will complete namespaces and class names after instanceof operators
    Fixes #88
    complex857 committed Jun 18, 2016
  2. Make generated tags with namespaces work generates tags where `\` chars are escaped and vim doesn't
    unescape these when you are getting them back. Since there's no
    legitimate case for having a `\\` in tag fields we can unescape them
    until ctags io decide how to handle this case[1]
    Fixes #90
    [1]: universal-ctags/ctags#815
    complex857 committed Jun 18, 2016
Commits on May 19, 2016
  1. Bringing back the wiki link for ctags

    Special thanks for @markwu, for more information refer to:
    complex857 committed May 19, 2016
Commits on May 16, 2016
  1. Add ctag option example

    complex857 committed May 16, 2016
Commits on May 5, 2016
  1. When in global namespace, use the detected namespace instead of curre…

    …nt one
    When completing in global namespace, the plugin should use the completed
    symbol's own namespace as a starting point instead of the current (global)
    Fixes #87
    complex857 committed May 5, 2016
Commits on Feb 23, 2016
  1. In the context of an use ... import, the current namespace is irrelevant

    When getting the current symbol's context for jumping, you generally want
    to expand the symbol (usually a classname) with the current namespace
    but if you are invoking the symbol detection inside an use ... import
    the current namespace is irrelevant because by definition every import
    is a FQCN
    Special thanks for @MichaelMackus for the bugreport, See #84
    complex857 committed Feb 23, 2016
Commits on Jan 3, 2016
  1. Add more tests for #83

    complex857 committed Jan 3, 2016
  2. Add @property support for phpcomplete#CompleteUserClass function

    Now properties from docblocks will show up on suggetsions
    complex857 committed Jan 3, 2016
Commits on Dec 18, 2015
  1. Add basic support for properties

    In, probably, a really hacky way...
    marceldev89 committed Dec 18, 2015
Commits on Nov 20, 2015
  1. Look for functions w/o namespace when searching for return types

    If you are in a namespace and call a function without explicit namespace,
    PHP will look for the function in your current namespace and then in the
    globalnamespace. The plugin didn't try to look for the function in the
    global namespace before. This fix was brought to you by:
    php-vim@3fcc825 (and google translate)
    complex857 committed Nov 20, 2015
  2. Fix function name matching when searching for docblocks

    Previously the plugin would return anything that has the same prefix as the
    function in search, so you could end up with the getStyles() when you were
    looking for getStyle().
    It's somewhat emberassing that i had a test that should expose this from
    the beginning if i've had typed the fixture more correctly :D (brownpaper)
    complex857 committed Nov 20, 2015
  3. Add support for @type annotation

    Even even though phpDocumentor removed support for this, some project still
    uses this.
    complex857 committed Nov 20, 2015
Commits on Oct 25, 2015
  1. Fix #78 extracting namespaced classes from tags file variable type line

    The cmd field of tags files are ex commands and have `\` escaped in them
    and should be unescaped when extracting a namespaced class name from them.
    Special thanks for @bstaint for reporting and investigating the problem.
    complex857 committed Oct 25, 2015
Commits on Jul 4, 2015
  1. Fix #71

    Functions doesn't necessarily have function bodies, think of functions
    in interfaces
    complex857 committed Jul 4, 2015
  2. fix #70

    When inside a function, line numbers should be offsetted to the buffer's
    real line numbers
    complex857 committed Jul 4, 2015
Commits on Jun 22, 2015
  1. Add support proper support for "interface ... extends ..." declarations

    Special thanks for @koenhoeymans for the use case!
    Related: #68
    complex857 committed Jun 22, 2015
Commits on Jun 20, 2015
Commits on May 30, 2015
  1. Update

    Fix the line about the available extensions info
    complex857 committed May 30, 2015
Commits on May 23, 2015
  1. Fix #67

    When brace end pair not found the block removal should use the end of the
    buffer instead of the "0" position returned by searchpairpos()
    complex857 committed May 23, 2015
Commits on May 15, 2015
  1. Add support for line-line docblock typehints for properties

    Adds support for the following style:
        /* @var ClassB */
        private $classb;
    Fixes #65
    complex857 committed May 15, 2015
Commits on Apr 28, 2015
  1. Fix infinite loops in GetClassName

    The plugin was revesing the list inside a "for in" loop iterating on the
    same list, which could cause infinite loops if the reversing happening in
    a "flip-flop" style. Added copy()-s to the offending lines.
    Fixes #64
    complex857 committed Apr 28, 2015
  2. Make in-buffer-class-search less formatting sensitive.

    When searching for a class in the current buffer, the plugin wouldn't find
    a class formatted like "class Foo{" (without whitespace before the "{".
    complex857 committed Apr 28, 2015
Commits on Apr 5, 2015
  1. Add trait support to ExpandClassName()

    The ExpandClassName function was not using the collected imports right when
    a trait was imported.
    complex857 committed Apr 5, 2015
  2. Add support for <?php namespace ... style

    The plugin was not recognizing namespace declaration if it was on the same
    line as the opening <?php tag.
    Laravel - among others - seems to be using this style.
    complex857 committed Apr 5, 2015
  3. Fix infinite loops in GetClassContentsStructure()

    GetClassContentsStructure() function was calling itself infinitely when a
    unlocatable class was being extended.
    Fixes #63
    complex857 committed Apr 5, 2015
Commits on Apr 1, 2015
  1. Fix indenting

    [ci skip]
    complex857 committed Apr 1, 2015
Commits on Mar 30, 2015
  1. Add some smoke tests related to #62

    While the plugin can still be fooled with strings the added test would have
    ran forever without the patch in #62. The same test could be used later
    with the proper values in the assertion to test that if we are matching
    the "class" keyword inside a string or comment or not.
    complex857 committed Mar 30, 2015
Commits on Mar 28, 2015
  1. Minor simplification

    complex857 committed Mar 28, 2015