Skip to content

Conversation

@sbatten
Copy link
Member

@sbatten sbatten commented Feb 19, 2019

replaces #65529
fixes #54349

@sbatten sbatten requested a review from bpasero February 19, 2019 11:09
@sbatten sbatten self-assigned this Feb 19, 2019
@sbatten sbatten added this to the February 2019 milestone Feb 19, 2019
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

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

As discussed, I suggest to rather introduce a IAccessibilityService and not use "throw Error" for conditional programming. I would also throw in the functionality of getAccessibilitySupport and onDidChangeAccessibilitySupport

@sbatten sbatten changed the title new reg service and always on mnemonics New Accessibility Service depending on new native node module Feb 20, 2019
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

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

@sbatten I like this. I will add @alexandrudima as reviewer given the changes for the standalone editor.

"vscode-ripgrep": "^1.2.5",
"vscode-sqlite3": "4.0.7",
"vscode-textmate": "^4.0.1",
"vscode-windows-registry": "^1.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

@sbatten should this move into optionalDependencies?

@bpasero bpasero requested a review from alexdima February 21, 2019 07:20
@bpasero
Copy link
Member

bpasero commented Feb 21, 2019

Maybe one thing to test is the performance impact of accessing the windows registry on startup. @alexandrudima are we already doing this on Windows for keybindings? Do we have an idea about the timing?

@bpasero
Copy link
Member

bpasero commented Feb 21, 2019

@sbatten would be great if you could also try to use registerSingleton and move the service out of workbench + have it as lazy service (see bulk edit service as example).

Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

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

👍 Cool! Thanks for remembering to define a service for the standalone editor

@alexdima
Copy link
Member

@bpasero Yeah, we are going into node-native-keymap on startup and I think that ends up calling that. AFAIK the Windows registry is very very fast, but perhaps the native call overhead is noticeable, I haven't checked...

@sbatten sbatten merged commit c00e225 into master Feb 21, 2019
@sbatten sbatten deleted the alwaysOnMnemonics branch February 21, 2019 10:10
sandy081 pushed a commit to vldmrkl/vscode that referenced this pull request Feb 22, 2019
…oft#68973)

* new reg service and always on mnemonics

* missed one

* use new node module and accessibility service

* add typings

* adopt accessibility service

* make it lazy
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access keys not working as expected with custom titleBarStyle

4 participants