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

Stabilized LSP diagram genenation and added default expansion option #2018

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Sep 22, 2023

This PR adds a dependency of the language server on de.cau.cs.kieler.klighd.incremental as suggested in this comment: lf-lang/vscode-lingua-franca#103 (comment). This seems to indeed stabilize the diagram generation.

It further adds a new synthesis options that allows to control if new reactors should be expanded or contracted when added. This setting also influences if all reactors are expanded or contracted when opening a new LF file.

Closes lf-lang/vscode-lingua-franca#103

Perhaps this change also addresses lf-lang/vscode-lingua-franca#142, but we will need further testing.

@cmnrd cmnrd requested a review from a-sr September 22, 2023 14:58
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, @cmnrd!

@cmnrd cmnrd added this pull request to the merge queue Sep 22, 2023
@cmnrd cmnrd changed the title Stabilize diagram genenation via the language server Stabilized LSP diagram genenation and added default expansion option Sep 22, 2023
Merged via the queue into master with commit 50445fd Sep 22, 2023
41 checks passed
@cmnrd cmnrd deleted the kieler-incremental branch September 22, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix diagrams Problems with diagram synthesis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make "Show all Details" in the diagram settings persistent
2 participants