This commit is contained in:
21
vscode-server-linux-x64-web/extensions/git-base/README.md
Normal file
21
vscode-server-linux-x64-web/extensions/git-base/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Git static contributions and remote repository picker
|
||||
|
||||
**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
|
||||
|
||||
## Features
|
||||
|
||||
Git static contributions and remote repository picker.
|
||||
|
||||
## API
|
||||
|
||||
The Git extension exposes an API, reachable by any other extension.
|
||||
|
||||
1. Copy `src/api/git-base.d.ts` to your extension's sources;
|
||||
2. Include `git-base.d.ts` in your extension's compilation.
|
||||
3. Get a hold of the API with the following snippet:
|
||||
|
||||
```ts
|
||||
const gitBaseExtension = vscode.extensions.getExtension<GitBaseExtension>('vscode.git-base').exports;
|
||||
const git = gitBaseExtension.getAPI(1);
|
||||
|
||||
```
|
2
vscode-server-linux-x64-web/extensions/git-base/dist/extension.js
vendored
Normal file
2
vscode-server-linux-x64-web/extensions/git-base/dist/extension.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"comments":{"lineComment":"#","blockComment":["#"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}]}
|
@ -0,0 +1 @@
|
||||
{"comments":{"lineComment":"#","blockComment":["#"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}]}
|
@ -0,0 +1 @@
|
||||
{"comments":{"lineComment":"#"},"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}]}
|
@ -0,0 +1 @@
|
||||
{"name":"git-base","displayName":"%displayName%","description":"%description%","version":"1.0.0","publisher":"vscode","license":"MIT","engines":{"vscode":"0.10.x"},"categories":["Other"],"activationEvents":["*"],"main":"./dist/extension.js","browser":"./dist/browser/extension.js","icon":"resources/icons/git.png","capabilities":{"virtualWorkspaces":true,"untrustedWorkspaces":{"supported":true}},"contributes":{"commands":[{"command":"git-base.api.getRemoteSources","title":"%command.api.getRemoteSources%","category":"Git Base API"}],"menus":{"commandPalette":[{"command":"git-base.api.getRemoteSources","when":"false"}]},"languages":[{"id":"git-commit","aliases":["Git Commit Message","git-commit"],"filenames":["COMMIT_EDITMSG","MERGE_MSG"],"configuration":"./languages/git-commit.language-configuration.json"},{"id":"git-rebase","aliases":["Git Rebase Message","git-rebase"],"filenames":["git-rebase-todo"],"filenamePatterns":["**/rebase-merge/done"],"configuration":"./languages/git-rebase.language-configuration.json"},{"id":"ignore","aliases":["Ignore","ignore"],"extensions":[".gitignore_global",".gitignore",".git-blame-ignore-revs"],"configuration":"./languages/ignore.language-configuration.json"}],"grammars":[{"language":"git-commit","scopeName":"text.git-commit","path":"./syntaxes/git-commit.tmLanguage.json"},{"language":"git-rebase","scopeName":"text.git-rebase","path":"./syntaxes/git-rebase.tmLanguage.json"},{"language":"ignore","scopeName":"source.ignore","path":"./syntaxes/ignore.tmLanguage.json"}]},"repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
|
@ -0,0 +1 @@
|
||||
{"displayName":"Git Base","description":"Git static contributions and pickers.","command.api.getRemoteSources":"Get Remote Sources"}
|
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1 @@
|
||||
{"information_for_contributors":["This file has been converted from https://github.com/walles/git-commit-message-plus/blob/master/syntaxes/git-commit.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/walles/git-commit-message-plus/commit/35a079dea5a91b087021b40c01a6bb4eb0337a87","name":"Git Commit Message","scopeName":"text.git-commit","patterns":[{"comment":"diff presented at the end of the commit message when using commit -v.","name":"meta.embedded.diff.git-commit","contentName":"source.diff","begin":"(?=^diff\\ \\-\\-git)","end":"\\z","patterns":[{"include":"source.diff"}]},{"comment":"User supplied message","name":"meta.scope.message.git-commit","begin":"^(?!#)","end":"^(?=#)","patterns":[{"comment":"Mark > 50 lines as deprecated, > 72 as illegal","name":"meta.scope.subject.git-commit","match":"\\G.{0,50}(.{0,22}(.*))$","captures":{"1":{"name":"invalid.deprecated.line-too-long.git-commit"},"2":{"name":"invalid.illegal.line-too-long.git-commit"}}}]},{"comment":"Git supplied metadata in a number of lines starting with #","name":"meta.scope.metadata.git-commit","begin":"^(?=#)","contentName":"comment.line.number-sign.git-commit","end":"^(?!#)","patterns":[{"match":"^#\\t((modified|renamed):.*)$","captures":{"1":{"name":"markup.changed.git-commit"}}},{"match":"^#\\t(new file:.*)$","captures":{"1":{"name":"markup.inserted.git-commit"}}},{"match":"^#\\t(deleted.*)$","captures":{"1":{"name":"markup.deleted.git-commit"}}},{"comment":"Fallback for non-English git commit template","match":"^#\\t([^:]+): *(.*)$","captures":{"1":{"name":"keyword.other.file-type.git-commit"},"2":{"name":"string.unquoted.filename.git-commit"}}}]}]}
|
@ -0,0 +1 @@
|
||||
{"information_for_contributors":["This file has been converted from https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git%20Rebase%20Message.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/textmate/git.tmbundle/commit/5870cf3f8abad3a6637bdf69250b5d2ded427dc4","name":"Git Rebase Message","scopeName":"text.git-rebase","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.git-rebase"}},"match":"^\\s*(#).*$\\n?","name":"comment.line.number-sign.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"},"2":{"name":"constant.sha.git-rebase"},"3":{"name":"meta.commit-message.git-rebase"}},"match":"^\\s*(pick|p|reword|r|edit|e|squash|s|fixup|f|drop|d)\\s+([0-9a-f]+)\\s+(.*)$","name":"meta.commit-command.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"},"2":{"patterns":[{"include":"source.shell"}]}},"match":"^\\s*(exec|x)\\s+(.*)$","name":"meta.commit-command.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"}},"match":"^\\s*(break|b)\\s*$","name":"meta.commit-command.git-rebase"}]}
|
@ -0,0 +1 @@
|
||||
{"name":"Ignore","scopeName":"source.ignore","patterns":[{"match":"^#.*","name":"comment.line.number-sign.ignore"}]}
|
Reference in New Issue
Block a user