Skip to content

Using an IDE to develop the build.sc script #2688

Answered by lefou
hmf asked this question in Q&A
Discussion options

You must be logged in to vote
  1. 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.

  2. 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).

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@hmf
Comment options

@lefou
Comment options

@hmf
Comment options

@lefou
Comment options

@hmf
Comment options

Answer selected by hmf
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants