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

Split up MultiIde.hs into many files #19198

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

samuel-williams-da
Copy link
Contributor

@samuel-williams-da samuel-williams-da commented May 14, 2024

Required for SDK install work

Mostly just moving code into different files. The only code changes are:

  • Rename all the MultiIdeState fields to start with mis
  • Rename all cases of subIDE with subIde
  • Remove some unnecessary language extensions
  • The subIdeHandler needed to be made part of the MultiIdeState, to avoid cyclic dependencies (As it calls to addNewSubIde which calls back to it in another thread)

Later I would like to move this out of damlc, and make it either a haskell dependency, or a binary dependency (and as such, not part of damlc-bootstrap)

Base automatically changed from sw/multi-ide-structure-handling-improvements to main May 23, 2024 15:55
@samuel-williams-da samuel-williams-da marked this pull request as ready for review May 23, 2024 16:14
Copy link
Contributor

@dylant-da dylant-da left a comment

Choose a reason for hiding this comment

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

All changes look in agreement with the description. Looks good to me, thank you for the refactoring work!

@samuel-williams-da samuel-williams-da merged commit 9c64608 into main May 28, 2024
15 checks passed
@samuel-williams-da samuel-williams-da deleted the sw/multi-ide-restructure branch May 28, 2024 09:26
samuel-williams-da added a commit that referenced this pull request May 31, 2024
* Split up MultiIde.hs into many files

* Further split SubIde
samuel-williams-da added a commit that referenced this pull request Jun 3, 2024
* Daml ide multi ide (#17345)

* Multi-ide refactors (#18885)

* Reimplement ProgressToken prefixing to be stateless

* Refactor parsing logic to not use interleaveIO

* Move most verbose logging behind a flag

* Address reviews

* Multi-IDE Features for 2.9 (#19040)

* Implement dar unpacking

* Implement packageless IDE

* Hot-reloading logic for daml.yaml, multi-package.yaml, *.dar

* Implement initial error recovery logic

* Switch logging to log levels
Replace window reload with LanguageServer restart

* Forward args from multi-ide to sub-ides

* Change unpacked dar paths to be the unit-id.
Update unpacking logic to shutdown previous IDEs

* Remove broken experimental flag

* Refactor ide restart logic to not lose event handlers

* Log subIDE errors to debug logger live

* Windows fixes

* First review fixes batch

* Use newtypes for many FilePaths

* Address Dylan's comments

* Refactor how SubIDEs are passed around, reduce times it is dropped

* Update diagnostic

* Multi-ide structure change handling (#19194)

* Better support for package structure changes

* Rename some handlers

* Split up MultiIde.hs into many files (#19198)

* Split up MultiIde.hs into many files

* Further split SubIde

* Multi-IDE Sdk install managament (#19256)

* Tweaks from previous version

* Implement Sdk Version management

* Address review

* Fix compilation issues

* Fix issues with 2.x
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

Successfully merging this pull request may close these issues.

None yet

2 participants