Supports syntax highlighting for .prc
file format.
To use this extension go:
VSCode -> Extensions -> More Option -> Install from VSIX
- Choose
prc-X.X.X.vsix
- To customize snippets for
.prc
go:File -> Preferences -> Configure User Snippets
- Select
prc
prc.json
will be created.- Paste to
prc.json
:
{
"If snippet": {
"prefix": "if",
"body": [
"if ",
"",
"endif"
],
"description": "Insert 'if' statement with 'endif'"
},
"Loop snippet": {
"prefix": "loop",
"body": [
"loop ",
"\t",
"endloop"
],
"description": "Insert 'loop' statement with 'endloop'"
},
"Begin snippet": {
"prefix": "begin ",
"body": [
"begin ",
"",
"endproc"
],
"description": "Insert 'begin' statement with 'endproc'"
}
}