Skip to content

OnEnterRule#oneLineAboveText #58440

@jrieken

Description

@jrieken

Via #51557 a new API sneaked in and it should go the normal API way. https://github.com/Microsoft/vscode/blob/9982055873dd8d883ece2d74a703000d02e13619/src/vs/vscode.d.ts#L3741-L3744

API proposal:

export interface OnEnterRule {
	/**
	 * This rule will only execute if the text above the this line matches this regular expression.
	 */
	previousLineText?: RegExp;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions