weirongxu / coc-kotlin

Intelligent Kotlin support for coc.nvim
MIT License
58 stars 1 forks source link

feat: add JAVA_OPTS configuration #11

Closed zidoshare closed 1 year ago

zidoshare commented 1 year ago

This PR try to make it super easy for people to be able to configure their Java options by need. Like this:

{
  "kotlin.java.opts": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx4G -Xms4G -Xlog:disable",
}

This is useful for development with big repository.

Alternatively, user environment variables would also work just fine.

weirongxu commented 1 year ago

Good work, thank you very much.