vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

【new feature】 implementationsCodeLens support impl of method

Open mozhuanzuojing opened this issue 1 year ago • 1 comments

implementationsCodeLens support impl of method.

Environment
  • Operating System:WSL2 - Ubuntu24.04
  • JDK version:17
  • Visual Studio Code version:1.92
  • Java extension version:1.35.1
Steps To Reproduce

image

[Please attach a sample project reproducing the error] Please attach logs

Current Result

method of interface don't have impl when enable implementationsCodeLens

Expected Result

find impl of method when enable implementationsCodeLens

Additional Informations

mozhuanzuojing avatar Oct 14 '24 01:10 mozhuanzuojing

从你的配置文件里面学到了Java插件的一些特性👍

iwangbowen avatar Oct 15 '24 08:10 iwangbowen

I would like to ask how feasible this implementation is, and if it can be implemented, it can reduce the psychological burden of developing a lot of code

mozhuanzuojing avatar Oct 22 '24 09:10 mozhuanzuojing

It can definitely be done. image

See https://github.com/redhat-developer/vscode-java/issues/416 for the history. We would have to have it guarded by a setting since I would see it affecting performance. Something like :

image

rgrunber avatar Oct 29 '24 15:10 rgrunber