Skip to content

Add a editor.action.insertFinalNewLine command #241075

@SunsetTechuila

Description

@SunsetTechuila

There is already the editor.action.trimTrailingWhitespace command, which can be used with the parameter reason: 'auto-save' to trim trailing whitespace without moving the cursor position. Same thing for inserting final newline would be very useful.

Would allow to properly fix editorconfig/editorconfig-vscode#330

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions