You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Hugo Thunnissen 8d3bd21015 Add license information 3 years ago
COPYING Add license information 3 years ago
README.md Initial commit: Move out of personal dotfile repository. 3 years ago
phpinspect-index.bash Truncate "uses_own" index file before filling the index 3 years ago
phpinspect.el Add license information 3 years ago

README.md

phpinspect.el

WIP. Documentation is in the making.

Example config:

;;;###autoload
(defun my-php-personal-hook ()
  (set (make-local-variable 'company-minimum-prefix-length) 0)
  (set (make-local-variable 'company-tooltip-align-annotations) t)
  (set (make-local-variable 'company-idle-delay) 0.1)
  (set (make-local-variable 'company-backends) '(phpinspect-company-backend))

  ;; Shortcut to add use statements for classes you use.
  (define-key php-mode-map (kbd "C-c u") 'phpinspect-fix-uses-interactive)
  
  ;; Shortcuts to quickly search/open files of PHP classes.
  (global-set-key (kbd "C-c a") 'phpinspect-find-class-file)
  (global-set-key (kbd "C-c c") 'phpinspect-find-own-class-file)

  (phpinspect-mode))
  
  (add-hook 'php-mode-hook 'my-php-personal-hook)