Skip to content

Idea for getting rid of the bundle #2

@bdunogier

Description

@bdunogier

First, thank you very much for your work on this plugin. It's really cool that somebody got this started, and I'm sure we can kick it much, much higher together :-)

I think that we could get rid of the bundle's requirement. It is used as far as I could see to read what's in the repository (fieldtypes, languages...). But there are a couple drawbacks to this approach, among which a requirement of a working container. Configuration mistakes will break the script, unless I'm mistaken, and they're much more common while editing the said config.

But we could do what is done by the PhpStorm Sf2 plugin, and use the compiled container's static file. Of course, this information isn't here yet, but we could quite easily add it with a set of compiler passes.

It would also make it to setup the plugin, as it would work right after download.

Thinking about it, it would also require an extra bundle, unless we manage to find a solution suitable for kernel / native inclusion. If this container data could be used by other components, it would make it much more likely.

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions