Skip to content

Enable solution change w/o restart, via workspace/didChangeConfiguration#355

Closed
razzmatazz wants to merge 5 commits into
mainfrom
solution-selection-wo-restart
Closed

Enable solution change w/o restart, via workspace/didChangeConfiguration#355
razzmatazz wants to merge 5 commits into
mainfrom
solution-selection-wo-restart

Conversation

@razzmatazz
Copy link
Copy Markdown
Owner

No description provided.

@razzmatazz razzmatazz changed the title Enabled solution change w/o restart, via workspace/didChangeConfiguration Enable solution change w/o restart, via workspace/didChangeConfiguration Apr 15, 2026
@razzmatazz razzmatazz force-pushed the solution-selection-wo-restart branch from 9fa465e to 85e1275 Compare April 16, 2026 08:30
@razzmatazz razzmatazz marked this pull request as draft April 16, 2026 18:49
…perations queue

Remove `WorkspaceReloadRequested` and `WorkspaceFolderConfigurationChanged` events.
Workspace-disrupting operations (`PendingReload`, `PendingFolderReplacement`,
`PendingSolutionPathChange`) are now accumulated in `ServerState.PendingOperations`
and applied in a single teardown-and-rebuild when `RequestQueueDrained` fires.

`DrainIfPendingOperationsReady` replaces the inline drain check in `PeriodicTimerTick`
and is also posted from `ApplyWorkspaceUpdate` so folder/config changes trigger an
immediate drain without waiting for the next tick.

`LspWorkspace.ReloadPending` field removed; reload deadline tracking moved into
`PendingReload of reloadNoLaterThan: DateTime`.

Pending-op accumulation in `ApplyWorkspaceUpdate` uses a functional style: new ops
are built as separate lists (`fromFolderReconfig`, `fromReloads`) and concatenated
in a single expression rather than re-binding via sequential `let` shadowing.
…ride change works over workspace/didChangeConfiguration
…hange in runtime to reload wf with new solution file override
@razzmatazz razzmatazz force-pushed the solution-selection-wo-restart branch from 85e1275 to 78445df Compare April 21, 2026 06:29
@razzmatazz razzmatazz closed this May 19, 2026
@razzmatazz razzmatazz deleted the solution-selection-wo-restart branch May 19, 2026 07:43
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.

1 participant