feat: insert project snippets into the text editor
Showing
... | @@ -105,6 +105,10 @@ | ... | @@ -105,6 +105,10 @@ |
"command": "gl.createSnippet", | "command": "gl.createSnippet", | ||
"title": "GitLab: Create snippet" | "title": "GitLab: Create snippet" | ||
}, | }, | ||
{ | |||
"command": "gl.insertSnippet", | |||
"title": "GitLab: Insert snippet" | |||
}, | |||
{ | { | ||
"command": "gl.validateCIConfig", | "command": "gl.validateCIConfig", | ||
"title": "GitLab: Validate GitLab CI config" | "title": "GitLab: Validate GitLab CI config" | ||
... | @@ -542,7 +546,11 @@ | ... | @@ -542,7 +546,11 @@ |
"vscode-test": "^1.4.0" | "vscode-test": "^1.4.0" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"cross-fetch": "^3.0.6", | |||
"execa": "^4.0.3", | "execa": "^4.0.3", | ||
"graphql": "^15.3.0", | |||
"graphql-request": "^3.2.0", | |||
"https-proxy-agent": "^5.0.0", | |||
"moment": "^2.24.0", | "moment": "^2.24.0", | ||
"request": "^2.88.0", | "request": "^2.88.0", | ||
"request-promise": "^4.2.5", | "request-promise": "^4.2.5", | ||
... | ... |
src/commands/insert_snippet.ts
0 → 100644
src/errors/common.ts
0 → 100644
src/errors/fetch_error.ts
0 → 100644
src/errors/user_friendly_error.ts
0 → 100644
src/git_service_factory.ts
0 → 100644
src/gitlab/gitlab_new_service.ts
0 → 100644
src/log.ts
0 → 100644
文件已移动
文件已移动
文件已移动
文件已移动
文件已移动
文件已移动
想要评论请 注册 或 登录