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