Skip to content

Commit 7b1de0c

Browse files
committed
Tweak completion list length parameters
1 parent a2c0545 commit 7b1de0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/kotlin/org/javacs/kt/completion/Completions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ import org.jetbrains.kotlin.types.checker.KotlinTypeChecker
4545
import java.util.concurrent.TimeUnit
4646

4747
// The maxmimum number of completion items
48-
private const val MAX_COMPLETION_ITEMS = 50
48+
private const val MAX_COMPLETION_ITEMS = 75
4949

5050
// The minimum length after which completion lists are sorted
51-
private const val MIN_SORT_LENGTH = 4
51+
private const val MIN_SORT_LENGTH = 3
5252

5353
/** Finds completions at the specified position. */
5454
fun completions(file: CompiledFile, cursor: Int, config: CompletionConfiguration): CompletionList {

0 commit comments

Comments
 (0)