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

[php] Highlighting of variables in HEREDOC blocks #2855

Closed
blitterobject opened this issue Oct 10, 2014 · 0 comments
Closed

[php] Highlighting of variables in HEREDOC blocks #2855

blitterobject opened this issue Oct 10, 2014 · 0 comments

Comments

@blitterobject
Copy link

Hello,

I'm using Brackets and editing .php files.

I was wondering if variables in HEREDOC blocks could be highlighted in the same way as they are inside double quoted strings.

$x = "world";
print "hello {$x}"; // $x is highlighted here
print <<<HDOC
hello {$x} // $x is not highlighted here
HDOC;

It looks like the variables in double quoted strings was added here:
#2468

There is a note on that page that says "TODO: The same rules of highlighting should apply also php's HEREDOC blocks."

I'm not sure if that is being worked on but it would be a nice feature to have.

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

1 participant