Skip to content

Conversation

@zonuexe
Copy link
Member

@zonuexezonuexe commented Sep 19, 2022

Concept

php-complete is PHP Mode's bundled autocomplete. This function is implemented as a CAPF based on Cape. It works as Emacs' built-in completion mechanism, but Corfu upgrades it to a modern interface with popups.

How to use

This feature is not enabled by default.

(defunmy-php-mode-setup () (setq-local completion-at-point-functions (append (list#'php-complete-complete-function) ;; (list (cape-company-to-capf #'company-phpactor)) completion-at-point-functions)) (add-hook'php-mode-hook#'my-php-mode-setup)

You can execute it directly by M-x php-complete-complete-function.

スクリーンショット 2022-10-02 11 36 23

@zonuexezonuexeforce-pushed the feature/php-completion branch 3 times, most recently from 862c2de to 129ab9dCompareSeptember 19, 2022 01:41
@zonuexezonuexeforce-pushed the feature/php-completion branch 4 times, most recently from 4202947 to eadb030CompareSeptember 21, 2022 16:11
@zonuexezonuexeforce-pushed the feature/php-completion branch from eadb030 to 12cf8e2CompareOctober 2, 2022 01:24
@zonuexezonuexeforce-pushed the feature/php-completion branch from 12cf8e2 to 8366639CompareOctober 2, 2022 02:34
@zonuexezonuexe merged commit 7e4905a into masterOct 2, 2022
@zonuexezonuexe deleted the feature/php-completion branch October 2, 2022 03:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@zonuexe