Skip to content

Commit

Permalink
Merge pull request #17 from williamthome/feat/completion
Browse files Browse the repository at this point in the history
Provide completions
  • Loading branch information
williamthome authored Jun 6, 2022
2 parents c0513f4 + 38665f8 commit 245be99
Show file tree
Hide file tree
Showing 11 changed files with 3,804 additions and 0 deletions.
45 changes: 45 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
],
"main": "./out/extension.js",
"contributes": {
"configurationDefaults": {
"editor.snippetSuggestions": "top"
},
"languages": [
{
"id": "tpl",
Expand Down Expand Up @@ -61,6 +64,48 @@
"scopeName": "source.js.tpl",
"path": "./syntaxes/js-tpl.tmLanguage.json"
}
],
"snippets": [
{
"language": "tpl",
"path": "./snippets/tpl-stuff.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-tags-builtin.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-tags-module.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-filters.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-actions.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-global-vars.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-models.code-snippets"
},
{
"language": "tpl",
"path": "./snippets/tpl-validators.code-snippets"
},
{
"language": "erlang",
"path": "./snippets/erlang-stuff.code-snippets"
},
{
"language": "erlang",
"path": "./snippets/erlang-observers.code-snippets"
}
]
},
"scripts": {
Expand Down
Loading

0 comments on commit 245be99

Please sign in to comment.