Menu

improved PHP5 and SPL auto-completion support

Gromitt
2007-01-07
2012-11-14
  • Gromitt

    Gromitt - 2007-01-07

    In order to (slightly) improve Notepad++ PHP5 and SPL support, copy and paste those lines in your APIs/php.api file (remove comment lines starting with "#") :

    # class and object
    __autocall
    __call
    __clone
    __construct
    __destruct
    __get
    __isset
    __set
    __set_state
    __sleep
    __toString
    __unset
    __wakeup
    clone
    extends
    final
    static

    # exceptions and SPL exceptions
    Exception
    LogicException
    BadFunctionCallException
    BadMethodCallException
    DomainException
    InvalidArgumentException
    LengthException
    OutOfRangeException
    RuntimeException
    OutOfBoundsException
    OverflowException
    RangeException
    UnderflowException
    UnexpectedValueException
    restore_exception_handler
    set_exception_handler

    # hashing
    hash
    hash_algos
    hash_file
    hash_final
    hash_hmac
    hash_hmac_file
    hash_init
    hash_update
    hash_update_file
    hash_update_stream

    # SPL
    AppendIterator
    ArrayAccess
    ArrayIterator
    ArrayObject
    CachingIterator
    Countable
    DbaArray
    DbaReader
    DirectoryIterator
    DualIterator
    EmptyIterator
    FilterIterator
    InfiniteIterator
    Iterator
    IteratorIterator
    LimitIterator
    NoRewindIterator
    OuterIterator
    ParentIterator
    RecursiveArrayIterator
    RecursiveCachingIterator
    RecursiveDirectoryIterator
    RecursiveDualIterator
    RecursiveIterator
    RecursiveIteratorIterator
    RecursiveRegexIterator
    RegexIterator
    SeekableIterator
    SimpleXMLIterator
    SplFileInfo
    SplFileObject
    SplObjectStorage
    SplObserver
    SplSubject
    Traversable
    spl_classes
    spl_autoload
    spl_autoload_unregister
    spl_autoload_register
    spl_autoload_functions
    spl_autoload_extensions
    spl_autoload_call
    iterator_to_array
    iterator_count
    class_parents
    class_implements

    # reflection API
    Reflection
    Reflector
    ReflectionException
    ReflectionFunction
    ReflectionParameter
    ReflectionMethod
    ReflectionClass
    ReflectionObject
    ReflectionProperty
    ReflectionExtension

     
    • Nobody/Anonymous

      How does work the auto-completion with php4 and php5 and later with php6!

      I can't start the auto-completion!

       
    • Nobody/Anonymous

      sometimes I wish a complete translation with all to one language (english, german,french, dutch et. al.) mostly you have both languages english and the second.

       
MongoDB Logo MongoDB