Trying to create a SSMS extension for autocomplete...

Maximiliano Schmidt 0 Reputation points
2025-10-29T20:31:49.7766667+00:00

Hi everyone,

I’m building an SSMS extension to provide a custom autocomplete experience, beyond the built-in IntelliSense.

What I’m aiming for

  • Offer multiple completion options.

Allow refreshing/changing the suggestion sources via toolbar/menu commands.

What I have so far

The package loads and my toolbar/menu commands work (used to refresh/change options).

The “IntelliSense” part never triggers.

What I tried

Implemented completion via IAsyncCompletionSourceProvider.

Also tried a key-handling approach with IKeyProcessorProvider.

In both cases, the completion list does not appear in the SSMS editor.

Questions

Is IntelliSense extensibility currently supported in SSMS for third-party extensions, and if so, which editor APIs are the right ones to use in SSMS (vs. Visual Studio proper)?

Does the Async Completion API work in recent SSMS builds, or should I rely on a different interface?

Are there known limitations or required registrations (MEF exports, content types, roles) specific to SSMS to make completion trigger?

If helpful, I can share a minimal repro project. Any pointers or examples specific to SSMS would be greatly appreciated. Thanks in advance!

SQL Server | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 127.7K Reputation points MVP Volunteer Moderator
    2025-10-30T21:49:41.11+00:00

    While not really a enhancement request or a bug report, a better place to post might be https://developercommunity.visualstudio.com/SSMS. This is the SSMS people hang out, and maybe someone will have the time to guide you.

    I think your question is a little too specialised for this more general forum.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.