Skip to content

Commit

Permalink
reverting changes to allow code actions on empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
justschen committed Dec 5, 2023
1 parent 6d33f51 commit 2e5c2ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vs/editor/contrib/codeAction/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ export function filtersAction(filter: CodeActionFilter, action: languages.CodeAc
}
}

// On empty lines and selections, show only code AI code actions
if (rangeOrSelection.isEmpty() && model.getLineContent(rangeOrSelection.startLineNumber).length === 0) {
return !!action.isAI;
}

return true;
}

Expand Down

0 comments on commit 2e5c2ed

Please # to comment.