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

Twig path directory separator must be "\" to be clickable #995

Closed
kroshp opened this issue Aug 9, 2017 · 3 comments
Closed

Twig path directory separator must be "\" to be clickable #995

kroshp opened this issue Aug 9, 2017 · 3 comments
Labels

Comments

@kroshp
Copy link

kroshp commented Aug 9, 2017

Inside twig template:

This path is not clickable:
{{ render(controller('Vendor:Folder/Controller:action')) }}

This path is clickable:
{{ render(controller('Vendor:Folder\Controller:action')) }}

Env:
PhpStorm 2017.2.1
Build #PS-172.3544.41, built on August 2, 2017
JRE: 1.8.0_152-release-915-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Symfony plugin Version: 0.14.150

@stof
Copy link
Contributor

stof commented Aug 21, 2017

well, the second one is the right path anyway. Namespace separators are \ in PHP, not /

Haehnchen added a commit that referenced this issue Aug 22, 2017
…ted code Twig path directory separator must be "\" to be clickable #995
Haehnchen added a commit that referenced this issue Aug 22, 2017
…ted code Twig path directory separator must be "\" to be clickable #995
Haehnchen added a commit that referenced this issue Aug 22, 2017
…ted code Twig path directory separator must be "\" to be clickable #995
Haehnchen added a commit that referenced this issue Aug 22, 2017
…ted code Twig path directory separator must be "\" to be clickable #995
@Haehnchen
Copy link
Owner

both is supported now and tested but PHP namespace still wins for completion

@Haehnchen
Copy link
Owner

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants