Comments (8)
Great catch. Not quite sure how to fix it, yet, as it would require checking if the previous classification span was a preprocessor directive, and want to make sure the check doesn't impact performance negatively.
from viasfora.
I guess this is the same type error but in F#/C#. The \123 is colored incorrectly.
let newLines = System.IO.File.ReadAllLines(@"c:\users\12345678\desktopsmall-new.txt") |> Array.toList
from viasfora.
@fdncred I did not know F# supported @ strings, so that's definitely a bug. I'll fix that one.
However, I would not expect this to be an issue in C#, are you seeing it happening there as well?
from viasfora.
You are correct, sir. This error does not show up in C#.
from viasfora.
There seems to be a bug when interpolated and verbatim symbols are both used for the same string in C#. Although the character after the backslash is not escaped, the coloring suggests it is:
private string Test1 => $@"{foo}\bar";
In this screenshot, Test1 is incorrectly colored, but Test2 and Test3 are correct.
Visual Studio 2017 v15.2 (26430.12)
Viasfora v3.5.139
from viasfora.
@chasingcode Created a separate issue to track this one. Thanks for reporting, interpolated strings give me headaches!
from viasfora.
Thank you for the quick response and making such a helpful extension! It's much appreciated
from viasfora.
@tomasr - Are you still working on proper highlighting for include files in C++? It's pretty annoying.
from viasfora.
Related Issues (20)
- Rainbow lines appear on top of 'peek definition' areas. HOT 1
- Rainbow Braces Colouring Not Working HOT 4
- [Request] Ability to Enable/Disable Plugin features HOT 2
- Request: Colorize Structure guide lines
- Request/Idea: Show the "Fonts and Colors/Display Item" used by the text under the cursor or caret
- Possible memory leak on visual studio 2022 HOT 1
- XML editor extensions doen't work in aspx files
- ips
- Vertical rainbow lines not updating properly in "MultiLineOnly" mode
- Question About Font Family
- 启用插件后异常显示框背景会透明(After enabling the plugin, the background of the exception display box will be transparent) HOT 2
- C++ utf-8 literals makes braces in wrong color HOT 1
- C# 11 Raw String Literals break coloring HOT 1
- Custom keywords HOT 2
- colorizing angle brackets are not supported. HOT 1
- Usage of deprecated IQuickInfoBroker causes VS hangs HOT 2
- Coloring breaks after using interpolation HOT 3
- Not working in VS2022 17.9.2 HOT 4
- Raw String Literals with " inside break colorization
- Interpolated raw string literals break colorization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viasfora.