phpinspect
- Description
- PHP parsing and code intelligence package
- Latest
- phpinspect-2.1.0.tar (.sig), 2024-Sep-14, 1.28 MiB
- Maintainer
- Hugo Thunnissen <[email protected]>
- Website
- https://github.com/hugot/phpinspect.el
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
PHPInspect is a minor mode that provides code intelligence for PHP in Emacs. At its core is a PHP parser implemented in Emacs Lisp. PHPInspect comes with backends for `completion-at-point`, `company-mode` and `eldoc`. A backend for `xref` (which provides go-to-definition functionality) is planned to be implemented at a later date. See docstrings for elaborate documentation on how to use the mode, starting with `phpinspect-mode'. Also see M-x customize-group RET phpinspect RET.
Old versions
phpinspect-2.0.1.tar.lz | 2024-Sep-02 | 160 KiB |
phpinspect-2.0.0.tar.lz | 2024-Aug-31 | 160 KiB |
phpinspect-1.2.0.tar.lz | 2024-Aug-23 | 151 KiB |
phpinspect-1.1.0.tar.lz | 2024-Aug-21 | 150 KiB |
phpinspect-1.tar.lz | 2024-Aug-21 | 150 KiB |
News
Version 2.1.0 - Implemented basic support for completion of keywords and type names - Made completion of function names, type names and keywords context-aware so that the provided completions are relevant at point. - Implemented interactive function to insert type names and automatically import them when necessary, called `phpinspect-insert-type'. - Fixed end-of-buffer error bugs in parsing of comments - Fixed bug in `phpinspect-suggest-variables-at-point' which caused local "foreach" variables to not be suggested. - Fixed infinite recursion bug caused by typedef dependent on itself (only occured when the type definition could not be found via the autoloader) - Made incremental parser more reliable by not adopting incomplete tokens into new tree. - Increased overall test coverage of phpinspect-suggest.el and phpinspect-completion.el Version 2.0.1 - Fixed bug in `phpinspect-fix-imports' that caused it to not function properly for types used in within classes. Version 2.0.0 - Implemented support for traits - Implemented more accurate/nuanced in-memory representation of types and inherited properties/methods. `phpinspect--class' has been removed and replaced with `phpinspect-typedef', the the function prefix of which is "phpi-typedef-". This change is backwards-incompatible due to various name changes, refactorings and function/type removals. - Improved completion performance by re-using completion lists when possible. - Introduced new customizable variable: `phpinspect-imports-remove-unused', which enables/disables this behaviour for `phpinspect-fix-imports'. The default is disabled (nil). - Increased test coverage for the parser and fixed various bugs discovered in the process. Version 1.2.0 - Fixed bug in the resolving of function call return types. - Implemented parsing of string concatenation tokens (.), allowing a more accurate determination of the statement to provide information about. (read: "\'a string\' . $foo->" now actually yields completion results instead of failing).