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

Support PHP Twig brackets #248

Closed
jb-lopez opened this issue Sep 13, 2019 · 4 comments
Closed

Support PHP Twig brackets #248

jb-lopez opened this issue Sep 13, 2019 · 4 comments
Labels
feature request In the next release language specific this feature/issue only effect on specific languages

Comments

@jb-lopez
Copy link

The PHP template language Twig is not getting its brackets colored correctly.

Your programming language(s)

Twig

Expected Behavior

The Twig brackets should either be rainbow or should be the default editor color.

Current Behavior

The Twig brackets at all levels are the first rainbow color

Possible Solution

Perhaps the twig brackets can be ignored.

Code snippet for reproduce (for bugs)

Please provide code snippet for reproduce bugs.

{% if foo %}
    {% for bar in foo %}
        {{ bar }}
    {% endfor %}
{% endif %}

image

Your Environment

  • Plugin version: 5.22
  • IDE & Operating System version, comment your env as below(go to "About IntelliJ IDEA" -> click the "copy" icon):
PhpStorm 2019.2.1
Build #PS-192.6262.66, built on August 22, 2019
Licensed to Joshua Lopez
You have a perpetual fallback license for this version
Subscription is active until July 31, 2020
Runtime version: 11.0.3+12-b304.39 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 8.1 6.3
GC: ParNew, ConcurrentMarkSweep
Memory: 2014M
Cores: 4
Registry: run.processes.with.pty=TRUE, ide.editor.tabs.open.at.the.end=true, documentation.show.toolbar=true, debugger.watches.in.variables=false, tabs.alphabetical=true
Non-Bundled Plugins: CMD Support, String Manipulation, com.alayouni.ansiHighlight, com.github.b3er.idea.plugins.arc.browser, com.godwin.json.parser, com.intellij.ideolog, com.tang, in.thekalinga.snippet.intellij, mobi.hsz.idea.gitignore, net.seesharpsoft.intellij.plugins.csv, org.asciidoctor.intellij.asciidoc, org.intellij.RegexpTester, BashSupport, com.jetbrains.php.framework.structure, com.kalessil.phpStorm.phpInspectionsEA, de.espend.idea.php.toolbox, de.espend.idea.php.annotation, net.king2500.plugins.PhpAdvancedAutoComplete, izhangzhihao.rainbow.brackets, com.intellij.plugin.adernov.powershell, fr.adrienbrault.idea.symfony2plugin, org.psliwa.idea.composer, org.toml.lang, org.rust.lang, ru.adelf.idea.dotenv, zielu.gittoolbox
@izhangzhihao izhangzhihao added the language specific this feature/issue only effect on specific languages label Jan 27, 2020
@izhangzhihao izhangzhihao added the waiting for JetBrains this feature/issue depends on JetBrains label Apr 7, 2020
@izhangzhihao
Copy link
Owner

@github-actions

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label Oct 20, 2021
@izhangzhihao izhangzhihao changed the title Colorization is broken on PHP Twig brackets Support PHP Twig brackets Nov 9, 2022
@izhangzhihao
Copy link
Owner

izhangzhihao commented Jan 11, 2023

image

With the Twig plugin installed,

image

image

@izhangzhihao izhangzhihao closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2023
@izhangzhihao izhangzhihao added In the next release and removed waiting for JetBrains this feature/issue depends on JetBrains labels Jan 11, 2023
@izhangzhihao izhangzhihao reopened this Jan 11, 2023
@jb-lopez
Copy link
Author

This works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request In the next release language specific this feature/issue only effect on specific languages
Projects
None yet
Development

No branches or pull requests

2 participants