contextmapper / vscode-extension Goto Github PK
View Code? Open in Web Editor NEWContext Mapper VSCode Extension
Home Page: https://contextmapper.org/
License: Apache License 2.0
Context Mapper VSCode Extension
Home Page: https://contextmapper.org/
License: Apache License 2.0
Error occurred: The project directory '\c%3A\Users\My.Name\WorkspaceFolder' does not exist!
I think it is messing up the drive letter section
I'm trying to use the VSCode extension of Context Mapper in a project with a workspace
I have the CML file in the second folder of my workspace. However, when I run the diagram generation, the output will always be created in the first folder of the open workspace.
As a user with multiple folders in a workspace, I expect the context mapper extension to always generate build output into the folder of the workspace, in which the source file was located.
hi,
First thank you for this extension,
I started with this extension by I m faced this error when trying to genrate garphic (png)
"The CML Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted."
Thx for your help
I implemented a first version of the syntaxes/cml.tmLanguage.json
file for the syntax highlighting.
However, we should improve this a bit later:
Hello! I'm using Context Mapper in Visual Studio Code in a documentation only project. I have some suggestions to improve the workflows with the extension to make it leaner and easier to use:
The graphical context map is always generated into the folder <projectRoot>/src-gen
. It would help if this path is configurable in the settings when the extension is used in non-Java projects that have different folder structures.
Additionally, when generating the graphical context map the user has to select the file types (png
, svg
, dot
with all preselected by default). Within a project the team usually decides which formats to use and does not want to select the file type every time the file is generated. Therefore it would help if the file types are configurable in the settings and that the selection dropdown only shows up if there is no specific configuration in the settings.
Hi,
I am using VSCode with the ContextMapper extension on Ubuntu, and when using the Insurance example CML definitions the CML Language Server fails with the exception that the valid CML is not a valid CML model.
[Error - 11:53:37] Request textDocument/codeAction failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: org.contextmapper.dsl.cml.exception.ResourceIsNoCMLModelException: The resource 'file:///projects/sprk-contextmap/src/main/cml/model.cml' does not contain a CML model.
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:704)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
at org.eclipse.xtext.ide.server.concurrent.AbstractRequest.logAndCompleteExceptionally(AbstractRequest.java:73)
at org.eclipse.xtext.ide.server.concurrent.ReadRequest.lambda$doRun$0(ReadRequest.java:69)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.contextmapper.dsl.cml.exception.ResourceIsNoCMLModelException: The resource 'file:///home/tploch/projects/sprk-contextmap/src/main/cml/model.cml' does not contain a CML model.
at org.contextmapper.dsl.cml.CMLResource.throwResourceIsNoCMLModelException(CMLResource.java:68)
at org.contextmapper.dsl.cml.CMLResource.<init>(CMLResource.java:52)
at org.contextmapper.dsl.ide.actions.CMLActionService.getCodeActions(CMLActionService.java:52)
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$codeAction$37(LanguageServerImpl.java:786)
at org.eclipse.xtext.ide.server.WorkspaceManager.doRead(WorkspaceManager.java:438)
at org.eclipse.xtext.ide.server.LanguageServerImpl.codeAction(LanguageServerImpl.java:777)
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$codeAction$36(LanguageServerImpl.java:763)
at org.eclipse.xtext.ide.server.concurrent.ReadRequest.lambda$doRun$0(ReadRequest.java:66)
... 5 more
$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
Version: 1.57.1
Commit: 507ce72a4466fbb27b715c3722558bb15afa9f48
Date: 2021-06-17T13:26:56.255Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Linux x64 5.10.0-1034-oem
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.