mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update
This commit is contained in:
3 files changed
+10
-8
No files matched your search
@@ -30,6 +30,7 @@ class CodelensProvider implements vscode.CodeLensProvider {
|
|||||||
const text = document.getText();
|
const text = document.getText();
|
||||||
let matches;
|
let matches;
|
||||||
const users = [];
|
const users = [];
|
||||||
|
// eslint-disable-next-line no-cond-assign
|
||||||
while ((matches = regex.exec(text)) !== null) {
|
while ((matches = regex.exec(text)) !== null) {
|
||||||
const line = document.lineAt(document.positionAt(matches.index).line);
|
const line = document.lineAt(document.positionAt(matches.index).line);
|
||||||
const indexOf = line.text.indexOf(matches[0]);
|
const indexOf = line.text.indexOf(matches[0]);
|
||||||
@@ -43,6 +44,7 @@ class CodelensProvider implements vscode.CodeLensProvider {
|
|||||||
// uname
|
// uname
|
||||||
// }
|
// }
|
||||||
// `);
|
// `);
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
||||||
for (const { matches, range } of users) {
|
for (const { matches, range } of users) {
|
||||||
codeLenses.push(new vscode.CodeLens(range, {
|
codeLenses.push(new vscode.CodeLens(range, {
|
||||||
command: 'hydro.openUserPage',
|
command: 'hydro.openUserPage',
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const loaders = {
|
|||||||
import('@codingame/monaco-vscode-markdown-language-features-default-extension'),
|
import('@codingame/monaco-vscode-markdown-language-features-default-extension'),
|
||||||
import('@codingame/monaco-vscode-markdown-math-default-extension'),
|
import('@codingame/monaco-vscode-markdown-math-default-extension'),
|
||||||
]),
|
]),
|
||||||
typescript: async () => await import('@codingame/monaco-vscode-typescript-language-features-default-extension'),
|
// typescript: async () => await import('@codingame/monaco-vscode-typescript-language-features-default-extension'), // 15.3 MiB Compressed
|
||||||
cpp: async () => await import('@codingame/monaco-vscode-cpp-default-extension'),
|
cpp: async () => await import('@codingame/monaco-vscode-cpp-default-extension'),
|
||||||
yaml: async () => await import('@codingame/monaco-vscode-yaml-default-extension'),
|
yaml: async () => await import('@codingame/monaco-vscode-yaml-default-extension'),
|
||||||
external: async (monaco, feat) => {
|
external: async (monaco, feat) => {
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blueprintjs/core": "^5.10.5",
|
"@blueprintjs/core": "^5.10.5",
|
||||||
"@codingame/monaco-editor-wrapper": "^7.2.1",
|
"@codingame/monaco-editor-wrapper": "^8.1.0",
|
||||||
"@codingame/monaco-vscode-language-pack-ko": "6.0.3",
|
"@codingame/monaco-vscode-language-pack-ko": "7.0.5",
|
||||||
"@codingame/monaco-vscode-language-pack-zh-hans": "6.0.3",
|
"@codingame/monaco-vscode-language-pack-zh-hans": "7.0.5",
|
||||||
"@codingame/monaco-vscode-language-pack-zh-hant": "6.0.3",
|
"@codingame/monaco-vscode-language-pack-zh-hant": "7.0.5",
|
||||||
"@codingame/monaco-vscode-typescript-language-features-default-extension": "6.0.3",
|
"@codingame/monaco-vscode-typescript-language-features-default-extension": "7.0.5",
|
||||||
"@cordisjs/core": "3.17.3",
|
"@cordisjs/core": "3.17.3",
|
||||||
"@fontsource/dm-mono": "^5.0.20",
|
"@fontsource/dm-mono": "^5.0.20",
|
||||||
"@fontsource/fira-code": "^5.0.18",
|
"@fontsource/fira-code": "^5.0.18",
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
"md-editor-rt": "^4.17.3",
|
"md-editor-rt": "^4.17.3",
|
||||||
"mini-css-extract-plugin": "^2.9.0",
|
"mini-css-extract-plugin": "^2.9.0",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@6.0.3",
|
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@7.0.5",
|
||||||
"monaco-languageclient": "^8.4.0",
|
"monaco-languageclient": "^8.4.0",
|
||||||
"monaco-themes": "^0.4.4",
|
"monaco-themes": "^0.4.4",
|
||||||
"monaco-yaml": "5.1.1",
|
"monaco-yaml": "5.1.1",
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
"util": "^0.12.5",
|
"util": "^0.12.5",
|
||||||
"vditor": "^3.10.4",
|
"vditor": "^3.10.4",
|
||||||
"vinyl-buffer": "^1.0.1",
|
"vinyl-buffer": "^1.0.1",
|
||||||
"vscode": "npm:@codingame/monaco-vscode-api@^6.0.3",
|
"vscode": "npm:@codingame/monaco-vscode-api@^7.0.5",
|
||||||
"web-streams-polyfill": "^4.0.0",
|
"web-streams-polyfill": "^4.0.0",
|
||||||
"webpack": "^5.92.1",
|
"webpack": "^5.92.1",
|
||||||
"webpack-bundle-analyzer": "^4.10.2",
|
"webpack-bundle-analyzer": "^4.10.2",
|
||||||
|
|||||||
Reference in new issue
Block a user