-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
add debug console accessible view #221398
Conversation
Co-authored-by: Connor Peet <connor@peet.io>
src/vs/workbench/contrib/comments/browser/commentsAccessibleView.ts
Outdated
Show resolved
Hide resolved
src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
cc @roblourens |
let line = 0; | ||
const content: string[] = []; | ||
for (const e of elements) { | ||
content.push(e.toString().replace(/\n/g, '')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to escape the newline rather than remove it, so they know there was a newline here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure an empty line is useful to know about. It was messing up the line numbers. We'll see what testers and users say
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can keep it a single line, I mean printing a\nb
instead of ab
which is deleting information
@@ -639,7 +656,7 @@ export class Repl extends FilterViewPane implements IHistoryNavigationWidget { | |||
new ReplRawObjectsRenderer(linkDetector, this.hoverService), | |||
], | |||
// https://github.com/microsoft/TypeScript/issues/32526 | |||
new ReplDataSource() satisfies IAsyncDataSource<IDebugSession, IReplElement>, | |||
this.replDataSource, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment is now obsolete
fixes #213413
Remaining work to tackle in different PR / seeking feedback from users:
debug.autoExpandLazyVariables
for screen reader users by default