Archived
94 lines
2.5 KiB
Plaintext
94 lines
2.5 KiB
Plaintext
{
|
|
// Place your snippets for tex here. Each snippet is defined under a snippet name and has a prefix, body and
|
|
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
|
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
|
// same ids are connected.
|
|
// Example:
|
|
// "Print to console": {
|
|
// "prefix": "log",
|
|
// "body": [
|
|
// "console.log('$1');",
|
|
// "$2"
|
|
// ],
|
|
// "description": "Log output to console"
|
|
// }
|
|
"Block für C++ Code": {
|
|
"prefix": "c++",
|
|
"body": [
|
|
"\\begin{minted}{c++}",
|
|
"$0",
|
|
"\\end{minted}"
|
|
],
|
|
"description": "Einen Block um darin C++ Code zu schreiben und anzuzeigen."
|
|
},
|
|
"Inline für C++ Code": {
|
|
"prefix": "c++i",
|
|
"body": "\\mintinline{c++}|$0|",
|
|
"description": "Rahmen für kurzen C++ Code in einer Zeile."
|
|
},
|
|
"Bild einfügen": {
|
|
"prefix": "image",
|
|
"body": [
|
|
"\\begin{figure}[ht]",
|
|
"\t\\centering",
|
|
"\t\\includegraphics[width=\\linewidth]{img/$1.png}",
|
|
"\t\\caption{$0}",
|
|
"\t\\label{fig:$1}",
|
|
"\\end{figure}",
|
|
],
|
|
"description": "Rahmen zum Einfügen eines Bildes"
|
|
},
|
|
"Anforderung Rover": {
|
|
"prefix": "reqR",
|
|
"body": "\\textbf{$2F\\_REQ\\_Rover\\_$1:} $0",
|
|
"description": "Kürzel für eine Anforderung"
|
|
},
|
|
"Anforderung Fernbedienung": {
|
|
"prefix": "reqF",
|
|
"body": "\\textbf{$2F\\_REQ\\_Fernbedienung\\_$1:} $0",
|
|
"description": "Kürzel für eine Anforderung"
|
|
},
|
|
"Test Layout": {
|
|
"prefix": "test",
|
|
"body": [
|
|
"\\textbf{Test-Id:} TEST\\_$1",
|
|
"\\textbf{Titel:} $2",
|
|
"\\textbf{Benutzeranforderung(en):} $3",
|
|
"\\textbf{Vorbedingung(en):} $4",
|
|
"\\textbf{Testschritte:}",
|
|
"\\begin{itemize}",
|
|
"\t\\item $5",
|
|
"\\end{itemize}",
|
|
"\\textbf{Erwartetes Ergebnis:} $6",
|
|
"\\textbf{Ergebnis:} $0",
|
|
""
|
|
],
|
|
"description": "Alle statischen Element einer Test Beschreibung"
|
|
},
|
|
"Tabelle Einfügen": {
|
|
"prefix": "table",
|
|
"body": [
|
|
"\\begin{table}[ht]",
|
|
"\t\\centering",
|
|
"\t\\caption{$1}",
|
|
"\t\\begin{tabular}{|c|c|c|}",
|
|
"\t\t\\hline",
|
|
"\t\t\\textbf{$3} & \\textbf{$4} & \\textbf{$5} \\\\\\",
|
|
"\t\t\\hline",
|
|
"\t\\end{tabular}",
|
|
"\t\\label{tab:$2}",
|
|
"\\end{table}"
|
|
],
|
|
"description": "Fügt das Grundgerüst für eine Tabelle ein"
|
|
},
|
|
"Tabelle Zeile": {
|
|
"prefix": "z2",
|
|
"body": [
|
|
"\\textbf{$1} & \\\\\\",
|
|
"\\hline",
|
|
"$0"
|
|
],
|
|
"description": "Fügt eine Zeile mit 2 Spalten hinzu"
|
|
},
|
|
}
|