Skip to content

Support absolute paths in the ide-twig.json #2411

Open
@m-vo

Description

@m-vo

In Contao CMS we are dumping an auto-generated ide-twig.json file into a sub directory of <project>/var, so that developers get code completion for our dynamic template namespaces. This works nicely if the directory is not ignored in PHPStorm (which it is by default).

To work around this, it would be nice if we could create a symlink to this auto-generated ide-twig.json file from somewhere in the project root (or let the users do it). But unfortunately this won't work, because the relative paths would then (very likely) point to the wrong directories.

Would it be possible to also support absolute paths in the ide-twig.json file?

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