Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OnEnterRule

Describes a rule to be evaluated when pressing Enter.

层级

  • OnEnterRule

索引

Properties(4)

beforeText

beforeText: RegExp

This rule will only execute if the text before the cursor matches this regular expression.

Optional afterText

afterText: RegExp

This rule will only execute if the text after the cursor matches this regular expression.

Optional previousLineText

previousLineText: RegExp

This rule will only execute if the text above the current line matches this regular expression.

action

action: EnterAction

The action to execute.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc | 站长统计