cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Don't warn about "File build.boot is not under a source root"

Open danielcompton opened this issue 8 years ago • 7 comments

When using Boot, the build.boot is at the same level as project.clj in most projects. However it is treated as being outside of a source root, so a warning is shown. It would be handy if build.boot files were:

  1. Default recognised as Clojure files, I think you need to manually add the association
  2. Treated like project.clj files, where you don't get warned about being outside a source root.

danielcompton avatar Jul 20 '17 06:07 danielcompton

For starters it would be enough to not show the warning. The warning tells me nothing I do not already know. I cannot do anything to change the situation. So the warning is just pure pain to me

kassapo avatar Aug 06 '18 07:08 kassapo

Just noticed that deps-new generates a build.clj at the top level of a project Screenshot 2022-03-04 at 22 46 53 Which suffers from a similar issue

Using (clojure -Tnew app :name myusername/mynewapp)

slifin avatar Mar 04 '22 22:03 slifin

Ah looks like the issue is that I didn't have the build aliases selected: Screenshot 2022-03-04 at 22 51 10

slifin avatar Mar 04 '22 22:03 slifin

image even with aliases base functionality doesn't work

kwladyka avatar Oct 28 '22 17:10 kwladyka

@kwladyka Sometimes picking the new deps up can be flakey, which seems to be an IntelliJ problem. If you close and reopen your project, does that fix it?

cursive-ghost avatar Oct 30 '22 21:10 cursive-ghost

I have checked right now and it works.

kwladyka avatar Oct 30 '22 21:10 kwladyka