Coder Social home page Coder Social logo

Comments (12)

olegtk avatar olegtk commented on May 27, 2024 2

I have a fix for CopyAsHTML, will push an update soon.
The root cause turned to be this change in Roslyn behavior: https://developercommunity.visualstudio.com/t/ITagAggregatorIClassificationTag-no-lo/10595181

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024 1

ping

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024

Here's another observation: The setting UnindentToRemoveExtraLeadingWhitespace is set to True, which I believe is the default. This setting, however, is not consistently applied.

Here's what I highlight:
image
Here's what I get:

        double value1 = 100.00D;
double value2 = 15.99D;
double result = client.Add(value1, value2);

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024

I've managed to reset the extension to use default values (i.e. defaults for BeforeCodeSnippet and AfterCodeSnippet), but that doesn't help.

from vs-ppt.

BertanAygun avatar BertanAygun commented on May 27, 2024

Hi @ploeh, can you confirm if you have this option enabled:

We added support for accurate classification for more accurate colors based on Tools -> Options -> Text Editor -> Advanced -> "Use accurate classifier" setting. Please note that copy operations can be slower when this setting is enabled.

Thanks,
Bertan

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024

It's getting late here in Copenhagen, so it's possible that I'm just too tired, but where do I find that setting?

image

from vs-ppt.

BertanAygun avatar BertanAygun commented on May 27, 2024

I also just realized that setting no longer exists in product so I will have to investigate and reply back here.

Thanks,
Bertan

from vs-ppt.

olegtk avatar olegtk commented on May 27, 2024

"Use accurate classifier" setting was really bad perf-wise in general case and was removed in 17.9. I suggest either just make CopyAsHTML always call accurate classifier or introduce it's own CopyAsHTML-specific option to control whether to use accurate classification, and make it default.

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024

I have a fix for CopyAsHTML, will push an update soon.

Looking forward to it!

The root cause turned to be this change in Roslyn behavior: https://developercommunity.visualstudio.com/t/ITagAggregatorIClassificationTag-no-lo/10595181

Ooh, a breaking change in a Microsoft product!

from vs-ppt.

ploeh avatar ploeh commented on May 27, 2024

Any news on when we can expect the update?

from vs-ppt.

iccfish avatar iccfish commented on May 27, 2024

Seems this extension out of maintenance?

from vs-ppt.

heiligerdankgesang avatar heiligerdankgesang commented on May 27, 2024

Thanks for following up, folks. While we do have a fix, there’s some additional work that needs to be completed before we can update the extension with the fix and make it available for use. We don’t yet have a timeline for release, but please keep an eye on this issue for further updates.

from vs-ppt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.