Support //> using exclude
in .sc
script files
#3388
Labels
--exclude
Issues tied with the excluding inputs.
enhancement
New feature or request
scripting
Issues tied to *.sc script inputs.
Scala CLI version
1.5.4 and 4ab3227
Is your feature request related to a problem? Please describe.
Currently the
//> using exclude
directive is only allowed inproject.scala
.Describe the solution you'd like
When using a
.sc
script (which may include some sources via//> using file
), I may not have aproject.scala
in my project, so I'd just like to declare it in my script.The directive should still only be allowed to exist in a single source file, similar to
//> using file
, to avoid parsing insanity.Describe alternatives you've considered
Expect a
project.scala
always be included via//> using file
when//> using exclude
is necessary in a script setup.The text was updated successfully, but these errors were encountered: