Kotlin / Kotlin/kotlin-script-examples

Show how to configure auto-completion in IntelliJ

Open
#12 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
339
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Could you please extend the examples to also make auto-completion, e.g. in `hello-kotlinx-html.scriptwithdeps.kts`, work in IntelliJ?

For example, if I'm extending `ScriptWithMavenDeps` with a dummy property like

```
abstract class ScriptWithMavenDeps {
val dummy: String = "oink"
}
```

what does it take to offer `dummy` when typing `this.` in `hello-kotlinx-html.scriptwithdeps.kts`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hello-kotlinx-html.scriptwithdeps.kts and the ScriptWithMavenDeps example in the issue, then investigate how IntelliJ is configured for this script. Done means the example explains or demonstrates a setup where typing this. offers the dummy property for completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.