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
workspacePeek
command and its response types to provide more information about F# projects in the workspace. It also improves the integration of theIonide.ProjInfo.WorkspacePeek
library with theWorkspace
module and theAdaptiveFSharpLspServer
type.🤖 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
FsprojPeek
to represent a project file with its path and compile items (link, link)FsprojPeek
type instead of a string list for theFsprojs
field of theWorkspacePeekFoundDirectory
type, which represents a directory with F# projects (link, link)fsprojs
list returned by theIonide.ProjInfo.WorkspacePeek
function to theFsprojPeek
type using thePath
andCompileItems
fields in theCommandResponse
andLspHelpers
modules, which handle theworkspacePeek
command and request (link, link)Path
field from theFsprojPeek
type when returning or matching on the list of projects from aWorkspacePeekFoundDirectory
value in theLspHelpers
andAdaptiveFSharpLspServer
modules, which use theworkspacePeek
command and request to get the list of project paths from the current workspace (link, link)