update: 修改 open wiki 命令归属于 gitlab 分组
This commit is contained in:
parent
63cbf7f3ef
commit
c9dc688c2a
|
@ -13,8 +13,8 @@
|
||||||
- 项:打开对应路径的 wiki 界面
|
- 项:打开对应路径的 wiki 界面
|
||||||
- 命令(Command)
|
- 命令(Command)
|
||||||
- 搜索实体视图(Search Entity View):ibiz-modeling-studio.mos-fs.search-entity-view
|
- 搜索实体视图(Search Entity View):ibiz-modeling-studio.mos-fs.search-entity-view
|
||||||
- 打开 wiki(Open Wiki):command.ibiz-modeling-studio.mos-fs.open-wiki
|
- 打开 wiki(Open Wiki):command.ibiz-modeling-studio.gitlab.open-wiki
|
||||||
- 打开项目(Open Project GitLab):ibiz-modeling-studio.gitlab.open-project
|
- 打开项目 GitLab(Open Project GitLab):ibiz-modeling-studio.gitlab.open-project
|
||||||
- .ibizproject 文件
|
- .ibizproject 文件
|
||||||
- 新增:git-remote 参数
|
- 新增:git-remote 参数
|
||||||
|
|
||||||
|
|
20
package.json
20
package.json
|
@ -95,15 +95,6 @@
|
||||||
"dark": "resources/icon/dark/model-runtime.svg"
|
"dark": "resources/icon/dark/model-runtime.svg"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"command": "ibiz-modeling-studio.mos-fs.open-wiki",
|
|
||||||
"title": "%command.ibiz-modeling-studio.mos-fs.open-wiki%",
|
|
||||||
"category": "%command.ibiz-modeling-studio.category%",
|
|
||||||
"icon": {
|
|
||||||
"light": "resources/icon/light/model-wiki.svg",
|
|
||||||
"dark": "resources/icon/dark/model-wiki.svg"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
|
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
|
||||||
"title": "%command.ibiz-modeling-studio.mos-fs.open-model-by-path%",
|
"title": "%command.ibiz-modeling-studio.mos-fs.open-model-by-path%",
|
||||||
|
@ -137,6 +128,15 @@
|
||||||
"category": "%command.ibiz-modeling-studio.category%",
|
"category": "%command.ibiz-modeling-studio.category%",
|
||||||
"icon": "resources/icon/gitlab.svg"
|
"icon": "resources/icon/gitlab.svg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"command": "ibiz-modeling-studio.gitlab.open-wiki",
|
||||||
|
"title": "%command.ibiz-modeling-studio.gitlab.open-wiki%",
|
||||||
|
"category": "%command.ibiz-modeling-studio.category%",
|
||||||
|
"icon": {
|
||||||
|
"light": "resources/icon/light/model-wiki.svg",
|
||||||
|
"dark": "resources/icon/dark/model-wiki.svg"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "ibiz-modeling-studio.user.login-reply-path-handle",
|
"command": "ibiz-modeling-studio.user.login-reply-path-handle",
|
||||||
"title": "处理粘贴板中的登录地址",
|
"title": "处理粘贴板中的登录地址",
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
],
|
],
|
||||||
"view/item/context": [
|
"view/item/context": [
|
||||||
{
|
{
|
||||||
"command": "ibiz-modeling-studio.mos-fs.open-wiki",
|
"command": "ibiz-modeling-studio.gitlab.open-wiki",
|
||||||
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL",
|
"when": "view == iBizExplorer.ModelExpTree && viewItem == MODEL",
|
||||||
"group": "inline@10"
|
"group": "inline@10"
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
"command.ibiz-modeling-studio.mos-fs.copy-path": "Copy Path",
|
"command.ibiz-modeling-studio.mos-fs.copy-path": "Copy Path",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-file": "Open Model",
|
"command.ibiz-modeling-studio.mos-fs.open-file": "Open Model",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-runtime": "Open Model Runtime",
|
"command.ibiz-modeling-studio.mos-fs.open-runtime": "Open Model Runtime",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-wiki": "Open Wiki",
|
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "Open Model By Path",
|
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "Open Model By Path",
|
||||||
"command.ibiz-modeling-studio.mos-fs.search-entity": "Search Entity",
|
"command.ibiz-modeling-studio.mos-fs.search-entity": "Search Entity",
|
||||||
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "Search Entity View",
|
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "Search Entity View",
|
||||||
"command.ibiz-modeling-studio.gitlab.open-project": "Open Project GitLab",
|
"command.ibiz-modeling-studio.gitlab.open-project": "Open Project GitLab",
|
||||||
|
"command.ibiz-modeling-studio.gitlab.open-wiki": "Open Wiki",
|
||||||
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "Modeling Studio Domain",
|
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "Modeling Studio Domain",
|
||||||
"properties.ibiz-modeling-studio.console.auto-display": "After the message terminal is closed, the terminal is reopened when the message is received",
|
"properties.ibiz-modeling-studio.console.auto-display": "After the message terminal is closed, the terminal is reopened when the message is received",
|
||||||
"properties.ibiz-modeling-studio.ibiz-modeling-link.enable": "Enable iBizModeling Link Recognition"
|
"properties.ibiz-modeling-studio.ibiz-modeling-link.enable": "Enable iBizModeling Link Recognition"
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
"command.ibiz-modeling-studio.mos-fs.copy-path": "复制路径",
|
"command.ibiz-modeling-studio.mos-fs.copy-path": "复制路径",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-file": "打开模型",
|
"command.ibiz-modeling-studio.mos-fs.open-file": "打开模型",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-runtime": "打开运行时",
|
"command.ibiz-modeling-studio.mos-fs.open-runtime": "打开运行时",
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-wiki": "打开Wiki",
|
|
||||||
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "根据路径查找模型",
|
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "根据路径查找模型",
|
||||||
"command.ibiz-modeling-studio.mos-fs.search-entity": "查找实体",
|
"command.ibiz-modeling-studio.mos-fs.search-entity": "查找实体",
|
||||||
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "查找实体视图",
|
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "查找实体视图",
|
||||||
"command.ibiz-modeling-studio.gitlab.open-project": "打开项目 GitLab",
|
"command.ibiz-modeling-studio.gitlab.open-project": "打开项目 GitLab",
|
||||||
|
"command.ibiz-modeling-studio.gitlab.open-wiki": "打开Wiki",
|
||||||
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "建模工场域",
|
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "建模工场域",
|
||||||
"properties.ibiz-modeling-studio.console.auto-display": "消息终端关闭后,收到时消息重新打开终端",
|
"properties.ibiz-modeling-studio.console.auto-display": "消息终端关闭后,收到时消息重新打开终端",
|
||||||
"properties.ibiz-modeling-studio.ibiz-modeling-link.enable": "启用 iBizModeling 链接识别"
|
"properties.ibiz-modeling-studio.ibiz-modeling-link.enable": "启用 iBizModeling 链接识别"
|
||||||
|
|
|
@ -15,7 +15,7 @@ import { isNilOrEmpty } from '../../util';
|
||||||
*/
|
*/
|
||||||
export class OpenWikiCommand {
|
export class OpenWikiCommand {
|
||||||
constructor() {
|
constructor() {
|
||||||
commands.registerCommand(CommandConst.MOS_FS.OPEN_WIKI, this.execute.bind(this));
|
commands.registerCommand(CommandConst.GITLAB.OPEN_WIKI, this.execute.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async execute(param: Entry | PSMosFile | string): Promise<void> {
|
protected async execute(param: Entry | PSMosFile | string): Promise<void> {
|
|
@ -4,7 +4,7 @@ import { OpenIBizModelingCommand } from './ibiz-modeling/open-ibiz-modeling';
|
||||||
import { CopyPathCommand } from './mos-fs/copy-path';
|
import { CopyPathCommand } from './mos-fs/copy-path';
|
||||||
import { OpenFileCommand } from './mos-fs/open-file';
|
import { OpenFileCommand } from './mos-fs/open-file';
|
||||||
import { OpenRuntimeCommand } from './mos-fs/open-runtime';
|
import { OpenRuntimeCommand } from './mos-fs/open-runtime';
|
||||||
import { OpenWikiCommand } from './mos-fs/open-wiki';
|
import { OpenWikiCommand } from './gitlab/open-wiki';
|
||||||
import { SearchEntityCommand } from './mos-fs/search-entity';
|
import { SearchEntityCommand } from './mos-fs/search-entity';
|
||||||
import { SearchEntityViewCommand } from './mos-fs/search-entity-view';
|
import { SearchEntityViewCommand } from './mos-fs/search-entity-view';
|
||||||
import { OpenModelByPathCommand } from './mos-fs/search-model';
|
import { OpenModelByPathCommand } from './mos-fs/search-model';
|
||||||
|
|
|
@ -15,4 +15,11 @@ export class GitLabConst {
|
||||||
* @date 2021-12-13 11:12:47
|
* @date 2021-12-13 11:12:47
|
||||||
*/
|
*/
|
||||||
readonly OPEN_PROJECT = 'ibiz-modeling-studio.gitlab.open-project';
|
readonly OPEN_PROJECT = 'ibiz-modeling-studio.gitlab.open-project';
|
||||||
|
/**
|
||||||
|
* 打开 wiki 界面
|
||||||
|
*
|
||||||
|
* @author chitanda
|
||||||
|
* @date 2021-12-12 13:12:06
|
||||||
|
*/
|
||||||
|
readonly OPEN_WIKI = 'ibiz-modeling-studio.gitlab.open-wiki';
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,13 +30,6 @@ export class MosFSConst {
|
||||||
* @date 2021-12-07 14:12:45
|
* @date 2021-12-07 14:12:45
|
||||||
*/
|
*/
|
||||||
readonly OPEN_RUNTIME = 'ibiz-modeling-studio.mos-fs.open-runtime';
|
readonly OPEN_RUNTIME = 'ibiz-modeling-studio.mos-fs.open-runtime';
|
||||||
/**
|
|
||||||
* 打开 wiki 界面
|
|
||||||
*
|
|
||||||
* @author chitanda
|
|
||||||
* @date 2021-12-12 13:12:06
|
|
||||||
*/
|
|
||||||
readonly OPEN_WIKI = 'ibiz-modeling-studio.mos-fs.open-wiki';
|
|
||||||
/**
|
/**
|
||||||
* 搜索模型
|
* 搜索模型
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue