8000 variables from controller are not autocompleted in twig view · Issue #633 · Haehnchen/idea-php-symfony2-plugin · GitHub
[go: up one dir, main page]

Skip to content
variables from controller are not autocompleted in twig view #633
@remmel

Description

@remmel

Hello,

Autocompletion on variables added by controller doesn't seems to work.

Eg, when I have the following controller :

    /**
     * @Route("/")
     * @Template("AppBundle:search.html.twig")
     */
    public function train(Request $request) {
        $user = new User();
        return [
            'varOne' => 1,
            'varTwo' => 2,
            'varThree' => 3,
            'user' => $user
        ];
    }

I'm expecting having autocompletion in the search.html.twig file typing:
{{varCURSOR_HERE_AND_CTRL_SPACE**}}** or {{user.CURSOR_HERE_AND_CTRL_SPACE}}

Thanks,

Rémy

PhpStorm 10.0.1
Symfony2 plugin 0.11.104

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0