Skip to content

Commit 1d497b8

Browse files
committed
Allow to jump to symbols inside a spec file
1 parent e4eec33 commit 1d497b8

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>Symbol List: Behaviour</string>
7+
<key>scope</key>
8+
<string>meta.rspec.behaviour</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>showInSymbolList</key>
12+
<integer>1</integer>
13+
<key>symbolTransformation</key>
14+
<string>s/^\s*(describe)\s+(.+)\s+do\s*$/$2/</string>
15+
</dict>
16+
<key>uuid</key>
17+
<string>28F89786-04F4-43D7-82A6-34B046C2BC6B</string>
18+
</dict>
19+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>Symbol List: Example</string>
7+
<key>scope</key>
8+
<string>meta.rspec.example</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>showInSymbolList</key>
12+
<integer>1</integer>
13+
<key>symbolTransformation</key>
14+
<string>s/^\s*(it)\s+(.+)\s+do\s*$/ $2/</string>
15+
</dict>
16+
<key>uuid</key>
17+
<string>57EF6130-05A6-4117-94CB-C0BD63328334</string>
18+
</dict>
19+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//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>Symbol List: Pending</string>
7+
<key>scope</key>
8+
<string>meta.rspec.pending</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>showInSymbolList</key>
12+
<integer>1</integer>
13+
<key>symbolTransformation</key>
14+
<string>s/^\s*(it)\s+(.+)\s*$/ $2 (Pending)/</string>
15+
</dict>
16+
<key>uuid</key>
17+
<string>377BD4F9-4321-4D14-9A34-6A93033F1906</string>
18+
</dict>
19+
</plist>

0 commit comments

Comments
 (0)