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.fs
to use a new type for fsproj data and added a function toLibrary.fs
to 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
FsprojData
type to store fsproj path and compile items (link)getInfo
function to usegetFsprojCompileItemPaths
to get compile items for fsproj files (link)peek
function to sort and map fsproj files toFsprojData
records and wrap them inInteresting.Directory
case (link, link)getFsprojCompileItemPaths
function toProjectLoader
module inLibrary.fs
to load and evaluate fsproj files usingSystem.Xml
namespace andgetCompileItems
function (link, link)