scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Fix discovery of project file for exclude

Open bishabosha opened this issue 9 months ago • 2 comments

pick the outermost project file, so that if an excluded directory is itself a scala-cli project then it is ignored.

result of the Scala Tooling Spree April 3 2025

fixes #3546

bishabosha avatar Apr 03 '25 16:04 bishabosha

@Gedochao is there a reason that the paths aren't sorted (e.g. by outermost) before inferring the workspace? ( i guess changing that would be breaking)

bishabosha avatar Apr 14 '25 07:04 bishabosha

@Gedochao is there a reason that the paths aren't sorted (e.g. by outermost) before inferring the workspace? ( i guess changing that would be breaking)

No reason that I know of... It should be covered with tests, in case you want to experiment.

Gedochao avatar Apr 14 '25 10:04 Gedochao