question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Round Brackets Always the same color in C# (Rider)

See original GitHub issue

Please check

  • I already support this project.
  • If you are submitting a feature request, please do consider buy this plugin here or donating us on Open Collective Or by AliPay/WeChatPay.
  • This issue/feature request is not reported before.

Your programming languages

C#

Expected Behavior

When I open new round Brackets in existing round Brackets they should have a different color.

Current Behavior

All Round Brackets have the same color, and it doesn’t matter which level they have.

Possible Solution

/

Code snippet for reproduce (for bugs)

image

Your Environment

  • Plugin version: 2022.3.5
  • IDE & Operating System version, comment your env as below(go to “About IntelliJ IDEA” -> click the “copy” icon):
JetBrains Rider 2022.3
Build #RD-223.7571.232, built on December 5, 2022
Licensed to M. D.
Subscription is active until January 6, 2023.
Evaluation purpose only.
Runtime version: 17.0.5+1-b653.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
.NET 7.0.0 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 16
Registry:
    debugger.new.tool.window.layout=false
    platform.projectModel.workspace.model.file.index=false
    ide.new.project.model.index.case.sensitivity=true
    database.show.search.tab=false
    indexing.enable.entity.provider.based.indexing=false
    vcs.empty.toolwindow.show=false
    rdclient.asyncActions=false
    ide.workspace.model.rbs.as.tree=false

Non-Bundled Plugins:
    lermitage.intellij.extratci (1.24.0)
    com.intellij.resharper.HeapAllocationsViewer (2022.3.0-eap04)
    com.kagof.pokeprogress (2.1.1)
    cognitivecomplexity-rider (2022.3.0-eap04)
    Key Promoter X (2022.3)
    com.intellij.resharper.StructuredLogging (2022.3.0.276-eap07)
    com.mallowigi.colorHighlighter (14.0.0)
    aws.toolkit (1.55-223)
    izhangzhihao.rainbow.brackets (2022.3.5)

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
izhangzhihaocommented, Dec 11, 2022

Hi @hwooo I created #2570 for your request~

0reactions
izhangzhihaocommented, Dec 14, 2022

a workaround for this issue, use ctrl-a and ctrl-x to cut all content from the current file and restore all content to the file again using ctrl-v, and all seems to look fine.

to repeat this issue, just close and re-open ide and start editing the file.

I think this is caused by the non-deterministic of the parser, I will report an issue on YouTrack(https://youtrack.jetbrains.com/) later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · izhangzhihao/intellij-rainbow-brackets - GitHub
Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio - Issues ... Round Brackets Always the same color in C# (Rider) bug?
Read more >
Adding color to bracket pairs - Visual Studio Blog
I'd want to enable colorization for parentheses but not others. Curly braces are generally well formatted and aligned, while nested parentheses ...
Read more >
Highlighting of matching code elements - JetBrains Rider
Any opening parenthesis, bracket, brace or quote (altogether called "delimiters") can be highlighted with color or outline whenever you place the caret at ......
Read more >
Bracket pair colorization 10000x faster - Visual Studio Code
The challenge of bracket pair colorization. Bracket pair colorization is all about quickly determining all brackets and their (absolute) ...
Read more >
How do I change matching brackets color's highlighting in ...
Settings (Preferences on macOS) | Editor | Color Scheme | General | Code | Matched brace works fine here. Make sure to change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found