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

Plugin creates issues in .php files when PHP is mixed with HTML #159

Open
manweCZ opened this issue Mar 12, 2021 · 2 comments
Open

Plugin creates issues in .php files when PHP is mixed with HTML #159

manweCZ opened this issue Mar 12, 2021 · 2 comments
Labels

Comments

@manweCZ
Copy link

manweCZ commented Mar 12, 2021

Describe the bug
When active, plugin messes up syntax highlighting for .php files, when mix of PHP and HTML is present.
See screenshots.

Environment (please complete the following information):

  • PhpStorm version - 2020.3.2
  • Plugin version 1.1.2-RC1

Screenshots
https://i.imgur.com/bQv5C4L.png

BEFORE plugin activation: https://i.imgur.com/xwEvNC4.png
AFTER plugin activation: https://i.imgur.com/yJ797ZR.png

@mesour mesour added the bug label Mar 14, 2021
@mesour
Copy link
Collaborator

mesour commented May 16, 2021

@manweCZ can you attach code that cause this? I don't need the whole template, just the piece that does it.

@manweCZ
Copy link
Author

manweCZ commented May 24, 2021

@mesour not sure what exactly are you asking for - any mix of PHP and HTML does this for me. I can provide a sample file if you want to :)
I think the easiest fix would be to ignore files without .latte extension?

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

2 participants