Skip to content

Commit d843475

Browse files
authored
Merge pull request #52 from lstreckeisen/CMI-112-Update-READMEs
add poc note
2 parents 521fc7d + 929a93a commit d843475

File tree

5 files changed

+7
-22
lines changed

5 files changed

+7
-22
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
![Context Mapper](https://raw.githubusercontent.com/wiki/ContextMapper/context-mapper-dsl/logo/cm-logo-github-small.png)
2-
# ContextMapper DSL Language Server
3-
[ContextMapper](https://contextmapper.org/) is an open source tool providing a Domain-specific Language based on Domain-Driven Design (DDD) patterns for context mapping and service decomposition.
2+
# Context Mapper DSL Language Server
3+
4+
> **_NOTE:_** This language server is a proof of concept and does not support all Context Mapper features yet.
5+
6+
[Context Mapper](https://contextmapper.org/) is an open source tool providing a Domain-specific Language based on Domain-Driven Design (DDD) patterns for context mapping and service decomposition.
47

58
## System Requirements
6-
The ContextMapper language server is implemented with Langium. To run the language server the following tools have to be installed locally:
9+
The Context Mapper language server is implemented with Langium. To run the language server the following tools have to be installed locally:
710
* [Node.js](https://nodejs.org/en/download) (v22)
811

912
## Build and/or Run the language server

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lstreckeisen/context-mapper-language-server",
3-
"description": "Langium language server for the ContextMapper DSL",
3+
"description": "Langium language server for the Context Mapper DSL",
44
"version": "0.4.1",
55
"license": "Apache-2.0",
66
"publishConfig": {

sonar-project.properties

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/language/commands/generators/PlantUMLGenerator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export class PlantUMLGenerator implements ContextMapperGenerator {
1010
// there must not be any extra spaces especially at the start, since the path will be treated as relative otherwise
1111
const destination = (args[0] as string)?.trim()
1212
if (destination == null || destination === '') {
13-
console.log('Destination must be specified')
1413
throw Error('Destination must be specified')
1514
}
1615

src/language/semanticTokens/ContextMapperDslSemanticTokenProvider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export class ContextMapperDslSemanticTokenProvider extends AbstractSemanticToken
1414
const semanticTokenProvider = this.semanticTokenProviderRegistry.get(node)
1515
if (semanticTokenProvider) {
1616
semanticTokenProvider.highlight(node, acceptor)
17-
} else {
18-
console.error('Node type with no token provider', node.$type)
1917
}
2018
}
2119
}

0 commit comments

Comments
 (0)