Skip to content

update #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<p align="center">
<a href="https://github.com/ccagml/leetcode_extension/actions/workflows/release.yml">
<a href="https://github.com/ccagml/leetcode_ext/actions/workflows/release.yml">
<img src="https://img.shields.io/github/actions/workflow/status/ccagml/vscode-leetcode-problem-rating/release.yml?branch=release" alt="">
</a>
<a href="https://marketplace.visualstudio.com/items?itemName=ccagml.vscode-leetcode-problem-rating">
<img src="https://img.shields.io/visual-studio-marketplace/d/ccagml.vscode-leetcode-problem-rating.svg?style=flat-square" alt="">
</a>
<a href="https://github.com/ccagml/leetcode_extension/blob/main/LICENSE">
<a href="https://github.com/ccagml/leetcode_ext/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/ccagml/vscode-leetcode-problem-rating" alt="">
</a>
</p>
Expand All @@ -32,8 +32,8 @@

# 关于本项目

- [项目地址:https://github.com/ccagml/leetcode_extension/](https://github.com/ccagml/leetcode_extension/)
- [报告问题](https://github.com/ccagml/leetcode_extension/issues)
- [项目地址:https://github.com/ccagml/leetcode_ext/](https://github.com/ccagml/leetcode_ext/)
- [报告问题](https://github.com/ccagml/leetcode_ext/issues)
- [疑难解答](https://github.com/LeetCode-OpenSource/vscode-leetcode/wiki/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94)
- [常见问题](https://github.com/LeetCode-OpenSource/vscode-leetcode/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
- 趁着现在只有<img src="https://img.shields.io/github/stars/ccagml/vscode-leetcode-problem-rating" alt="">提交一个 PR 就能成为项目元老了
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"repository": {
"type": "git",
"url": "https://github.com/ccagml/leetcode_extension"
"url": "https://github.com/ccagml/leetcode_ext"
},
"homepage": "https://github.com/ccagml/leetcode_extension/README.md",
"homepage": "https://github.com/ccagml/leetcode_ext/README.md",
"categories": [
"Other",
"Snippets",
Expand Down
4 changes: 2 additions & 2 deletions src/controller/BricksViewController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/controller/BricksViewController.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/controller/BricksViewController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Tuesday, November 22nd 2022, 11:04:59 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/EventController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/controller/EventController.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/controller/EventController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, October 31st 2022, 10:16:47 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/FileButtonController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/controller/FileButtonController.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/controller/FileButtonController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, October 27th 2022, 7:43:29 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/LoginController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/controller/LoginController.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/controller/LoginController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 10th 2022, 3:06:12 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/MainController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/controller/MainController.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/controller/MainController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 10th 2022, 2:18:21 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/RemarkController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/controller/RemarkController.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/controller/RemarkController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 28th 2022, 3:29:37 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/controller/TreeViewController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/controller/TreeViewController.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/controller/TreeViewController.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, October 27th 2022, 7:43:29 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/dao/bricksDao.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/dao/bricksDao.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/dao/bricksDao.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Wednesday, November 23rd 2022, 4:36:38 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/dao/choiceDao.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/dao/choiceDao.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/dao/choiceDao.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 10th 2022, 11:34:10 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/dao/groupDao.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/dao/groupDao.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/dao/groupDao.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Wednesday, November 30th 2022, 9:47:36 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/dao/scoreDao.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/dao/scoreDao.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/dao/scoreDao.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 10th 2022, 11:40:22 pm
* Author: ccagml
*
Expand Down
64 changes: 32 additions & 32 deletions src/dao/tagsDao.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/dao/tagsDao.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/dao/tagsDao.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 10th 2022, 11:38:10 pm
* Author: ccagml
*
Expand Down Expand Up @@ -4600,74 +4600,74 @@ class TagsDao {
};

private tags_name = {
"array": "数组",
array: "数组",
"hash-table": "哈希表",
"recursion": "递归",
recursion: "递归",
"linked-list": "链表",
"math": "数学",
"string": "字符串",
math: "数学",
string: "字符串",
"sliding-window": "滑动窗口",
"binary-search": "二分搜索",
"divide-and-conquer": "分治",
"dynamic-programming": "动态规划",
"greedy": "贪心",
greedy: "贪心",
"two-pointers": "双指针",
"sorting": "排序",
"backtracking": "回溯",
"stack": "堆",
sorting: "排序",
backtracking: "回溯",
stack: "堆",
"heap-priority-queue": "优先级队列",
"merge-sort": "归并排序",
"string-matching": "字符串匹配",
"bit-manipulation": "位操作",
"matrix": "矩阵",
matrix: "矩阵",
"monotonic-stack": "单调栈",
"simulation": "模拟",
"combinatorics": "组合学",
"memoization": "记忆",
"tree": "树",
simulation: "模拟",
combinatorics: "组合学",
memoization: "记忆",
tree: "树",
"depth-first-search": "深度优先搜索",
"binary-tree": "二叉树",
"binary-search-tree": "二叉搜索树",
"breadth-first-search": "广度优先搜索",
"union-find": "并查集",
"graph": "图",
"trie": "尝试",
"design": "设计",
graph: "图",
trie: "尝试",
design: "设计",
"doubly-linked-list": "双向链表",
"geometry": "几何学",
"interactive": "交互的",
geometry: "几何学",
interactive: "交互的",
"bucket-sort": "桶排序",
"radix-sort": "基数排序",
"counting": "数数",
counting: "数数",
"data-stream": "数据流",
"iterator": "迭代器",
"database": "数据库",
iterator: "迭代器",
database: "数据库",
"hash-function": "散列函数",
"rolling-hash": "滚动哈希",
"shell": "脚本",
"enumeration": "枚举",
shell: "脚本",
enumeration: "枚举",
"number-theory": "数论",
"topological-sort": "拓扑排序",
"prefix-sum": "前缀和",
"quickselect": "快速选择",
quickselect: "快速选择",
"binary-indexed-tree": "二进制索引树",
"segment-tree": "线段树",
"ordered-set": "有序集",
"line-sweep": "扫描线",
"queue": "队列",
queue: "队列",
"monotonic-queue": "单调队列",
"counting-sort": "计数排序",
"brainteaser": "脑筋急转弯",
brainteaser: "脑筋急转弯",
"game-theory": "博弈论",
"eulerian-circuit": "欧拉回路",
"randomized": "随机",
randomized: "随机",
"reservoir-sampling": "水库采样",
"shortest-path": "最短路径",
"bitmask": "位掩码",
bitmask: "位掩码",
"rejection-sampling": "拒绝抽样",
"probability-and-statistics": "概率和统计",
"suffix-array": "后缀数组",
"concurrency": "并发",
concurrency: "并发",
"minimum-spanning-tree": "最小生成树",
"biconnected-component": "双连接组件",
"strongly-connected-component": "强连接组件",
Expand All @@ -4679,7 +4679,7 @@ class TagsDao {
}

public getTagsDataEn(fid: string): Array<string> {
return this.tagsData[fid]?.topicTags
return this.tagsData[fid]?.topicTags;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/extension.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/extension.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, October 31st 2022, 10:16:47 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/model/Model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/model/Model.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/model/Model.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, October 27th 2022, 7:43:29 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/model/NodeModel.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/model/NodeMOdel.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/model/NodeMOdel.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, October 27th 2022, 7:43:29 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/actionChain/chainManager.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/chainMgr.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/chainMgr.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/actionChain/chainNode/cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/cache.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/cache.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/actionChain/chainNode/core.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/core.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/core.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/actionChain/chainNode/leetcode.cn.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/leetcode.cn.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/leetcode.cn.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down
8 changes: 4 additions & 4 deletions src/rpc/actionChain/chainNode/leetcode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/leetcode.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/leetcode.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down Expand Up @@ -730,7 +730,7 @@ and csrf token to the user object and saves the user object to the session. */
// result.userStatus = body.data.todayRecord[0].userStatus;
// return cb(null, result);
// });
cb(null, {})
cb(null, {});
};

/* A function that is used to get the user contest ranking information. */
Expand Down Expand Up @@ -779,7 +779,7 @@ and csrf token to the user object and saves the user object to the session. */

// return cb(null, body.data);
// });
cb(null, {})
cb(null, {});
};

getHelpOnline = (problem, _, lang) => {
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/actionChain/chainNode/retry.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/actionChain/retry.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/actionChain/retry.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Monday, November 14th 2022, 4:04:31 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/childMain.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Filename: https://github.com/ccagml/leetcode_extension/src/rpc/cli.ts
* Path: https://github.com/ccagml/leetcode_extension
* Filename: https://github.com/ccagml/leetcode_ext/src/rpc/cli.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, October 27th 2022, 7:43:29 pm
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/factory/api/cacheApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/factory/api/cacheApi.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/factory/api/cacheApi.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 17th 2022, 11:44:14 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/factory/api/pluginApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/factory/api/pluginApi.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/factory/api/pluginApi.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 17th 2022, 11:44:14 am
* Author: ccagml
*
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/factory/api/queryApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* https://github.com/ccagml/leetcode_extension/src/rpc/factory/api/queryApi.ts
* Path: https://github.com/ccagml/leetcode_extension
* https://github.com/ccagml/leetcode_ext/src/rpc/factory/api/queryApi.ts
* Path: https://github.com/ccagml/leetcode_ext
* Created Date: Thursday, November 17th 2022, 11:44:14 am
* Author: ccagml
*
Expand Down
Loading