Skip to content

Support auto complete IntelliSense in SSMS and Visual Studio 2017#11421

Merged
feerrenrut merged 4 commits into
nvaccess:masterfrom
LeonarddeR:ssms
Sep 11, 2020
Merged

Support auto complete IntelliSense in SSMS and Visual Studio 2017#11421
feerrenrut merged 4 commits into
nvaccess:masterfrom
LeonarddeR:ssms

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Related to #7504

Summary of the issue:

In Microsoft SQL Server Management Studio, IntelliSense does not work.

Description of how this pull request fixes the issue:

I implemented support for IntelliSense using the UIA Element Selected event. In the past this was very slow, but with selective UIA event registration enabled, this works pretty nice. Having said that, even without selective registration enabled it at least reads results, though with somewhat more delay.

Testing performed:

Tested auto complete IntelliSense in SSMS 18. SSMS 18 has the same Accessibility backend as Visual Studio 2017, so it should also work there. I'm not sure whether VS2017 is still used somewhere though, probably in some corporate environments.
I can also provide an implementation based on an app module.

Known issues with pull request:

Not tested with Visual Studio 2017. May be @Luke-Robinett is interested? Otherwise we can also consider making this SSMS specific.

Change log entry:

@LeonarddeR LeonarddeR requested a review from feerrenrut August 11, 2020 11:57
Comment thread source/NVDAObjects/UIA/VisualStudio.py

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this for NVDA 2020.4
I'll merge this once we branch off for the 2020.3 beta.

feerrenrut
feerrenrut previously approved these changes Aug 13, 2020

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant to approve, same comment:

I'm ok with this for NVDA 2020.4
I'll merge this once we branch off for the 2020.3 beta.

@feerrenrut feerrenrut merged commit 8c37745 into nvaccess:master Sep 11, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Sep 11, 2020
@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

It turns out that this pr yet touches some areas of Visual Studio 2019. Accessibility implementations are differing when using C++ or C# code, which is pretty confusing.
I think I will try to come up with something that silences the intellisense live region and rely on menu items for VS2019 as well.

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

Successfully merging this pull request may close these issues.

3 participants