ionide / FSharp.Analyzers.SDK

Library for building custom analyzers for F# / FSAC
http://ionide.io/FSharp.Analyzers.SDK/
MIT License
74 stars 22 forks source link

Globbing more paths (like Projects) #219

Open TheAngryByrd opened 1 month ago

TheAngryByrd commented 1 month ago

Is your feature request related to a problem? Please describe.

I'd like to add more globbing to more place (specifically Project)

Background

I hit a very peculiar error while running the analyzer cli-tool.

System.ComponentModel.Win32Exception (206): An error occurred trying to start process 'dotnet.exe' with working directory 'C:\actions-runner_work\foobar\foobar'. The filename or extension is too long.

It's a misleading error, it's actually a problem with commands being too long. It's because I added too many items to the Exclude_Files list. Luckily we already support globbing for it but I think it would be good to add globbing to other potentially long listed items like Projects

Describe the solution you'd like

Add globbing to more places.

Describe alternatives you've considered

Not doing anything. There's always an option not to.

Additional context Add any other context or screenshots about the feature request here.

baronfel commented 1 month ago

We should possibly also consider response files for this use case