2 "name": "coc-snippets",
4 "description": "Snippets extension for coc.nvim",
5 "main": "lib/index.js",
6 "publisher": "chemzqm",
16 "clean": "rimraf lib",
18 "prepare": "npx npm-run-all clean build"
26 "title": "Edit user snippets file of current document filetype.",
27 "command": "snippets.editSnippets"
30 "title": "Edit snippets files of current document filetype.",
31 "command": "snippets.openSnippetFiles"
37 "snippets.priority": {
40 "description": "Completion source priority of snippets."
42 "snippets.editSnippetsCommand": {
45 "description": "Open command used for snippets.editSnippets command, use coc.preferences.jumpCommand by default."
54 "description": "Trace level of snippets channel."
56 "snippets.enableStatusItem": {
59 "description": "Enable status item in g:coc_status used for statusline."
61 "snippets.loadFromExtensions": {
64 "description": "Enable load snippets from extensions."
66 "snippets.textmateSnippetsRoots": {
69 "description": "List of directories that contains textmate/VSCode snippets to load.",
77 "description": "Configure filetypes to inherit with, ex: {\"cpp\": [\"c\"], \"javascriptreact\": [\"javascript\"]}"
79 "snippets.userSnippetsDirectory": {
82 "description": "Directory that contains custom user ultisnips snippets, use ultisnips in extension root by default."
84 "snippets.shortcut": {
87 "description": "Shortcut in completion menu."
89 "snippets.triggerCharacters": {
92 "description": "Trigger characters for trigger snippets completion.",
97 "snippets.autoTrigger": {
100 "description": "Enable trigger auto trigger snippet after type character."
102 "snippets.ultisnips.enable": {
105 "description": "Enable load snippets from ultisnips folders."
107 "snippets.ultisnips.usePythonx": {
110 "description": "Use :pyx command for python code when possible."
112 "snippets.ultisnips.pythonVersion": {
115 "description": "Python version used for python code when not using pyx."
117 "snippets.ultisnips.directories": {
122 "description": "Directories that searched for ultisnips snippet files, could be directory as subfolder in $runtimepath or absolute paths.",
127 "snippets.snipmate.enable": {
130 "description": "Load snipmate snippets from snippets directory in runtimepath."
132 "snippets.snipmate.author": {
135 "description": "Author name used for g:snips_author"
141 "testEnvironment": "node",
142 "moduleFileExtensions": [
149 "^.+\\.tsx?$": "ts-jest"
151 "testRegex": "tests/.*\\.ts$"
153 "author": "chemzqm@gmail.com",
156 "@types/jest": "^26.0.15",
157 "@types/node": "^12.19.0",
158 "@types/pify": "^3.0.2",
159 "@types/uuid": "^8.3.0",
160 "@types/which": "^1.3.2",
161 "coc.nvim": "^0.0.79",
162 "debounce": "^1.2.0",
164 "jsonc-parser": "^2.3.1",
167 "ts-jest": "^26.4.3",
168 "ts-loader": "^8.0.7",
170 "typescript": "^4.0.5",
172 "vscode-languageserver-protocol": "^3.15.3",
174 "webpack-cli": "^4.1.0",