Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to display more of the documentation for system libraries? #374

Open
CaptainDaVinci opened this issue Jul 21, 2022 · 2 comments
Open

Comments

@CaptainDaVinci
Copy link

CaptainDaVinci commented Jul 21, 2022

Hi I'm new to LSPs so not sure where exactly to ask this question.

I'm trying to get kotlin LSP to show more of the documentation like how Intellij does, any pointers on how can I go about doing that?

image

Currently using it in neovim with it's native LSP + kotling-language-server but I don't see the complete doc like shown above.
image

Current config:

    ◍ kotlin_language_server 
      version     1.3.1                                          
      installed   21 Jul 2022 18:45                              
      install dir ~/.local/share/nvim/lsp_servers/kotlin         
      homepage    https://github.com/fwcd/kotlin-language-server 
      
      ↓ Server configuration schema (press enter to collapse)
        This is a read-only representation of the settings this server accepts. Note that some settings might not apply to neovim.
        For information on how to customize these settings, see :help lspconfig-setup
        
        → kotlin.compiler.jvm.target                     default: "default"
        → kotlin.completion.snippets.enabled             default: true
        → kotlin.debounceTime                            default: 250
        → kotlin.debugAdapter.enabled                    default: true
        → kotlin.debugAdapter.path                       default: ""
        → kotlin.externalSources.autoConvertToKotlin     default: false
        → kotlin.externalSources.useKlsScheme            default: true
        → kotlin.indexing.enabled                        default: true
        → kotlin.java.home                               default: ""
        → kotlin.languageServer.debugAttach.autoSuspend  default: false
        → kotlin.languageServer.debugAttach.enabled      default: false
        → kotlin.languageServer.debugAttach.port         default: 5005
        → kotlin.languageServer.enabled                  default: true
        → kotlin.languageServer.path                     default: ""
        → kotlin.languageServer.port                     default: 0
        → kotlin.languageServer.transport                default: "stdio"
        → kotlin.linting.debounceTime                    default: 250
        → kotlin.snippetsEnabled                         default: true
        ↓ kotlin.trace.server                            default: "off"
@themkat
Copy link
Collaborator

themkat commented Jul 24, 2022

That would indeed be pretty sweet! 🙂 #309 is about exactly that, and I know @daplf has been looking into it, so maybe they have more details to share. Never gotten it working myself, and have not had time to look into it either 🙁

@daplf
Copy link
Contributor

daplf commented Jul 24, 2022

Hey, this is currently not supported. There is an open pull request that might fix #309 but it still won't solve your issue in particular, because we have another problem with the Kotlin standard library, highlighted in #308. I imagine both would need to be fixed, in order to get javadoc for the kotlin standard library symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants