diff --git a/CHANGELOG.md b/CHANGELOG.md index 799478ff..ea36cc8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log All notable changes to the "crs-al-language-extension" extension: +## [1.5.34] - 2024-12-19 +Added Support for AppSourceCop Setting MandatoryAffixes by [Kilian Seizinger](https://github.com/pri-kise) +Exclude Namespace prefix by [Vito Iacovone](https://github.com/vdevmt) +Thanks so much! + ## [1.5.33] - 2024-07-15 Made it possible to have multiple extension objects names (thanks for [reporting](https://github.com/waldo1001/crs-al-language-extension/issues/305), [Natalie](https://github.com/NKarolak)). The way it works: It's regarding setting `ExtensionObjectNamePattern`. diff --git a/package.json b/package.json index 7492d6f2..bf184bef 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "crs-al-language-extension", "displayName": "waldo's CRS AL Language Extension", "description": "Make working with the (Dynamics NAV / 365) AL Language easier and more efficient.", - "version": "1.5.33", + "version": "1.5.34", "publisher": "waldo", "icon": "images/waldo.png", "author": { diff --git a/src/test/suite/WorkspaceFiles.test.ts b/src/test/suite/WorkspaceFiles.test.ts index 2014e17a..d4c67870 100644 --- a/src/test/suite/WorkspaceFiles.test.ts +++ b/src/test/suite/WorkspaceFiles.test.ts @@ -1,10 +1,9 @@ import * as assert from 'assert'; import { suite, test } from 'mocha'; - import { Settings } from '../../Settings'; +import * as NAVTestObjectLibrary from './NAVTestObjectLibrary' import { NAVObject } from '../../NAVObject' import { WorkspaceFiles } from '../../WorkspaceFiles'; -import * as NAVTestObjectLibrary from './NAVTestObjectLibrary' suite("WorkspaceFiles Tests", () => { test("getDestinationFolder - test", () => { @@ -33,7 +32,7 @@ suite("WorkspaceFiles Tests", () => { let navTestObject = NAVTestObjectLibrary.getTestCodeunit(); let navObject = new NAVObject(navTestObject.ObjectText, testSettings, navTestObject.ObjectFileName); - let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject,testSettings); + let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject, testSettings); assert.strictEqual(foldersuggestion.toLowerCase(), ''); }) @@ -43,7 +42,7 @@ suite("WorkspaceFiles Tests", () => { let navTestObject = NAVTestObjectLibrary.getNormalCodeunitWithLongName(); let navObject = new NAVObject(navTestObject.ObjectText, testSettings, navTestObject.ObjectFileName); - let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject,testSettings); + let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject, testSettings); assert.strictEqual(foldersuggestion.toLowerCase().toString(), navObject.objectType.toString()); assert.notStrictEqual(foldersuggestion.toLowerCase().toString(), ''); @@ -54,7 +53,7 @@ suite("WorkspaceFiles Tests", () => { let navTestObject = NAVTestObjectLibrary.getNormalCodeunitWithNamespace(); let navObject = new NAVObject(navTestObject.ObjectText, testSettings, navTestObject.ObjectFileName); - let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject,testSettings); + let foldersuggestion = WorkspaceFiles.getObjectTypeFolder(navObject, testSettings); assert.notStrictEqual(foldersuggestion.toLowerCase().toString(), navObject.objectNamespace.toLowerCase().toString()); assert.strictEqual(foldersuggestion.toLowerCase().toString(), 'spycoclown\\test');