Comments (6)
This doesnt seem to be working for me on latest commit.
from kotlin-language-server.
@Strum355 Could you please paste the output log?
from kotlin-language-server.
[INFO] async0 main Hovering at file:///home/noah/Kotlin/main.kt 5:8
[INFO] async0 main Re-parsing main.kt 5:5-6:26
[INFO] async0 main Compiling var x = something(10)
[INFO] async0 main Finished in 27 ms
fun something(x: Int): String {
return "test ${x}"
}
fun main(args: Array<String>) {
var x = something(10)
println(x)
}
Hovering over x
in the println call gives the correct hover, however hovering over x
in the previous line gives nothing. Unfortunately this is all the log says. Is there a more verbose log i should enable?
from kotlin-language-server.
@Strum355 Ok, I will look into this soon. Sometimes the LS fails to infer a type, but should show an [ERROR]
type upon hover nevertheless.
from kotlin-language-server.
@Strum355 I can't reproduce the issue.
The language server does not throw a stack trace either according to your log, so I suppose you are still somehow running an older version. Did you try building the the repo yourself or are you using the version on the VSCode marketplace?
from kotlin-language-server.
Ah yea it works from master, marketplace one must be an older one then. I dont remember if i was running from master in Extension Development mode or not at the time that I noticed it wasnt working. My bad ^^
from kotlin-language-server.
Related Issues (20)
- Slow initialization HOT 7
- Add option to disable language features for `.kts` files
- Investigate whether we should move the grammar back to the `vscode-kotlin` repository
- Add auto-labeling GitHub Actions workflow for PRs
- macos version not support method textDocument/inlayHint. HOT 4
- Inconsistent Semantic Tokens
- Server initialization failed. HOT 1
- Extend "Add missing import" code action to suggest "static methods"/functions
- C interoperability support? HOT 3
- Crash on windows
- Automatically generate "thank you" message for all contributors in release script
- Dependency module <dependencies of main> was not initialized by the time contents of dependent module <dependencies of main> were queried HOT 1
- Add code completion for labels
- JsonSyntaxException on startup HOT 6
- Re-add semantic tokens for string literals without covering up interpolations
- Support java 21 HOT 1
- Despite best efforts a sea of red in vscode: MISSING_BUILT_IN_DECLARATION HOT 1
- language server won`t start after update gradle from 8.5 to 8.6 HOT 2
- Neovim + Android + Mason: Unresolved references for certain android dependencies
- Support for multi-module project HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-language-server.