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

Why @Deprecated Class Why isn't there a code hint #3265

Open
AskaJohnny opened this issue Sep 4, 2024 · 2 comments
Open

Why @Deprecated Class Why isn't there a code hint #3265

AskaJohnny opened this issue Sep 4, 2024 · 2 comments

Comments

@AskaJohnny
Copy link

In my case, if my Class class is marked with @deprecated it won't give me code hints, and LSP throws an error I don't think it makes sense Thank you help

[START][2024-09-04 18:26:38] LSP logging initiated
[ERROR][2024-09-04 18:26:38] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector\n"
[ERROR][2024-09-04 18:26:38] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "9月 04, 2024 6:26:38 下午 org.apache.aries.spifly.BaseActivator log\n信息: Registered provider ch.qos.logback.classic.servlet.LogbackServletContainerInitializer of service jakarta.servlet.ServletContainerInitializer in bundle ch.qos.logback.classic\n9月 04, 2024 6:26:38 下午 org.apache.aries.spifly.BaseActivator log\n信息: Registered provider ch.qos.logback.classic.spi.LogbackServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle ch.qos.logback.classic\n"
[WARN][2024-09-04 18:26:40] ...lsp/handlers.lua:135 "The language server jdtls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-09-04 18:26:40] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "9月 04, 2024 6:26:40 下午 com.microsoft.java.debug.plugin.internal.JavaDebuggerServerPlugin start\n信息: Starting com.microsoft.java.debug.plugin\n"
[ERROR][2024-09-04 18:26:40] ...lsp/handlers.lua:623 "2024年9月4日 下午6:26:40 Command _java.reloadBundles.command not supported on client"
[ERROR][2024-09-04 18:26:49] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "9月 04, 2024 6:26:49 下午 org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation\n警告: Unmatched cancel notification for request id 123\n"
[ERROR][2024-09-04 18:26:50] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "9月 04, 2024 6:26:50 下午 org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation\n警告: Unmatched cancel notification for request id 130\n"
[ERROR][2024-09-04 18:27:00] .../vim/lsp/rpc.lua:770 "rpc" "java" "stderr" "9月 04, 2024 6:27:00 下午 org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation\n警告: Unmatched cancel notification for request id 165\n"

@mickaelistria
Copy link
Contributor

if my Class class is marked with @deprecated it won't give me code hints

What hint should it give?

@AskaJohnny
Copy link
Author

if my Class class is marked with @deprecated it won't give me code hints

What hint should it give?
Sorry, I'd like to make sure that @deprecated Class doesn't really have a hint, I think I'm just temporarily marking a class as @deprecated but there may be changes

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

2 participants