Skip to content

Commit 8f0cc8e

Browse files
Initial commit.
0 parents  commit 8f0cc8e

10 files changed

+5777
-0
lines changed

Comments.tmPreferences

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>name</key>
6+
<string>Comments</string>
7+
<key>scope</key>
8+
<string>source.ts, source.tsx</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>shellVariables</key>
12+
<array>
13+
<dict>
14+
<key>name</key>
15+
<string>TM_COMMENT_START</string>
16+
<key>value</key>
17+
<string>// </string>
18+
</dict>
19+
<dict>
20+
<key>name</key>
21+
<string>TM_COMMENT_START_2</string>
22+
<key>value</key>
23+
<string>/*</string>
24+
</dict>
25+
<dict>
26+
<key>name</key>
27+
<string>TM_COMMENT_END_2</string>
28+
<key>value</key>
29+
<string>*/</string>
30+
</dict>
31+
</array>
32+
</dict>
33+
<key>uuid</key>
34+
<string>A67A8BD9-A951-406F-9175-018DD4B52FD1</string>
35+
</dict>
36+
</plist>

ErrorList.YAML-tmLanguage

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# [PackageDev] target_format: plist, ext: tmLanguage
2+
---
3+
name: Error List
4+
scopeName: text.error-list
5+
uuid: 52410ea6-4de5-4b0e-9be7-12842e39a3a6
6+
7+
patterns:
8+
- include: '#error-count'
9+
- include: '#filename'
10+
- include: '#message'
11+
12+
repository:
13+
filename:
14+
match: ^([^ ].*:)$
15+
captures:
16+
'1': {name: entity.name.filename.error-list}
17+
18+
error-count:
19+
match: (?<=\[)(\d+\s*errors)(?=\])
20+
captures:
21+
'1': {name: keyword.other.error-list}
22+
23+
message:
24+
begin: \(
25+
end: \n
26+
patterns:
27+
- include: '#location'
28+
29+
location:
30+
match: (?<=\()(\d+),\s*(\d+)(?=\))
31+
captures:
32+
'1': {name: constant.numeric.location.error-list}
33+
'2': {name: constant.numeric.location.error-list}
34+
...

0 commit comments

Comments
 (0)