Skip to content

Commit c123769

Browse files
committed
Add BibTeX snippets
1 parent 2cb27b6 commit c123769

10 files changed

+208
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<snippet>
2+
<content><![CDATA[@article{id,
3+
abstract = {},
4+
author = {},
5+
doi = {},
6+
journal = {},
7+
keywords = {},
8+
month = {},
9+
number = {},
10+
pages = {},
11+
title = {{}},
12+
url = {},
13+
volume = {},
14+
year = {},
15+
}
16+
]]></content>
17+
18+
<!-- Tab trigger to activate the snippet -->
19+
<tabTrigger>stdlib.article</tabTrigger>
20+
21+
<!-- Scope the tab trigger will be active in -->
22+
<scope>text.bibtex</scope>
23+
24+
<!-- Description to show in the menu -->
25+
<description>BibTeX article template</description>
26+
</snippet>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<snippet>
2+
<content><![CDATA[@book{id,
3+
author = {},
4+
keywords = {},
5+
publisher = {},
6+
title = {{}},
7+
year = {},
8+
}
9+
]]></content>
10+
11+
<!-- Tab trigger to activate the snippet -->
12+
<tabTrigger>stdlib.book</tabTrigger>
13+
14+
<!-- Scope the tab trigger will be active in -->
15+
<scope>text.bibtex</scope>
16+
17+
<!-- Description to show in the menu -->
18+
<description>BibTeX book template</description>
19+
</snippet>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<snippet>
2+
<content><![CDATA[@inbook{id,
3+
author = {},
4+
editor = {},
5+
keywords = {},
6+
pages = {},
7+
publisher = {},
8+
title = {{}},
9+
url = {},
10+
year = {},
11+
}
12+
]]></content>
13+
14+
<!-- Tab trigger to activate the snippet -->
15+
<tabTrigger>stdlib.inbook</tabTrigger>
16+
17+
<!-- Scope the tab trigger will be active in -->
18+
<scope>text.bibtex</scope>
19+
20+
<!-- Description to show in the menu -->
21+
<description>BibTeX in-book template</description>
22+
</snippet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<snippet>
2+
<content><![CDATA[@inproceedings{id,
3+
abstract = {},
4+
author = {},
5+
booktitle = {},
6+
keywords = {},
7+
publisher = {},
8+
title = {{}},
9+
year = {},
10+
}
11+
]]></content>
12+
13+
<!-- Tab trigger to activate the snippet -->
14+
<tabTrigger>stdlib.inproceedings</tabTrigger>
15+
16+
<!-- Scope the tab trigger will be active in -->
17+
<scope>text.bibtex</scope>
18+
19+
<!-- Description to show in the menu -->
20+
<description>BibTeX in-proceedings template</description>
21+
</snippet>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<snippet>
2+
<content><![CDATA[@manual{id,
3+
keywords = {},
4+
title = {{}},
5+
url = {}
6+
}
7+
]]></content>
8+
9+
<!-- Tab trigger to activate the snippet -->
10+
<tabTrigger>stdlib.manual</tabTrigger>
11+
12+
<!-- Scope the tab trigger will be active in -->
13+
<scope>text.bibtex</scope>
14+
15+
<!-- Description to show in the menu -->
16+
<description>BibTeX manual template</description>
17+
</snippet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<snippet>
2+
<content><![CDATA[@mastersthesis{id,
3+
abstract = {},
4+
author = {},
5+
keywords = {},
6+
school = {},
7+
title = {{}},
8+
url = {},
9+
year = {}
10+
}
11+
]]></content>
12+
13+
<!-- Tab trigger to activate the snippet -->
14+
<tabTrigger>stdlib.mastersthesis</tabTrigger>
15+
16+
<!-- Scope the tab trigger will be active in -->
17+
<scope>text.bibtex</scope>
18+
19+
<!-- Description to show in the menu -->
20+
<description>BibTeX master's thesis template</description>
21+
</snippet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<snippet>
2+
<content><![CDATA[@phdthesis{id,
3+
abstract = {},
4+
author = {},
5+
keywords = {},
6+
school = {},
7+
title = {{}},
8+
url = {},
9+
year = {}
10+
}
11+
]]></content>
12+
13+
<!-- Tab trigger to activate the snippet -->
14+
<tabTrigger>stdlib.phdthesis</tabTrigger>
15+
16+
<!-- Scope the tab trigger will be active in -->
17+
<scope>text.bibtex</scope>
18+
19+
<!-- Description to show in the menu -->
20+
<description>BibTeX PhD thesis template</description>
21+
</snippet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<snippet>
2+
<content><![CDATA[@techreport{id,
3+
abstract = {},
4+
author = {},
5+
institution = {},
6+
keywords = {},
7+
title = {{}},
8+
url = {},
9+
year = {},
10+
}
11+
]]></content>
12+
13+
<!-- Tab trigger to activate the snippet -->
14+
<tabTrigger>stdlib.techreport</tabTrigger>
15+
16+
<!-- Scope the tab trigger will be active in -->
17+
<scope>text.bibtex</scope>
18+
19+
<!-- Description to show in the menu -->
20+
<description>BibTeX tech report template</description>
21+
</snippet>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<snippet>
2+
<content><![CDATA[@unpublished{id,
3+
abstract = {},
4+
author = {},
5+
keywords = {},
6+
note = {},
7+
title = {{}},
8+
url = {},
9+
year = {},
10+
}
11+
]]></content>
12+
13+
<!-- Tab trigger to activate the snippet -->
14+
<tabTrigger>stdlib.unpublished</tabTrigger>
15+
16+
<!-- Scope the tab trigger will be active in -->
17+
<scope>text.bibtex</scope>
18+
19+
<!-- Description to show in the menu -->
20+
<description>BibTeX unpublished template</description>
21+
</snippet>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<snippet>
2+
<content><![CDATA[@misc{id,
3+
author = {},
4+
keywords = {},
5+
title = {{}},
6+
url = {},
7+
year = {}
8+
}
9+
]]></content>
10+
11+
<!-- Tab trigger to activate the snippet -->
12+
<tabTrigger>stdlib.webpage</tabTrigger>
13+
14+
<!-- Scope the tab trigger will be active in -->
15+
<scope>text.bibtex</scope>
16+
17+
<!-- Description to show in the menu -->
18+
<description>BibTeX web page template</description>
19+
</snippet>

0 commit comments

Comments
 (0)