diff --git a/CHANGELOG.md b/CHANGELOG.md index e9a606d..62c7163 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to the "sas" extension will be documented in this file. +## [0.2.0] - 2024-03-04 + +- Macro definitions in autocall libraries are now _cached_ for notably better + performance with large libraries and/or slow filesystems. + ## [0.1.1] - 2022-11-25 - Refined README to better describe the extension. No functional changes. diff --git a/package.json b/package.json index f8ff520..e68a816 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/mikmart/vscode-sas" }, "publisher": "mikmart", - "version": "0.1.1", + "version": "0.2.0", "license": "MIT", "engines": { "vscode": "^1.47.0" diff --git a/src/macro.ts b/src/macro.ts index a8b3cd0..e985b84 100644 --- a/src/macro.ts +++ b/src/macro.ts @@ -118,7 +118,6 @@ export class AutocallLibrary { const tasks = files.map(async (file) => { const document = await vscode.workspace.openTextDocument(file); const macros = discoverMacroDefinitions(document); - for (const macro of macros) { if (!this._index.has(macro.name)) { this._index.set(macro.name, [macro]);