-
I am trying to see if I can use an IDE to work on my build script. IntelliJ seems to have better support than VSCode+Metals whose IntelliSense does not seem to work. In this regard I would like to know:
In regards to the last point, the worksheet support would seem to work, but it requires the file be renamed to EDIT: in VSCode when using TIA |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Have to go back to
|
Beta Was this translation helpful? Give feedback.
No, you can't specify the build file, we only support
build.sc
in the current working directory. There is some special handling of meta-builds though, and you can run targets on the meta-build explicitly with the--meta-level
option. This was merged after Mill 0.10.2, so you might need to use a snapshot release.In Mill 0.11.2 we improved how the
build.sc
itself is mapped as a project, in BSP (which affects Metals and VSCode) as well as in GenIdea (which affects IntelliJ IDEA). Editing build files, formatting, cross-references and almost everything should work. We still need to improve jumping to the Mill sources (#2703).