From 60bebe24f15dd06b066f4d71cc1388be3ad6501c Mon Sep 17 00:00:00 2001 From: Kirigaya <1193466151@qq.com> Date: Sat, 15 Jul 2023 16:12:56 +0800 Subject: [PATCH] #fix monitor modify position of --- src/function/hdlDoc/markdown.ts | 5 +++++ src/monitor/event.ts | 5 +---- src/test/user/src/hello.v | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/function/hdlDoc/markdown.ts b/src/function/hdlDoc/markdown.ts index caaa1d9..017a5ce 100644 --- a/src/function/hdlDoc/markdown.ts +++ b/src/function/hdlDoc/markdown.ts @@ -146,6 +146,11 @@ async function getDocsFromFile(path: AbsPath): Promise { console.log('PpyAction unlink'); assert.equal(hdlPath.toSlash(path), opeParam.propertyJsonPath); await this.updateProperty(Event.Unlink, m); - prjManage.refreshPrjFolder(); } async change(path: string, m: HdlMonitor): Promise { console.log('PpyAction change'); assert.equal(hdlPath.toSlash(path), opeParam.propertyJsonPath); await this.updateProperty(Event.Change, m); - prjManage.refreshPrjFolder(); } // get path set from opeParam that used to tell if need to remake HdlMonitor @@ -201,11 +198,11 @@ class PpyAction extends BaseAction { // when delete, make ws path to be main parse path if (e === Event.Unlink) { console.log('unlink ppy, PrjInfoDefaults.arch:', PrjInfoDefaults.arch); - rawPrjInfo.arch = PrjInfoDefaults.arch; } opeParam.mergePrjInfo(rawPrjInfo); + await prjManage.refreshPrjFolder(); const currentPathSet = this.getImportantPathSet(); const currentLibState = opeParam.prjInfo.library.state; diff --git a/src/test/user/src/hello.v b/src/test/user/src/hello.v index 0e5c8a3..9198e12 100644 --- a/src/test/user/src/hello.v +++ b/src/test/user/src/hello.v @@ -8,5 +8,6 @@ module mux2to1( ); - assign outp = sel == 1'b0 ? a : b + assign outp = sel == 1'b0 ? a : b; + endmodule