Skip to content

Commit 2e5c2ed

Browse files
committed
reverting changes to allow code actions on empty lines
1 parent 6d33f51 commit 2e5c2ed

File tree

1 file changed

+0
-5
lines changed
  • src/vs/editor/contrib/codeAction/common

1 file changed

+0
-5
lines changed

src/vs/editor/contrib/codeAction/common/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ export function filtersAction(filter: CodeActionFilter, action: languages.CodeAc
127127
}
128128
}
129129

130-
// On empty lines and selections, show only code AI code actions
131-
if (rangeOrSelection.isEmpty() && model.getLineContent(rangeOrSelection.startLineNumber).length === 0) {
132-
return !!action.isAI;
133-
}
134-
135130
return true;
136131
}
137132

0 commit comments

Comments
 (0)