feat: Tell the user where to set the toolchain

This commit is contained in:
FalsePattern 2024-11-11 12:14:22 +01:00
parent 17dca6d419
commit 0ed6adff8d
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23

View file

@ -64,7 +64,7 @@ abstract class ZigProgramRunner<ProfileState: ZigProfileState<*>>(protected val
val toolchain = environment.project.zigProjectSettings.state.toolchain ?: run {
Notification(
"zigbrains",
"Zig project toolchain not set, cannot execute program!",
"Zig project toolchain not set, cannot execute program! Please configure it in [Settings | Languages & Frameworks | Zig]",
NotificationType.ERROR
).notify(environment.project)
return null