File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/vs/editor/contrib/suggest/browser Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -246,14 +246,9 @@ export class SuggestController implements IEditorContribution {
246
246
247
247
let noFocus = false ;
248
248
if ( e . triggerOptions . auto ) {
249
- // don't "focus" item when configured to do so or when in snippet mode (and configured to do so)
249
+ // don't "focus" item when configured to do
250
250
const options = this . editor . getOption ( EditorOption . suggest ) ;
251
-
252
- if ( options . snippetsPreventQuickSuggestions && SnippetController2 . get ( this . editor ) ?. isInSnippet ( ) ) {
253
- // SPECIAL: in snippet mode, we never focus unless the user wants to
254
- noFocus = true ;
255
-
256
- } else if ( options . selectionMode === 'never' || options . selectionMode === 'always' ) {
251
+ if ( options . selectionMode === 'never' || options . selectionMode === 'always' ) {
257
252
// simple: always or never
258
253
noFocus = options . selectionMode === 'never' ;
259
254
You can’t perform that action at this time.
0 commit comments