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

Autocompletion in Flex config/packages directory? #1344

Open
nickygerritsen opened this issue Jul 24, 2019 · 2 comments
Open

Autocompletion in Flex config/packages directory? #1344

nickygerritsen opened this issue Jul 24, 2019 · 2 comments

Comments

@nickygerritsen
Copy link

It seems currently there is no code completion in the YAML files inside /config/packages for Symfony Flex projects, while there was completion in the config.yml before.

Is it possible to get completion in Flex config files? I tried looking at the code but couldn't easily figure out how it determines where to add the completion.

Haehnchen added a commit that referenced this issue Jul 24, 2019
…ern for possible empty file of config file detection #1344
Haehnchen added a commit that referenced this issue Jul 24, 2019
support new node tree structure of Symfony configuration and fix pattern for possible empty file of config file detection #1344
@nickygerritsen
Copy link
Author

@Haehnchen I saw you pushed a new version.
It seems to partially work, but not entirely.

I do get the "Symfony icon" on root elements in my configs, but no autocompletion in subitems:
image

I tried in in several files, i.e. twig.yaml, doctrine.yaml and framework.yaml.

I think in the past we did get completion for subitems, right?

@DeH4eG
Copy link

DeH4eG commented Jun 30, 2022

Hello,

Are there any updates? As i am running PhpStorm 2022.1.3 on Ubuntu with Symfony Support plugin 2022.1.230 and autocomplete still doesn't work. I've also tried:

Autocomplete (or something else) is not working! Help!

  • You usually need to trigger the autocomplete popup yourself, by pressing CTRL+SPACE (may be a different shortcut depending on your keymap).
  • Check your File -> Settings -> Languages & Framework -> PHP -> Symfony -> Enable Plugin for this Project

Thank you

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

No branches or pull requests

2 participants