Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views #9

Open
schergr opened this issue Sep 18, 2024 · 1 comment
Open

Views #9

schergr opened this issue Sep 18, 2024 · 1 comment

Comments

@schergr
Copy link

schergr commented Sep 18, 2024

I have view files that are called c4.dsl, for example, but when I try to view them (ctrl-alt-p), the plugin creates the structurizr workspace.dsl, as it appears to be expecting the dsl to be in there, instead of another file name. Also, I don't have context highlighting, or anything else. Do I need to have the structrizr extension installed as well?

@RVR06
Copy link
Owner

RVR06 commented Oct 19, 2024

Hi @schergr

Thanks for the feedback.

  • Regarding filename, Structurizr expects file to be named workspace.dsl only.
    I am not aware of a change in that matter, which prevents as you noticed to preview other filenames, even if they are perfectly fine .dsl ones. May we tweak how we mount workspace to fix this.

  • Cornifer extension is stand-alone and should work with all .dsl & .dslf files. dslf stands for .dsl fragments, a notion I introduced here to discriminate between self-contained model and satellite ones. You should have syntax highlighting in both flavors.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants