Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHAT
🤖 Generated by Copilot at aeb6c8c
This pull request enhances the
workspacePeekcommand and its response types to provide more information about F# projects in the workspace. It also improves the integration of theIonide.ProjInfo.WorkspacePeeklibrary with theWorkspacemodule and theAdaptiveFSharpLspServertype.🤖 Generated by Copilot at aeb6c8c
📂🛠️🧹
WHY
This is WIP of trying to lazy load projects. See: ionide/ionide-vscode-fsharp#1957
HOW
🤖 Generated by Copilot at aeb6c8c
FsprojPeekto represent a project file with its path and compile items (link, link)FsprojPeektype instead of a string list for theFsprojsfield of theWorkspacePeekFoundDirectorytype, which represents a directory with F# projects (link, link)fsprojslist returned by theIonide.ProjInfo.WorkspacePeekfunction to theFsprojPeektype using thePathandCompileItemsfields in theCommandResponseandLspHelpersmodules, which handle theworkspacePeekcommand and request (link, link)Pathfield from theFsprojPeektype when returning or matching on the list of projects from aWorkspacePeekFoundDirectoryvalue in theLspHelpersandAdaptiveFSharpLspServermodules, which use theworkspacePeekcommand and request to get the list of project paths from the current workspace (link, link)