[WIP] Lazy load projects #198
Open
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 9b54ec1
Added support for accessing and sorting compile items in fsproj files. Modified
WorkspacePeek.fsto use a new type for fsproj data and added a function toLibrary.fsto get the full paths of compile items.🤖 Generated by Copilot at 9b54ec1
📝🛠️🚀
WHY
This is WIP of trying to lazy load projects. See: ionide/ionide-vscode-fsharp#1957
HOW
🤖 Generated by Copilot at 9b54ec1
FsprojDatatype to store fsproj path and compile items (link)getInfofunction to usegetFsprojCompileItemPathsto get compile items for fsproj files (link)peekfunction to sort and map fsproj files toFsprojDatarecords and wrap them inInteresting.Directorycase (link, link)getFsprojCompileItemPathsfunction toProjectLoadermodule inLibrary.fsto load and evaluate fsproj files usingSystem.Xmlnamespace andgetCompileItemsfunction (link, link)