Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add scaffold completion feature #36

Merged
merged 2 commits into from
May 31, 2022
Merged

Conversation

yaegassy
Copy link
Owner

Description

  • This completion feature will only work on the first line of the file.
  • Typing class_scaffold, interface_scaffold, trait_scaffold or enum_scaffold will output completion suggestions.
  • Inserts a class name based on the file name
  • Inserts a namespace based on the composer configuration
    • No namespace insertion is performed for files for which namespace cannot be resolved

DEMO (mp4)

coc-intelephense-scaffold-completion.mp4

@yaegassy yaegassy merged commit 965dc5b into master May 31, 2022
@yaegassy yaegassy deleted the feat/scaffold-completion branch May 31, 2022 16:51
Sign up for free to 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.

None yet

1 participant