Skip to content

Conversation

@fwcd
Copy link
Owner

@fwcd fwcd commented Jul 18, 2019

Add a configuration option kotlin.compiler.jvm.target that lets the user specify the JVM version. Currently only 1.6 and 1.8 are supported (though 9, 10, 11, 12 will be too once #109 is merged).

Additionally clean up the configuration structure by making it more hierarchial. The old structure

kotlin
+ languageServer
|   + enabled
+ debounceTime
+ snippetsEnabled

has been migrated to

kotlin
+ languageServer
|   + enabled
+ compiler
|   + jvm
|       + target
+ linting
|   + debounceTime
+ completion
    + snippets
        + enabled

Fixes #72.

fwcd added 4 commits July 18, 2019 15:28
Structure configuration keys into completion and linting configuration.
The old keys are still supported but deprecated.
Let the user specify which JVM the compiler should use by providing a
configuration option. Additionally, clean up some of the configuration
updating logic by only propagating the updates if the value has been
set.
Use a spinning icon to indicate in VSCode's status bar that the language
server is launching.
Use JvmTarget.DEFAULT instead of null.
@fwcd fwcd added the enhancement New feature or request label Jul 18, 2019
Update the imports in CompiledFileTest and SimpleScriptTest
@fwcd
Copy link
Owner Author

fwcd commented Jul 18, 2019

Manually rebased onto the current master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please specify proper '-jvm-target' optionkotlin(INLINE_FROM_HIGHER_PLATFORM)

2 participants