formatting json files
This commit is contained in:
parent
aaa78c03bc
commit
fe68daac38
4
TODO.md
4
TODO.md
@ -1,12 +1,12 @@
|
||||
[x] - in extensions.json add suffix for languages that require it such as css where comments are: /_ stuff _/
|
||||
[] - test cancel token
|
||||
[] - add fill in middle
|
||||
[x] - add fill in middle
|
||||
[x] - add config option to disable the extension
|
||||
[] - add command to test and query connection to server
|
||||
[x] - add feedback when waiting response
|
||||
[] - add a chat window
|
||||
[] - if the model is an instruct-type add the system prompt to the chat
|
||||
[] - add an icon
|
||||
[x] - add an icon
|
||||
[] - option to backup and restore model settings
|
||||
[] - add a window to quickly modify model configs
|
||||
[] - decorate ai generated text https://github.com/microsoft/vscode-extension-samples/tree/main/decorator-sample
|
||||
|
5270
package-lock.json
generated
5270
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
542
package.json
542
package.json
@ -1,272 +1,272 @@
|
||||
{
|
||||
"name": "dumbpilot",
|
||||
"displayName": "dumbpilot",
|
||||
"description": "Simple code prediction using llama.cpp server api",
|
||||
"publisher": "Alessandro Mauri",
|
||||
"version": "0.0.1",
|
||||
"icon": "dummy.ico",
|
||||
"engines": {
|
||||
"vscode": "^1.84.0"
|
||||
},
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.alemauri.eu/alema/dumbpilot.git"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:ada",
|
||||
"onLanguage:agda",
|
||||
"onLanguage:alloy",
|
||||
"onLanguage:antlr",
|
||||
"onLanguage:applescript",
|
||||
"onLanguage:assembly",
|
||||
"onLanguage:augeas",
|
||||
"onLanguage:awk",
|
||||
"onLanguage:batchfile",
|
||||
"onLanguage:bluespec",
|
||||
"onLanguage:c-sharp",
|
||||
"onLanguage:c",
|
||||
"onLanguage:clojure",
|
||||
"onLanguage:cmake",
|
||||
"onLanguage:coffeescript",
|
||||
"onLanguage:common-lisp",
|
||||
"onLanguage:cpp",
|
||||
"onLanguage:css",
|
||||
"onLanguage:cuda",
|
||||
"onLanguage:dart",
|
||||
"onLanguage:dockerfile",
|
||||
"onLanguage:elixir",
|
||||
"onLanguage:elm",
|
||||
"onLanguage:emacs-lisp",
|
||||
"onLanguage:erlang",
|
||||
"onLanguage:f-sharp",
|
||||
"onLanguage:fortran",
|
||||
"onLanguage:glsl",
|
||||
"onLanguage:go",
|
||||
"onLanguage:groovy",
|
||||
"onLanguage:haskell",
|
||||
"onLanguage:html",
|
||||
"onLanguage:idris",
|
||||
"onLanguage:isabelle",
|
||||
"onLanguage:java-server-pages",
|
||||
"onLanguage:java",
|
||||
"onLanguage:javascript",
|
||||
"onLanguage:json",
|
||||
"onLanguage:julia",
|
||||
"onLanguage:jupyter-notebook",
|
||||
"onLanguage:kotlin",
|
||||
"onLanguage:lean",
|
||||
"onLanguage:literate-agda",
|
||||
"onLanguage:literate-coffeescript",
|
||||
"onLanguage:literate-haskell",
|
||||
"onLanguage:lua",
|
||||
"onLanguage:makefile",
|
||||
"onLanguage:maple",
|
||||
"onLanguage:markdown",
|
||||
"onLanguage:mathematica",
|
||||
"onLanguage:matlab",
|
||||
"onLanguage:ocaml",
|
||||
"onLanguage:pascal",
|
||||
"onLanguage:perl",
|
||||
"onLanguage:php",
|
||||
"onLanguage:powershell",
|
||||
"onLanguage:prolog",
|
||||
"onLanguage:protocol-buffer",
|
||||
"onLanguage:python",
|
||||
"onLanguage:r",
|
||||
"onLanguage:racket",
|
||||
"onLanguage:restructuredtext",
|
||||
"onLanguage:rmarkdown",
|
||||
"onLanguage:ruby",
|
||||
"onLanguage:rust",
|
||||
"onLanguage:sas",
|
||||
"onLanguage:scala",
|
||||
"onLanguage:scheme",
|
||||
"onLanguage:shell",
|
||||
"onLanguage:smalltalk",
|
||||
"onLanguage:solidity",
|
||||
"onLanguage:sparql",
|
||||
"onLanguage:sql",
|
||||
"onLanguage:stan",
|
||||
"onLanguage:standard-ml",
|
||||
"onLanguage:stata",
|
||||
"onLanguage:systemverilog",
|
||||
"onLanguage:tcl",
|
||||
"onLanguage:tcsh",
|
||||
"onLanguage:tex",
|
||||
"onLanguage:thrift",
|
||||
"onLanguage:typescript",
|
||||
"onLanguage:verilog",
|
||||
"onLanguage:vhdl",
|
||||
"onLanguage:visual-basic",
|
||||
"onLanguage:xslt",
|
||||
"onLanguage:yacc",
|
||||
"onLanguage:yaml",
|
||||
"onLanguage:zig"
|
||||
],
|
||||
"main": "./out/extension.js",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "dumbpilot.disableCompletion",
|
||||
"title": "Disable predictive code completion",
|
||||
"category": "dumbpilot"
|
||||
},
|
||||
{
|
||||
"command": "dumbpilot.enableCompletion",
|
||||
"title": "Enable predictive code completion",
|
||||
"category": "dumbpilot"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"key": "ctrl+shift+l",
|
||||
"mac": "cmd+shift+l",
|
||||
"when": "editorTextFocus",
|
||||
"command": "editor.action.inlineSuggest.trigger"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"title": "dumbpilot",
|
||||
"properties": {
|
||||
"dumbpilot.completionEnabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable predictive code completion"
|
||||
},
|
||||
"dumbpilot.fimEnabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Enable Fill in Middle mode, defaults to Up-to cursor context"
|
||||
},
|
||||
"dumbpilot.llamaHost": {
|
||||
"type": "string",
|
||||
"default": "http://0.0.0.0:8080",
|
||||
"description": "llama.cpp server address"
|
||||
},
|
||||
"dumbpilot.llamaCtxsize": {
|
||||
"type": "number",
|
||||
"default": 2048
|
||||
},
|
||||
"dumbpilot.llamaMaxtokens": {
|
||||
"type": "number",
|
||||
"default": -1
|
||||
},
|
||||
"dumbpilot.llamaMirostat": {
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"dumbpilot.llamaRepeatPenalty": {
|
||||
"type": "number",
|
||||
"default": 1.11
|
||||
},
|
||||
"dumbpilot.llamaFrequencyPenalty": {
|
||||
"type": "number",
|
||||
"default": 0.0
|
||||
},
|
||||
"dumbpilot.llamaPresencePenalty": {
|
||||
"type": "number",
|
||||
"default": 0.0
|
||||
},
|
||||
"dumbpilot.llamaRepeatCtx": {
|
||||
"type": "number",
|
||||
"default": 256
|
||||
},
|
||||
"dumbpilot.llamaTemperature": {
|
||||
"type": "number",
|
||||
"default": 0.25
|
||||
},
|
||||
"dumbpilot.llamaTop_p": {
|
||||
"type": "number",
|
||||
"default": 0.95
|
||||
},
|
||||
"dumbpilot.llamaTop_k": {
|
||||
"type": "number",
|
||||
"default": 40
|
||||
},
|
||||
"dumbpilot.llamaTypical_p": {
|
||||
"type": "number",
|
||||
"default": 0.95
|
||||
},
|
||||
"dumbpilot.llamaTailfree_z": {
|
||||
"type": "number",
|
||||
"default": 0.5
|
||||
},
|
||||
"dumbpilot.llamaSeed": {
|
||||
"type": "number",
|
||||
"default": -1
|
||||
},
|
||||
"dumbpilot.fimBeginString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁begin|>"
|
||||
},
|
||||
"dumbpilot.fimHoleString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁hole|>"
|
||||
},
|
||||
"dumbpilot.fimEndString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁end|>"
|
||||
},
|
||||
"dumbpilot.useFillInMiddleRequest": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use the fill in middle request type provided by llama.cpp server, otherwise use the FIM token strings to delimit the text"
|
||||
},
|
||||
"dumbpilot.llamaCachePrompt": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable prompt caching for faster results"
|
||||
},
|
||||
"dumbpilot.llamaInstructModel": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "For use with instruct models"
|
||||
},
|
||||
"dumbpilot.llamaSystemPrompt": {
|
||||
"type": "string",
|
||||
"description": "The system prompt that the model considers at the beginning of every request, used by instruct models"
|
||||
},
|
||||
"dumbpilot.llamaUseOpenAIAPI": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Use the OpenAI API to make requests to the server instead of the llama.cpp server API"
|
||||
},
|
||||
"dumbpilot.llamaModelName": {
|
||||
"type": "string",
|
||||
"default": "deepseek-coder-6.7B-base.gguf",
|
||||
"description": "Name of the model to use, only works in OpenAI API mode"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "tsc -watch -p ./",
|
||||
"pretest": "npm run compile && npm run lint",
|
||||
"lint": "eslint src --ext ts",
|
||||
"test": "node ./out/test/runTest.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/vscode": "^1.84.0",
|
||||
"@types/mocha": "^10.0.3",
|
||||
"@types/node": "18.x",
|
||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
||||
"@typescript-eslint/parser": "^6.9.0",
|
||||
"eslint": "^8.52.0",
|
||||
"glob": "^10.3.10",
|
||||
"mocha": "^10.2.0",
|
||||
"typescript": "^5.2.2",
|
||||
"@vscode/test-electron": "^2.3.6"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 4,
|
||||
"printWidth": 100,
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
}
|
||||
"name": "dumbpilot",
|
||||
"displayName": "dumbpilot",
|
||||
"description": "Simple code prediction using llama.cpp server api",
|
||||
"publisher": "Alessandro Mauri",
|
||||
"version": "0.0.1",
|
||||
"icon": "dummy.ico",
|
||||
"engines": {
|
||||
"vscode": "^1.84.0"
|
||||
},
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.alemauri.eu/alema/dumbpilot.git"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:ada",
|
||||
"onLanguage:agda",
|
||||
"onLanguage:alloy",
|
||||
"onLanguage:antlr",
|
||||
"onLanguage:applescript",
|
||||
"onLanguage:assembly",
|
||||
"onLanguage:augeas",
|
||||
"onLanguage:awk",
|
||||
"onLanguage:batchfile",
|
||||
"onLanguage:bluespec",
|
||||
"onLanguage:c-sharp",
|
||||
"onLanguage:c",
|
||||
"onLanguage:clojure",
|
||||
"onLanguage:cmake",
|
||||
"onLanguage:coffeescript",
|
||||
"onLanguage:common-lisp",
|
||||
"onLanguage:cpp",
|
||||
"onLanguage:css",
|
||||
"onLanguage:cuda",
|
||||
"onLanguage:dart",
|
||||
"onLanguage:dockerfile",
|
||||
"onLanguage:elixir",
|
||||
"onLanguage:elm",
|
||||
"onLanguage:emacs-lisp",
|
||||
"onLanguage:erlang",
|
||||
"onLanguage:f-sharp",
|
||||
"onLanguage:fortran",
|
||||
"onLanguage:glsl",
|
||||
"onLanguage:go",
|
||||
"onLanguage:groovy",
|
||||
"onLanguage:haskell",
|
||||
"onLanguage:html",
|
||||
"onLanguage:idris",
|
||||
"onLanguage:isabelle",
|
||||
"onLanguage:java-server-pages",
|
||||
"onLanguage:java",
|
||||
"onLanguage:javascript",
|
||||
"onLanguage:json",
|
||||
"onLanguage:julia",
|
||||
"onLanguage:jupyter-notebook",
|
||||
"onLanguage:kotlin",
|
||||
"onLanguage:lean",
|
||||
"onLanguage:literate-agda",
|
||||
"onLanguage:literate-coffeescript",
|
||||
"onLanguage:literate-haskell",
|
||||
"onLanguage:lua",
|
||||
"onLanguage:makefile",
|
||||
"onLanguage:maple",
|
||||
"onLanguage:markdown",
|
||||
"onLanguage:mathematica",
|
||||
"onLanguage:matlab",
|
||||
"onLanguage:ocaml",
|
||||
"onLanguage:pascal",
|
||||
"onLanguage:perl",
|
||||
"onLanguage:php",
|
||||
"onLanguage:powershell",
|
||||
"onLanguage:prolog",
|
||||
"onLanguage:protocol-buffer",
|
||||
"onLanguage:python",
|
||||
"onLanguage:r",
|
||||
"onLanguage:racket",
|
||||
"onLanguage:restructuredtext",
|
||||
"onLanguage:rmarkdown",
|
||||
"onLanguage:ruby",
|
||||
"onLanguage:rust",
|
||||
"onLanguage:sas",
|
||||
"onLanguage:scala",
|
||||
"onLanguage:scheme",
|
||||
"onLanguage:shell",
|
||||
"onLanguage:smalltalk",
|
||||
"onLanguage:solidity",
|
||||
"onLanguage:sparql",
|
||||
"onLanguage:sql",
|
||||
"onLanguage:stan",
|
||||
"onLanguage:standard-ml",
|
||||
"onLanguage:stata",
|
||||
"onLanguage:systemverilog",
|
||||
"onLanguage:tcl",
|
||||
"onLanguage:tcsh",
|
||||
"onLanguage:tex",
|
||||
"onLanguage:thrift",
|
||||
"onLanguage:typescript",
|
||||
"onLanguage:verilog",
|
||||
"onLanguage:vhdl",
|
||||
"onLanguage:visual-basic",
|
||||
"onLanguage:xslt",
|
||||
"onLanguage:yacc",
|
||||
"onLanguage:yaml",
|
||||
"onLanguage:zig"
|
||||
],
|
||||
"main": "./out/extension.js",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "dumbpilot.disableCompletion",
|
||||
"title": "Disable predictive code completion",
|
||||
"category": "dumbpilot"
|
||||
},
|
||||
{
|
||||
"command": "dumbpilot.enableCompletion",
|
||||
"title": "Enable predictive code completion",
|
||||
"category": "dumbpilot"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
{
|
||||
"key": "ctrl+shift+l",
|
||||
"mac": "cmd+shift+l",
|
||||
"when": "editorTextFocus",
|
||||
"command": "editor.action.inlineSuggest.trigger"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"title": "dumbpilot",
|
||||
"properties": {
|
||||
"dumbpilot.completionEnabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable predictive code completion"
|
||||
},
|
||||
"dumbpilot.fimEnabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Enable Fill in Middle mode, defaults to Up-to cursor context"
|
||||
},
|
||||
"dumbpilot.llamaHost": {
|
||||
"type": "string",
|
||||
"default": "http://0.0.0.0:8080",
|
||||
"description": "llama.cpp server address"
|
||||
},
|
||||
"dumbpilot.llamaCtxsize": {
|
||||
"type": "number",
|
||||
"default": 2048
|
||||
},
|
||||
"dumbpilot.llamaMaxtokens": {
|
||||
"type": "number",
|
||||
"default": -1
|
||||
},
|
||||
"dumbpilot.llamaMirostat": {
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"dumbpilot.llamaRepeatPenalty": {
|
||||
"type": "number",
|
||||
"default": 1.11
|
||||
},
|
||||
"dumbpilot.llamaFrequencyPenalty": {
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"dumbpilot.llamaPresencePenalty": {
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"dumbpilot.llamaRepeatCtx": {
|
||||
"type": "number",
|
||||
"default": 256
|
||||
},
|
||||
"dumbpilot.llamaTemperature": {
|
||||
"type": "number",
|
||||
"default": 0.25
|
||||
},
|
||||
"dumbpilot.llamaTop_p": {
|
||||
"type": "number",
|
||||
"default": 0.95
|
||||
},
|
||||
"dumbpilot.llamaTop_k": {
|
||||
"type": "number",
|
||||
"default": 40
|
||||
},
|
||||
"dumbpilot.llamaTypical_p": {
|
||||
"type": "number",
|
||||
"default": 0.95
|
||||
},
|
||||
"dumbpilot.llamaTailfree_z": {
|
||||
"type": "number",
|
||||
"default": 0.5
|
||||
},
|
||||
"dumbpilot.llamaSeed": {
|
||||
"type": "number",
|
||||
"default": -1
|
||||
},
|
||||
"dumbpilot.fimBeginString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁begin|>"
|
||||
},
|
||||
"dumbpilot.fimHoleString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁hole|>"
|
||||
},
|
||||
"dumbpilot.fimEndString": {
|
||||
"type": "string",
|
||||
"default": "<|fim▁end|>"
|
||||
},
|
||||
"dumbpilot.useFillInMiddleRequest": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Use the fill in middle request type provided by llama.cpp server, otherwise use the FIM token strings to delimit the text"
|
||||
},
|
||||
"dumbpilot.llamaCachePrompt": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable prompt caching for faster results"
|
||||
},
|
||||
"dumbpilot.llamaInstructModel": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "For use with instruct models"
|
||||
},
|
||||
"dumbpilot.llamaSystemPrompt": {
|
||||
"type": "string",
|
||||
"description": "The system prompt that the model considers at the beginning of every request, used by instruct models"
|
||||
},
|
||||
"dumbpilot.llamaUseOpenAIAPI": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Use the OpenAI API to make requests to the server instead of the llama.cpp server API"
|
||||
},
|
||||
"dumbpilot.llamaModelName": {
|
||||
"type": "string",
|
||||
"default": "deepseek-coder-6.7B-base.gguf",
|
||||
"description": "Name of the model to use, only works in OpenAI API mode"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "tsc -watch -p ./",
|
||||
"pretest": "npm run compile && npm run lint",
|
||||
"lint": "eslint src --ext ts",
|
||||
"test": "node ./out/test/runTest.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/vscode": "^1.84.0",
|
||||
"@types/mocha": "^10.0.3",
|
||||
"@types/node": "18.x",
|
||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
||||
"@typescript-eslint/parser": "^6.9.0",
|
||||
"eslint": "^8.52.0",
|
||||
"glob": "^10.3.10",
|
||||
"mocha": "^10.2.0",
|
||||
"typescript": "^5.2.2",
|
||||
"@vscode/test-electron": "^2.3.6"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 4,
|
||||
"printWidth": 100,
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
}
|
||||
|
@ -1,91 +1,91 @@
|
||||
{
|
||||
"ada": ["--", ""],
|
||||
"agda": ["--", ""],
|
||||
"alloy": ["//", ""],
|
||||
"antlr": ["#", ""],
|
||||
"applescript": ["--", ""],
|
||||
"assembly": [";", ""],
|
||||
"augeas": ["##", ""],
|
||||
"awk": ["#", ""],
|
||||
"batchfile": ["::", ""],
|
||||
"bluespec": ["//", ""],
|
||||
"c-sharp": ["///", ""],
|
||||
"c": ["//", ""],
|
||||
"clojure": [";;", ""],
|
||||
"cmake": ["#", ""],
|
||||
"coffeescript": ["#", ""],
|
||||
"common-lisp": [";;;", ""],
|
||||
"cpp": ["//", ""],
|
||||
"css": ["/*", "*/"],
|
||||
"cuda": ["//", ""],
|
||||
"dart": ["//", ""],
|
||||
"dockerfile": ["#", ""],
|
||||
"elixir": ["#", ""],
|
||||
"elm": ["--", ""],
|
||||
"emacs-lisp": [";;;", ""],
|
||||
"erlang": ["%", ""],
|
||||
"f-sharp": ["//", ""],
|
||||
"fortran": ["!", ""],
|
||||
"glsl": ["//", ""],
|
||||
"go": ["//", ""],
|
||||
"groovy": ["//", ""],
|
||||
"haskell": ["--", ""],
|
||||
"html": ["<!--", "-->"],
|
||||
"idris": ["|||", ""],
|
||||
"isabelle": ["--", ""],
|
||||
"java-server-pages": ["<%--", "--%>"],
|
||||
"java": ["//", ""],
|
||||
"javascript": ["//", ""],
|
||||
"json": ["\"comment\":\"", "\","],
|
||||
"julia": ["#", ""],
|
||||
"jupyter-notebook": ["#", ""],
|
||||
"kotlin": ["//", ""],
|
||||
"lean": ["/--", "-/"],
|
||||
"literate-agda": ["--", ""],
|
||||
"literate-coffeescript": ["#", ""],
|
||||
"literate-haskell": ["--", ""],
|
||||
"lua": ["--", ""],
|
||||
"makefile": ["#", ""],
|
||||
"maple": ["#", ""],
|
||||
"markdown": ["<!---", "-->"],
|
||||
"mathematica": ["(*", "*)"],
|
||||
"matlab": ["%", ""],
|
||||
"ocaml": ["(*", "*)"],
|
||||
"pascal": ["(*", "*)"],
|
||||
"perl": ["#", ""],
|
||||
"php": ["//", ""],
|
||||
"powershell": ["#", ""],
|
||||
"prolog": ["/*", "*/"],
|
||||
"protocol-buffer": ["//", ""],
|
||||
"python": ["#", ""],
|
||||
"r": ["#", ""],
|
||||
"racket": [";", ""],
|
||||
"restructuredtext": [".. ", ""],
|
||||
"rmarkdown": ["<!--", "-->"],
|
||||
"ruby": ["#", ""],
|
||||
"rust": ["//", ""],
|
||||
"sas": ["/*", "*/"],
|
||||
"scala": ["//", ""],
|
||||
"scheme": [";", ""],
|
||||
"shell": ["#", ""],
|
||||
"smalltalk": ["\"", "\""],
|
||||
"solidity": ["//", ""],
|
||||
"sparql": ["#", ""],
|
||||
"sql": ["--", ""],
|
||||
"stan": ["//", ""],
|
||||
"standard-ml": ["(*", "*)"],
|
||||
"stata": ["//", ""],
|
||||
"systemverilog": ["//", ""],
|
||||
"tcl": ["#", ""],
|
||||
"tcsh": [": ", ""],
|
||||
"tex": ["%", ""],
|
||||
"thrift": ["//", ""],
|
||||
"typescript": ["//", ""],
|
||||
"verilog": ["//", ""],
|
||||
"vhdl": ["--", ""],
|
||||
"visual-basic": ["'", ""],
|
||||
"xslt": ["<xsl:comment>", "</xsl:comment>"],
|
||||
"yacc": ["//", ""],
|
||||
"yaml": ["#", ""],
|
||||
"zig": ["//", ""]
|
||||
}
|
||||
"ada": ["--", ""],
|
||||
"agda": ["--", ""],
|
||||
"alloy": ["//", ""],
|
||||
"antlr": ["#", ""],
|
||||
"applescript": ["--", ""],
|
||||
"assembly": [";", ""],
|
||||
"augeas": ["##", ""],
|
||||
"awk": ["#", ""],
|
||||
"batchfile": ["::", ""],
|
||||
"bluespec": ["//", ""],
|
||||
"c-sharp": ["///", ""],
|
||||
"c": ["//", ""],
|
||||
"clojure": [";;", ""],
|
||||
"cmake": ["#", ""],
|
||||
"coffeescript": ["#", ""],
|
||||
"common-lisp": [";;;", ""],
|
||||
"cpp": ["//", ""],
|
||||
"css": ["/*", "*/"],
|
||||
"cuda": ["//", ""],
|
||||
"dart": ["//", ""],
|
||||
"dockerfile": ["#", ""],
|
||||
"elixir": ["#", ""],
|
||||
"elm": ["--", ""],
|
||||
"emacs-lisp": [";;;", ""],
|
||||
"erlang": ["%", ""],
|
||||
"f-sharp": ["//", ""],
|
||||
"fortran": ["!", ""],
|
||||
"glsl": ["//", ""],
|
||||
"go": ["//", ""],
|
||||
"groovy": ["//", ""],
|
||||
"haskell": ["--", ""],
|
||||
"html": ["<!--", "-->"],
|
||||
"idris": ["|||", ""],
|
||||
"isabelle": ["--", ""],
|
||||
"java-server-pages": ["<%--", "--%>"],
|
||||
"java": ["//", ""],
|
||||
"javascript": ["//", ""],
|
||||
"json": ["\"comment\":\"", "\","],
|
||||
"julia": ["#", ""],
|
||||
"jupyter-notebook": ["#", ""],
|
||||
"kotlin": ["//", ""],
|
||||
"lean": ["/--", "-/"],
|
||||
"literate-agda": ["--", ""],
|
||||
"literate-coffeescript": ["#", ""],
|
||||
"literate-haskell": ["--", ""],
|
||||
"lua": ["--", ""],
|
||||
"makefile": ["#", ""],
|
||||
"maple": ["#", ""],
|
||||
"markdown": ["<!---", "-->"],
|
||||
"mathematica": ["(*", "*)"],
|
||||
"matlab": ["%", ""],
|
||||
"ocaml": ["(*", "*)"],
|
||||
"pascal": ["(*", "*)"],
|
||||
"perl": ["#", ""],
|
||||
"php": ["//", ""],
|
||||
"powershell": ["#", ""],
|
||||
"prolog": ["/*", "*/"],
|
||||
"protocol-buffer": ["//", ""],
|
||||
"python": ["#", ""],
|
||||
"r": ["#", ""],
|
||||
"racket": [";", ""],
|
||||
"restructuredtext": [".. ", ""],
|
||||
"rmarkdown": ["<!--", "-->"],
|
||||
"ruby": ["#", ""],
|
||||
"rust": ["//", ""],
|
||||
"sas": ["/*", "*/"],
|
||||
"scala": ["//", ""],
|
||||
"scheme": [";", ""],
|
||||
"shell": ["#", ""],
|
||||
"smalltalk": ["\"", "\""],
|
||||
"solidity": ["//", ""],
|
||||
"sparql": ["#", ""],
|
||||
"sql": ["--", ""],
|
||||
"stan": ["//", ""],
|
||||
"standard-ml": ["(*", "*)"],
|
||||
"stata": ["//", ""],
|
||||
"systemverilog": ["//", ""],
|
||||
"tcl": ["#", ""],
|
||||
"tcsh": [": ", ""],
|
||||
"tex": ["%", ""],
|
||||
"thrift": ["//", ""],
|
||||
"typescript": ["//", ""],
|
||||
"verilog": ["//", ""],
|
||||
"vhdl": ["--", ""],
|
||||
"visual-basic": ["'", ""],
|
||||
"xslt": ["<xsl:comment>", "</xsl:comment>"],
|
||||
"yacc": ["//", ""],
|
||||
"yaml": ["#", ""],
|
||||
"zig": ["//", ""]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user