by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 22 2018 18:48

    fwcd on master

    Added Gitter (compare)

Ghost
@ghost~56c7afa6e610378809c26230
:wave: hi everyone
Ghost
@ghost~56c7afa6e610378809c26230
It seems like you have to use eclipse to work with their stuff. So annoying
Ghost
@ghost~56c7afa6e610378809c26230
I give up, eclipse is terrible
Noah Santschi-Cooney
@Strum355
not sure whats going on here ahah
Ghost
@ghost~56c7afa6e610378809c26230
I was trying to look at an eclipse project (their java lsp) and they recommend using eclipse and I couldn't get it to work. If anyone knows how to set up that project I'd greatly appreciate it
Noah Santschi-Cooney
@Strum355
Use the checkout the redhat language server instead perhaps
The one with vscode java extension
prassee
@prassee
newbie here ... does installing the VSCode extension is just enough to start using the IDE features. I assume the language server is installed in the background
Ghost
@ghost~56c7afa6e610378809c26230
Yes, it is enough :+1:
prassee
@prassee
so the same applies for Emacs as well
Ghost
@ghost~56c7afa6e610378809c26230
that I don't know but I imagine it should. I think they extend the VSCode extension
prassee
@prassee
how many here use kotlin for server side
Ghost
@ghost~56c7afa6e610378809c26230
I would imagine it's the vast majority who don't use it for server side
Ghost
@ghost~56c7afa6e610378809c26230
wow, I meant it's the vast majority who do use it for server side
Ryan Sobol
@ryansobol
hey all, just installed this extension. i'm seeing the following error in the vs code console
workbench.main.js:2365 Internal error.
         onDidNotificationChange @ workbench.main.js:2365
workbench.main.js:3855 Activating extension 'fwcd.kotlin' failed: Internal error..
        _logMessageInConsole @ workbench.main.js:3855
workbench.main.js:238 [Extension Host] Activating extension `fwcd.kotlin` failed:  Internal error.
         t.log @ workbench.main.js:238
workbench.main.js:238 [Extension Host] Here is the error stack:  Error: Internal error.
    at handleResponse (/Users/ryansobol/.vscode/extensions/fwcd.kotlin-0.1.13/node_modules/vscode-jsonrpc/lib/main.js:436:48)
    at processMessageQueue (/Users/ryansobol/.vscode/extensions/fwcd.kotlin-0.1.13/node_modules/vscode-jsonrpc/lib/main.js:263:17)
    at Immediate.setImmediate (/Users/ryansobol/.vscode/extensions/fwcd.kotlin-0.1.13/node_modules/vscode-jsonrpc/lib/main.js:247:13)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
Noah Santschi-Cooney
@Strum355
Is there a way for you to get the logs from the kotlin side of the extension
wikoion
@wikoion
Hey, been trying to get this working with the coc.nvim extension for vim/neovim, don't suppose anyone has any experience with this do they?
In my coc-settings.json I have:
{
    "languageserver": { 
        "kotlinLanguageServer": {
            "command": "/Users/wikoion/git/KotlinLanguageServer/server/build/install/server/bin/server",
            "filetypes": ["kotlin"],
            "rootPatterns": [".kt",".kts"],
            "additionalSchemes": ["jar", "zipfile"]
        }  
    }
}
Noah Santschi-Cooney
@Strum355
@fwcd_gitlab loads of progress been made recently i see! Hows the status of the overall project atm?
F. W.
@fwcd_gitlab
It's doing fine, we've finally made some progress adding a formatter, improving the Java-to-Kotlin converter and providing support for more editors!
Noah Santschi-Cooney
@Strum355
I see you did something with an embedded compiler. Did we see improvement in the linter and autocomplete?
F. W.
@fwcd_gitlab
The autocomplete is more accurate and provides completions for keywords now, but there are still some performance issues
kotlin-compiler-embeddable is really the same thing as kotlin-compiler, just that some of the classes are located under different packages (org.jetbrains.kotlin.com.intellij.* instead of com.intellij.*)
Luiz Guilherme D'Abruzzo Pereira
@luiz290788
Hello, is anyone else getting this error Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' optionkotlin(INLINE_FROM_HIGHER_PLATFORM) I'm facing it language server project on Compiler.kt
It seems that it hasn't detected the target jvm version from gradle
Luiz Guilherme D'Abruzzo Pereira
@luiz290788
I was able to fix it by settings "kotlin.compiler.jvm.target": "1.8" on my settings
Noah Santschi-Cooney
@Strum355
image.png
Hey @fwcd_gitlab im getting the following with build from master
Noah Santschi-Cooney
@Strum355
aha i think ive discovered it
the gradle project was in a subfolder of the workspace directory, one level below
this was causing it to crash
Noah Santschi-Cooney
@Strum355
@fwcd_gitlab are master tests currently failing? :thinking:
Noah Santschi-Cooney
@Strum355
server/src/main/kotlin/org/javacs/kt/signaturehelp/SignatureHelp.kt.activeParameter, this is meant to return the index of the "active param". what defines active param? when is this the case?
Noah Santschi-Cooney
@Strum355
ah found it out
Иван Сердюк
@oceanfish81_twitter
Did anyone perform testing, threw Codenvy.com and theia-ide.org ?
Иван Сердюк
@oceanfish81_twitter

I give up, eclipse is terrible

@matthewmcgarvey , and what about https://codenvy.com ?

codenvy/codenvy#1763
eclipse/che#8279

prassee
@prassee
I'm just curious to know about a simple stats. How many users are in this forum are using Kotlin LSP as the daily driver.
Иван Сердюк
@oceanfish81_twitter

I'm just curious to know about a simple stats. How many users are in this forum are using Kotlin LSP as the daily driver.

I was curious if anyone tried to code in Kotlin, for a matter of targeting Kotlin/Native

F. W.
@fwcd_gitlab
Hi everyone, I will be moving this chat to Discord, since it allows for managing multiple channels and makes it easier for me to respond quickly. Also, I think it is more convenient in general :)
Иван Сердюк
@oceanfish81_twitter

Hi everyone, I will be moving this chat to Discord, since it allows for managing multiple channels and makes it easier for me to respond quickly. Also, I think it is more convenient in general :)

Please provide a link, to that Discord room

F. W.
@fwcd_gitlab
Updated, permanent invite: https://discord.gg/cNtppzN