Back to Intellij Community

ScriptShebangExecPermission

plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/ScriptShebangExecPermission.html

2025.3-rc-2224 B
Original Source

Highlights shebang lines in Kotlin scripts that are not executable due to missing execute permission.

#!/usr/bin/env kotlin
println("Hello")

// The shebang line will be highlighted until the file is made executable.