We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a8831 commit 76415efCopy full SHA for 76415ef
src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.ts
@@ -179,9 +179,9 @@ export class InlineCompletionsController extends Disposable {
179
180
if (state.completion.semanticId !== lastInlineCompletionId) {
181
lastInlineCompletionId = state.completion.semanticId;
182
+ const lineText = model.textModel.getLineContent(state.ghostText.lineNumber);
183
this.audioCueService.playAudioCue(AudioCue.inlineSuggestion).then(() => {
184
if (this.editor.getOption(EditorOption.screenReaderAnnounceInlineSuggestion)) {
- const lineText = model.textModel.getLineContent(state.ghostText.lineNumber);
185
alert(state.ghostText.renderForScreenReader(lineText));
186
}
187
});
0 commit comments