/
OnEnterRule.yml
50 lines (50 loc) · 1.41 KB
/
OnEnterRule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
### YamlMime:TSType
name: OnEnterRule
uid: azure-devops-extension-api.OnEnterRule
package: azure-devops-extension-api
summary: Describes a rule to be evaluated when pressing Enter.
fullName: OnEnterRule
remarks: ''
isDeprecated: false
type: interface
properties:
- name: action
uid: azure-devops-extension-api.OnEnterRule.action
package: azure-devops-extension-api
summary: The action to execute.
fullName: action
remarks: ''
isDeprecated: false
syntax:
content: 'action: EnterAction'
return:
description: ''
type: <xref uid="azure-devops-extension-api.EnterAction" />
- name: afterText
uid: azure-devops-extension-api.OnEnterRule.afterText
package: azure-devops-extension-api
summary: >-
This rule will only execute if the text after the cursor matches this
regular expression.
fullName: afterText
remarks: ''
isDeprecated: false
syntax:
content: 'afterText?: RegExp'
return:
description: ''
type: RegExp
- name: beforeText
uid: azure-devops-extension-api.OnEnterRule.beforeText
package: azure-devops-extension-api
summary: >-
This rule will only execute if the text before the cursor matches this
regular expression.
fullName: beforeText
remarks: ''
isDeprecated: false
syntax:
content: 'beforeText: RegExp'
return:
description: ''
type: RegExp