We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 880d07e + 661eb1d commit 28e47feCopy full SHA for 28e47fe
src/xaml/language-configuration.json
@@ -55,5 +55,20 @@
55
},
56
"wordPattern": {
57
"pattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)"
58
- }
+ },
59
+ "onEnterRules": [
60
+ {
61
+ "beforeText": "^\\s*(<([A-Za-z0-9_.-]+)([^/>]*(?!/)>)[^<]*)(?!.*<\\/\\2>)$",
62
+ "afterText": "^\\s*<\\/([A-Za-z0-9_.-]+)[^>]*>$",
63
+ "action": {
64
+ "indent": "indentOutdent"
65
+ }
66
67
68
+ "beforeText": "^\\s*(<([A-Za-z0-9_.-]+)[^</]*)$",
69
70
+ "indent": "indent"
71
72
73
+ ]
74
}
0 commit comments