Open clairernovotny opened 5 years ago
This makes Visual Studio very sad. -> is a very common symbol in C++, and I don't get pretty arrows for it.
I've tracked this bug through various different platforms now, and it would be really great if it could get fixed. It's a small thing, but it would make everyone's programming life a little more fun.
Problem persists in Visual Studio 2019.1
in vs2017 too, but not in vs code
I suspect there's something wrong in TextItemizer that it breaks out hyphens (-
) as individual run.
I understand this originally was probably by design, but considering that hyphen based ligatures are a desired feature in some fonts, that original "by design" is not appropriate anymore and needs to be revisited. I would have contributed by researching the implementation and proposing a fix, but considering the text engine is going to stay closed source this really needs to be done by MS.
~Windows Terminal, VS Code and JetBrains all render the text better than Visual Studio, which uses the WPF renderer. Text rendered by WPF is less crisp than other technologies; horizontal lines are thinner, and vertical lines are thicker.~
~I heard that WPF used by Visual Studio uses ~2010 version of DWrite, and there was no demand to update the version of WPF used in .NET Framework. I would like this comment to serve as proof of demand for a fix on behalf of Visual Studio Editor's users and developers.~
~Some of the user feedback: https://www.reddit.com/r/VisualStudio/comments/ev5b2u/is_there_an_editor_text_readability_fix_already/ https://developercommunity.visualstudio.com/content/problem/44061/some-programming-ligatures-do-not-work.html https://developercommunity.visualstudio.com/content/problem/899361/editor-readability.html?childToView=904574#comment-904574~
Edit: I moved the previous comment to appropriate location: #2025
Just to be clear, the last two comments are off-topic and have nothing to do with hyphen-based ligatures (which is what this issue is about). The text layouting is unrelated to the font rendering.
Thanks for clarification @weltkante. I thought that setting layout and rendering are handled in the same piece of code. I will move my comments to #2025
Now both are closed. I think one should stay open, or not?
Any progress on this issue?
Given Visual Studio .Net Core is open source.. is it possible to get into the source code and find and fix the bug for them and submit a pull request? Particularly if it's a WPF bug, seems like it might be possible.
Neither Visual Studio is open source, nor the part of WPF that does text processing. I already mentioned this above, Microsoft has to fix this bug, the community cannot help.
Any progress ?
Any progress ?
Obviously not. WPF might be open source but repo got owned by WinUI team and they don't know much about C# or WPF. For new features only chance is a community pull request. And the last pull request which added a new feature was ignored for months, then closed without merging.
Any progress ?
Obviously not. WPF might be open source but repo got owned by WinUI team and they don't know much about C# or WPF. For new features only chance is a community pull request. And the last pull request which added a new feature was ignored for months, then closed without merging.
thank u for your reply. there is no hope . ms does not care about it.
I've mentioned it in VS2022 YouTube Chat, and they reacted to the comment: https://www.youtube.com/watch?v=lsInDJdx6As
I've mentioned it in VS2022 YouTube Chat, and they reacted to the comment: https://www.youtube.com/watch?v=lsInDJdx6As
Its at 22:14 btw for the benefit of everyone
Status update, this is still an issue. Is there any plan to fix this issue?
three years passed...
See tonsky/FiraCode#259 for the full issue description.
Would be good to get this fixed for .NET Core 3.
.NET 6 released...
Can you please fix this? Its been on the bug list for years (literaly).
Sup?
I agree. It's time to fix this. What's so special about hyphens anyways?
What's so special about hyphens anyways?
They take part in word breaking / line wrapping so probably have special code handling them that didn't have ligatures in mind when being written. Unfortunately its in a closed source blob thats linked into WPF, so I can just guess.
Would be good to get this fixed for .NET Core 3.
3 years later, .NET 7 is on the horizon and this remains unfixed.
See tonsky/FiraCode#259 for the full issue description.
Would be good to get this fixed for .NET Core 3.
I am not sure wether it is fixed or not in .NET Core 3, but Visual Studio seems to use .Net Framework 4.8?
This is still broken in the latest version (16.11.15) of VS2019
STILL BROKEN!!!
And in Version 17.4.0 Preview 1.0 still broken too.
still broken :(
Still Broken as of 17.4.0 released 11/9/2022
Still broken....
Still broken >:(
Still broken in 17.5.0
@pchaurasia14 @stephentoub @clairernovotny There hasn't been any meaningful discussion in about a year, and I'm guessing that won't change until someone with the right credentials works on a solution. Please lock this thread until then to prevent further spamming, thank you.
I disagree. Closing this thread won't help with getting the problem fixed. Anyone who doesn't want "spam" can unsubscribe from this thread.
If anything, "spamming" is the only way people can express their interest in this problem.
Still broken! How can you not cope with the arrow in 5 years? I send greetings to everyone who will face this problem in 2030, come here and see the lack of progress.
Joining the fray.
Joining the Line
getting the popcorn and sitting at the corner of the room to watch the lack of progress happening in real time. Kudos to you in 2030 for checking if this has finally been fixed.
I'm calling it now, GTA 6 will be released before this issue gets fixed.
better support for ligatures in general would be good, the newly released Monaspace from MS themselves doesn't seem to really work in Visual Studio.
Wow, this issue is several years old! The installation of Monaspace and the following failure to show the hypen based ligatures is what brought me here. I suppose in the grand scheme of things, this is a minor issue. I won't be hard on the VS devs for this. But if this ever does get fixed, I'll be very happy!
Visual Studio 17.8.1 still has this issue 😭
Its kind of ridiculous that this is still an issue. It has been several years now.
Please fix
Visual Studio 17.8.4 , such a time-honored issue.
See https://github.com/tonsky/FiraCode/issues/259 for the full issue description.
Would be good to get this fixed for .NET Core 3.