Dot-notation breaks highlightning
See original GitHub issueDescribe the bug If you place dot inside of line all further highlighting to the end of line will break and text become white
To Reproduce Steps to reproduce the behaviour:
- Download repo: https://github.com/jl0pd/IonideHighlightBug
- Open in VSCode
There is 2 parts in every example. First is right colorization, but splitted into different lines and second as one-liner with white text
Expected behaviour Colorization should not break. Both examples should be colored same way
Seq.map id [1 .. 0]
Seq.map
id
[1 .. 0]
Screenshots
Also there is case when you can completely break colorization
Environment (please complete the following information):
- OS: Windows 10 1909
- Ionide version: 4.17.0
- VSCode version: 1.50.1
- dotnet SDK version: 3.1.403
- mono / .Net Framework version: .Net Framework 4.8 On Linux Mint 20 in VirtualBox with same Ionide/VSCode versions everything is ok
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Correct style for line breaks when chaining methods in ...
The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. Long lines can ...
Read more >Using component dot notation with TypeScript to create a ...
This post will dive into the advantages of using component dot notation, highlight a few gotchas and provide some examples.
Read more >Accessing Arbitrary Paths via String Dot Notation in JavaScript
I'd particularly like to highlight this one. Succint, to-the-point, and that break really helps performance-wise! /** * Co-worker's ...
Read more >Whats happening in xCode when I lose syntax highlighting?
The syntax highlighting is gone and comes back slowly, and sometimes won't come ... I break with a return to a PassOut completion...
Read more >Brand new Syntax - Proposals - TC39
Though, syntax highlighting helps prevent word soupiness in ... to change its syntax like this, because it never does a breaking change.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can’t reproduce it on latest Ionide:
Too bad this is closed. It’s still an issue. Having a dot breaks colorization, unless the invocation is parenthesized:
Interestingly, the issue does not reproduce in “Dark (Visual Studio)” theme that has no semantic colorization: