coc-code-runner 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/index.js +2 -2
- package/package.json +3 -6
package/README.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -6453,7 +6453,7 @@ async function activate(context) {
|
|
|
6453
6453
|
new RunCodeActionProvider(),
|
|
6454
6454
|
"code-runner"
|
|
6455
6455
|
),
|
|
6456
|
-
import_coc4.commands.registerCommand("
|
|
6456
|
+
import_coc4.commands.registerCommand("code-runner.stop", async () => {
|
|
6457
6457
|
if (_channel) {
|
|
6458
6458
|
_channel.appendLine("[Stopped] Process has been stopped by user.");
|
|
6459
6459
|
_channel.hide();
|
|
@@ -6465,7 +6465,7 @@ async function activate(context) {
|
|
|
6465
6465
|
}
|
|
6466
6466
|
import_coc4.window.showInformationMessage("Code execution stopped.");
|
|
6467
6467
|
}),
|
|
6468
|
-
import_coc4.commands.registerCommand("
|
|
6468
|
+
import_coc4.commands.registerCommand("code-runner.run", async () => {
|
|
6469
6469
|
if (_channel) {
|
|
6470
6470
|
_channel.dispose();
|
|
6471
6471
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-code-runner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Code Runner for coc.nvim",
|
|
5
5
|
"author": "cyl <a1008611abcd@126.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -82,9 +82,6 @@
|
|
|
82
82
|
"lisp": "sbcl --script",
|
|
83
83
|
"kit": "kitc --run",
|
|
84
84
|
"v": "v run",
|
|
85
|
-
"sass": "sass --style expanded",
|
|
86
|
-
"scss": "scss --style expanded",
|
|
87
|
-
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
|
|
88
85
|
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
|
|
89
86
|
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
|
|
90
87
|
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
|
|
@@ -103,11 +100,11 @@
|
|
|
103
100
|
},
|
|
104
101
|
"commands": [
|
|
105
102
|
{
|
|
106
|
-
"command": "
|
|
103
|
+
"command": "code-runner.run",
|
|
107
104
|
"title": "Run Code"
|
|
108
105
|
},
|
|
109
106
|
{
|
|
110
|
-
"command": "
|
|
107
|
+
"command": "code-runner.stop",
|
|
111
108
|
"title": "Stop Run Code"
|
|
112
109
|
}
|
|
113
110
|
]
|