Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpellChecker sample no longer works in Visual Studio 2022 #293

Open
RichieHindle opened this issue Nov 1, 2024 · 1 comment
Open

SpellChecker sample no longer works in Visual Studio 2022 #293

RichieHindle opened this issue Nov 1, 2024 · 1 comment

Comments

@RichieHindle
Copy link

The SpellChecker sample no longer works in Visual Studio 2022 (17.11.5 at the time of writing).

In DoUpdate(), the call to _classifier.GetClassificationSpans() always returns an empty collection, so no comments are found.

I publish a commercial Visual Studio extension that uses similar code, and that no longer works either. How can this code be modified to work with the current VS 2022? Thanks!

@RichieHindle
Copy link
Author

Notes:

  • To get the sample to load into VS2022, you need to change the version numbers in the manifest from [...,16...) to [..., 18...).
  • There's an error when you build the extension, but you still get a valid VSIX file that successfully installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant