From 90289356a950e7cc9816a2131bc3a28b8f5c5303 Mon Sep 17 00:00:00 2001 From: Spiros Grigoratos Date: Thu, 6 Apr 2023 12:20:10 +0300 Subject: [PATCH 1/2] added new keywords --- server/src/types/keywords.ts | 6 ++++++ syntaxes/bitloops.tmLanguage.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/server/src/types/keywords.ts b/server/src/types/keywords.ts index 48de099..f05ac8f 100644 --- a/server/src/types/keywords.ts +++ b/server/src/types/keywords.ts @@ -14,6 +14,9 @@ export const components = { PackagePort: 'PackagePort', Command: 'Command', Query: 'Query', + DomainEvent: 'DomainEvent', + IntegrationEvent: 'IntegrationEvent', + DomainService: 'DomainService', }; export const keywords = [ @@ -141,6 +144,9 @@ export const keywords = [ 'Operations', 'Mutation', 'Query', + 'DomainEvent', + 'IntegrationEvent', + 'DomainService', 'StandardVO', ]; diff --git a/syntaxes/bitloops.tmLanguage.json b/syntaxes/bitloops.tmLanguage.json index 356d781..18e5d2b 100644 --- a/syntaxes/bitloops.tmLanguage.json +++ b/syntaxes/bitloops.tmLanguage.json @@ -64,7 +64,7 @@ "patterns": [ { "name": "keyword.control.templateClass.bitloops", - "match": "\\b(Config|(REST\\.Methods)|REST|DTO|UseCase|Root|Entity|Rule|OK|Errors|ValueObject|Props|ReadModel|RESTController|RESTRouter|GraphQLController|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|ApplicationErrors|DomainErrors|DomainError|ApplicationError|Command|Query|CommandHandler|QueryHandler)\\b" + "match": "\\b(Config|(REST\\.Methods)|REST|DTO|UseCase|Root|Entity|Rule|OK|Errors|ValueObject|Props|ReadModel|RESTController|RESTRouter|GraphQLController|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|ApplicationErrors|DomainErrors|DomainError|ApplicationError|Command|Query|CommandHandler|QueryHandler|Struct|IntegrationEvent|IntegrationEventHandler|DomainEvent|DomainEventHandler|ServicePort|DomainService)\\b" } ] }, @@ -72,7 +72,7 @@ "patterns": [ { "name": "entity.name.class.bitloops", - "match": "\\b[A-Z]+[a-zA-Z0-9]*(DTO|UseCase|Aggregate|VO|Entity|Error|Controller|Router|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|Error|Props|Rule|Command|Query|ReadModel|CommandHandler|QueryHandler)\\b" + "match": "\\b[A-Z]+[a-zA-Z0-9]*(DTO|UseCase|Aggregate|VO|Entity|Error|Controller|Router|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|Error|Props|Rule|Command|Query|ReadModel|CommandHandler|QueryHandler|IntegrationEvent|IntegrationEventHandler|DomainEvent|DomainEventHandler|ServicePort|DomainService)\\b" } ] }, From c9353c4ed26ac6c02de4e0f9c9721e1b2d8fae6e Mon Sep 17 00:00:00 2001 From: Spiros Grigoratos Date: Thu, 6 Apr 2023 12:21:38 +0300 Subject: [PATCH 2/2] incremented verion --- CHANGELOG.md | 4 ++++ client/package.json | 2 +- package.json | 2 +- server/package.json | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a24ceb1..3384bd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the "bitloops-language" extension will be documented in t Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +### 0.3.2 + +Added new keywords of the bitloops language + ### 0.3.1 Added validation after the initialization of the workspace diff --git a/client/package.json b/client/package.json index 1445205..5984a3f 100644 --- a/client/package.json +++ b/client/package.json @@ -2,7 +2,7 @@ "name": "bitloops-server-client", "description": "BitLoops Server Client", "license": "MIT", - "version": "0.3.1", + "version": "0.3.2", "publisher": "Bitloops", "engines": { "vscode": "^1.63.0" diff --git a/package.json b/package.json index af74610..0e298fd 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "icon": "assets/images/bitloops-language-logo-256x256.png", "license": "MIT", - "version": "0.3.1", + "version": "0.3.2", "scripts": { "vs:package": "vsce package", "vs:publish": "vsce publish", diff --git a/server/package.json b/server/package.json index 0bee87b..1e8ca70 100644 --- a/server/package.json +++ b/server/package.json @@ -1,7 +1,7 @@ { "name": "bitloops-lsp-server", "description": "BitLoops Language Server", - "version": "0.3.1", + "version": "0.3.2", "publisher": "Bitloops", "license": "MIT", "engines": {