JeremyYao commented on code in PR #1427:
URL: https://github.com/apache/daffodil-vscode/pull/1427#discussion_r2378980814
##########
src/dataEditor/dataEditorClient.ts:
##########
@@ -101,6 +100,7 @@ export const APP_DATA_PATH: string = XDGAppPaths({ name:
'omega_edit' }).data()
const HEARTBEAT_INTERVAL_MS: number = 1000 // 1 second (1000 ms)
const MAX_LOG_FILES: number = 5 // Maximum number of log files to keep TODO:
make this configurable
+const OPEN_EDITORS = new Map<string, vscode.WebviewPanel>()
Review Comment:
Disregard my comment on changing the map to a set-- I didn't initially see
that the .get operation is used for bringing up the previously existing Data
Editor instance to be focused.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]