rust-analyzer icon indicating copy to clipboard operation
rust-analyzer copied to clipboard

vscode outline cant diff private or public function of rust code

Open q2333gh opened this issue 2 years ago • 2 comments

q2333gh avatar Mar 02 '24 16:03 q2333gh

What do you mean, do you have a screenshot? Anyway, we don't do diffs, so you might want to report it against Code.

lnicola avatar Mar 02 '24 16:03 lnicola

image I mean the different icon of private function and public function. This is InteliJ IDE look like : image

q2333gh avatar Mar 02 '24 17:03 q2333gh

rust-analyzer has tokenModifier to identify public, however, it still a editor level feature to show the diff icon, or, some extentsion could also make it possible.

Young-Flash avatar Mar 03 '24 01:03 Young-Flash

rust-analyzer has tokenModifier to identify public, however, it still a editor level feature to show the diff icon, or, some extentsion could also make it possible.

Thanks~ i got it . the display diff icon work should vscode itself do .

q2333gh avatar Mar 03 '24 14:03 q2333gh