feat: support a ton of more languages

This commit is contained in:
iCrawl 2017-11-26 14:28:55 +01:00
parent d189adea7a
commit 97e8e3ff06
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE
4 changed files with 171 additions and 10 deletions

View file

@ -5,4 +5,3 @@ test/**
.gitignore
tsconfig.json
tslint.json
yarn.lock

View file

@ -7,13 +7,10 @@
</p>
</div>
This is currently in heavy development, so while it does work it is still not very feature rich.
Give me a little bit of time and this will be resolved! 😉
## Features
* Shows what you are editing in VSCode with no bullsh*t involved
* Support for over 50 of the most popular languages
* Support for over 70 of the most popular languages
* Enable/Disable Rich Presence for individual workspaces (enabled by default)
* Automatic reconnect after losing internet or a discord restart/crash. (defaults to 20 reconnect attempts)
* Custom string support

View file

@ -26,12 +26,12 @@
{
"command": "discord.enable",
"title": "Enable Discord Presence in the current workspace",
"category": "VS-Discord"
"category": "Discord Presence"
},
{
"command": "discord.disable",
"title": "Disable Discord Presence in the current workspace",
"category": "VS-Discord"
"category": "Discord Presence"
}
],
"configuration": [

View file

@ -155,6 +155,96 @@
".dart": {
"image": "dart"
},
"/\\.(h|geo|topo)?json$/i": {
"image": "manifest"
},
".cson": {
"image": "manifest"
},
".json5": {
"image": "manifest"
},
".http": {
"image": "manifest"
},
".ndjson": {
"image": "manifest"
},
".fea": {
"image": "manifest"
},
".json.eex": {
"image": "manifest"
},
".proto": {
"image": "manifest"
},
".pytb": {
"image": "manifest"
},
".pydeps": {
"image": "manifest"
},
"/\\.pot?$/i": {
"image": "manifest"
},
".ejson": {
"image": "manifest"
},
".edn": {
"image": "manifest"
},
".eam.fs": {
"image": "manifest"
},
".qml": {
"image": "manifest"
},
".qbs": {
"image": "manifest"
},
".ston": {
"image": "manifest"
},
".ttl": {
"image": "manifest"
},
".rviz": {
"image": "manifest"
},
".syntax": {
"image": "manifest"
},
".webmanifest": {
"image": "manifest"
},
"/^pkginfo$/": {
"image": "manifest"
},
"/^mime\\.types$/i": {
"image": "manifest"
},
"/^METADATA\\.pb$/": {
"image": "manifest"
},
"/[\\/\\\\](?:magic[\\/\\\\]Magdir|file[\\/\\\\]magic)[\\/\\\\][-.\\w]+$/i": {
"image": "manifest"
},
"/(\\\\|\\/)dev[-\\w]+\\1(?:[^\\\\\\/]+\\1)*(?!DESC|NOTES)(?:[A-Z][-A-Z]*)(?:\\.in)?$/": {
"image": "manifest"
},
"lib/icons/.icondb.js": {
"image": "manifest"
},
"/\\.git[\\/\\\\](.*[\\/\\\\])?(HEAD|ORIG_HEAD|packed-refs|logs[\\/\\\\](.+[\\/\\\\])?[^\\/\\\\]+)$/": {
"image": "manifest"
},
".dfm": {
"image": "delphi"
},
".dpr": {
"image": "delphi"
},
"/^(Dockerfile|docker-compose)|\\.docker(file|ignore)$/i": {
"image": "docker"
},
@ -218,6 +308,12 @@
".go": {
"image": "go"
},
".gradle": {
"image": "gradle"
},
"gradlew": {
"image": "gradle"
},
".graphql": {
"image": "graphql"
},
@ -287,6 +383,27 @@
".kts": {
"image": "kotlin"
},
".lsp": {
"image": "lisp"
},
".lisp": {
"image": "lisp"
},
".l": {
"image": "lisp"
},
".nl": {
"image": "lisp"
},
".ny": {
"image": "lisp"
},
".podsl": {
"image": "lisp"
},
".sexp": {
"image": "lisp"
},
".lua": {
"image": "lua"
},
@ -515,6 +632,51 @@
"/\\.(sc|scala)$/i": {
"image": "scala"
},
"/\\.(sh|rc|bats|bash|tool|install|command)$/i": {
"image": "shell"
},
"/^(\\.?bash(rc|[-_]?(profile|login|logout|history|prompt))|_osc|config|install-sh|PKGBUILD)$/i": {
"image": "shell"
},
"/\\.(ksh|mksh|pdksh)$/i": {
"image": "shell"
},
".sh-session": {
"image": "shell"
},
"/\\.zsh(-theme|_history)?$|^\\.?(antigen|zpreztorc|zlogin|zlogout|zprofile|zshenv|zshrc)$/i": {
"image": "shell"
},
"/\\.fish$|^\\.fishrc$/i": {
"image": "shell"
},
"/^\\.?(login|profile)$/": {
"image": "shell"
},
".inputrc": {
"image": "shell"
},
".tmux": {
"image": "shell"
},
"/^(configure|config\\.(guess|rpath|status|sub)|depcomp|libtool|compile)$/": {
"image": "shell"
},
"/^\\/(private\\/)?etc\\/([^\\/]+\\/)*(profile$|nanorc$|rc\\.|csh\\.)/i": {
"image": "shell"
},
"/^\\.?cshrc$/i": {
"image": "shell"
},
".profile": {
"image": "shell"
},
".tcsh": {
"image": "shell"
},
".csh": {
"image": "shell"
},
"/\\.(my)?sql$/i": {
"image": "sql"
},
@ -623,11 +785,14 @@
".vue": {
"image": "vue"
},
".yaml": {
"/\\.ya?ml$/i": {
"image": "yaml"
},
".yml": {
"image": "yml"
"/^yarn(\\.lock)?$/i": {
"image": "yarn"
},
".yarnrc": {
"image": "yarn"
},
".bat": {
"image": "bat"