update
This commit is contained in:
parent
916e340026
commit
938c46e2ca
@ -12,7 +12,8 @@ Feature
|
|||||||
|
|
||||||
Bug 修复
|
Bug 修复
|
||||||
- Verilog 参数例化位置错误
|
- Verilog 参数例化位置错误
|
||||||
- 文档化的部分问题
|
- [issue-51] 文档化的部分问题
|
||||||
|
- 点击 Refuse 会在用户工作区创建 json 文件
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -64,7 +64,7 @@ async function callParser(path, func) {
|
|||||||
if (res && res.value === true) {
|
if (res && res.value === true) {
|
||||||
vscode.env.openExternal(vscode.Uri.parse(githubIssueUrl));
|
vscode.env.openExternal(vscode.Uri.parse(githubIssueUrl));
|
||||||
} else if (res && res.value === false) {
|
} else if (res && res.value === false) {
|
||||||
dsaSetting.update('propose.issue', true);
|
dsaSetting.update('propose.issue', true, vscode.ConfigurationTarget.Global);
|
||||||
}
|
}
|
||||||
|
|
||||||
return undefined;
|
return undefined;
|
||||||
|
@ -36,13 +36,14 @@ async function launch(context: vscode.ExtensionContext) {
|
|||||||
// show welcome information (if first install)
|
// show welcome information (if first install)
|
||||||
const welcomeSetting = vscode.workspace.getConfiguration('digital-ide.welcome');
|
const welcomeSetting = vscode.workspace.getConfiguration('digital-ide.welcome');
|
||||||
const showWelcome = welcomeSetting.get('show', true);
|
const showWelcome = welcomeSetting.get('show', true);
|
||||||
|
|
||||||
if (showWelcome) {
|
if (showWelcome) {
|
||||||
// don't show in next time
|
// don't show in next time
|
||||||
welcomeSetting.update('show', false);
|
welcomeSetting.update('show', false, vscode.ConfigurationTarget.Global);
|
||||||
const res = await vscode.window.showInformationMessage(
|
const res = await vscode.window.showInformationMessage(
|
||||||
'Thanks for using Digital-IDE ❤️. Your star will be our best motivation! 😊',
|
'Thanks for using Digital-IDE ❤️. Your star will be our best motivation! 😊',
|
||||||
{ title: 'Star', value: true },
|
{ title: 'Star', value: true },
|
||||||
{ title: 'Refuse', value: true },
|
{ title: 'Refuse', value: false },
|
||||||
);
|
);
|
||||||
if (res?.value) {
|
if (res?.value) {
|
||||||
vscode.env.openExternal(vscode.Uri.parse(extensionUrl));
|
vscode.env.openExternal(vscode.Uri.parse(extensionUrl));
|
||||||
|
@ -86,6 +86,7 @@ class VlogDefinitionProvider implements vscode.DefinitionProvider {
|
|||||||
|
|
||||||
// match instance
|
// match instance
|
||||||
const instResult = util.matchInstance(targetWord, currentModule);
|
const instResult = util.matchInstance(targetWord, currentModule);
|
||||||
|
|
||||||
if (instResult) {
|
if (instResult) {
|
||||||
const instModule = instResult.module;
|
const instModule = instResult.module;
|
||||||
if (!instModule || !instResult.instModPath) {
|
if (!instModule || !instResult.instModPath) {
|
||||||
|
@ -65,6 +65,8 @@ async function testbench() {
|
|||||||
console.log(path);
|
console.log(path);
|
||||||
|
|
||||||
const currentHdlFile = hdlParam.getHdlFile(path);
|
const currentHdlFile = hdlParam.getHdlFile(path);
|
||||||
|
console.log(currentHdlFile);
|
||||||
|
|
||||||
if (!currentHdlFile) {
|
if (!currentHdlFile) {
|
||||||
vscode.window.showErrorMessage('There is no hdlFile respect to ' + path);
|
vscode.window.showErrorMessage('There is no hdlFile respect to ' + path);
|
||||||
return;
|
return;
|
||||||
|
@ -181,8 +181,6 @@ class ModuleTreeProvider implements vscode.TreeDataProvider<ModuleDataItem> {
|
|||||||
const range = firstTop.range;
|
const range = firstTop.range;
|
||||||
const parent = element;
|
const parent = element;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const tops = topModuleItemList.filter(item => item.path === path && item.name === name);
|
const tops = topModuleItemList.filter(item => item.path === path && item.name === name);
|
||||||
const adjustItemList = [];
|
const adjustItemList = [];
|
||||||
if (tops.length > 0 || !hdlParam.hasHdlModule(path, name)) {
|
if (tops.length > 0 || !hdlParam.hasHdlModule(path, name)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user