fwcd / fwcd/kotlin-language-server
Neovim + Android + Mason: Unresolved references for certain android dependencies
- Dominant language
- Kotlin
- Stars
- 2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
Just recently started working with neovim as my IDE, and wanted to try my hand at using it for Android Development as well
My current neovim config:
- Mason
- Mason lspconfig
- nvim-lspconfig - server configurations were kept to defaults
- ktlint
- LuaSnip
While working on an example project to test drive the config I run into the issue that in most cases some imports would come up in the completion window and prompt for import but for others it wouldn't:
In this case the imports do show up :
In this case for this composable it doesn't show up:
this is the logs:
[lsp.log](https://github.com/fwcd/kotlin-language-server/files/14338740/lsp.log)
Not really sure why it's happening, any help would be appreciated. Thank you !
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached lsp.log and the reported Neovim setup using Mason, Mason lspconfig, nvim-lspconfig defaults, ktlint, and LuaSnip. Compare the imports that appear in completion with the Android composable imports that do not, then reproduce the behavior in the example project. Done means identifying the cause and restoring completion for the affected Android dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin, neovim
- Domain
- devtools, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100