Questions tagged [inlay-hints]

8 questions
3
votes
1 answer

Can I toggle inlay hints with a keystroke in IntelliJ?

I'm using Rust, but this is probably language-independent. Sometimes I find inlay hints for types, etc. very helpful, but sometimes they are in the way. Is there a way to turn them on and off with a keystroke?
AmigoNico
  • 6,652
  • 1
  • 35
  • 45
1
vote
0 answers

Don't see number of usages in inlay hints

In Pycharm, I'd like to see the number of times each function and method in my code are used. I thought this was the use of inlay hints -> code vision -> usages, which I have turned on... However, these usages are not showing up in my code. In the…
Ben
  • 4,798
  • 3
  • 21
  • 35
1
vote
0 answers

Why am I not seeing Code-Author Checkbox in my Inlay Hint configuration?

Version of PyCharm PyCharm 2020.3.5 (Community Edition) Build #PC-203.7717.81, built on March 25, 2021 Runtime version: 11.0.10+8-b1145.96 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory:…
Guy
  • 666
  • 1
  • 10
  • 34
0
votes
1 answer

Configure Rust Analyzer to disable Inlay Hints when used in Eclipse IDE with Corrosion

I'm using the latest Eclipse IDE (2023-03) with Corrosion, and the Rust Analyzer (1.69.0). But the inlay hints clutter up the code a lot, while these hints provide no new information. I would very much like to turn off inlay hints…
Code4R7
  • 2,600
  • 1
  • 19
  • 42
0
votes
0 answers

How can I re-call provideInlayHints on cursor position change?

I want to re-draw inlay hint on cursor position change, however i couldn't find any function to make that happen. I tried to executeProvideInlayHints command however it just gives me bunch of hints. I want to re-draw them on cursor movement.
Samet Aylak
  • 166
  • 6
0
votes
1 answer

Is it possible to have 'inlay hints' in Sublimetext (currently build 4143)?

I'm writing something in TypeScript (Deno) using VSCode and love the inlay hints. I would like to try using SublimeText again, but I don't want to lose the inlay hints. It's possible in IntelliJ, VSCode. Is it not possible in…
Chris V
  • 221
  • 1
  • 6
0
votes
1 answer

rust-analyzer inlay hints mostly works, but I get the elipsis (...) for types of variables. How do I get the full type for variable declarations?

I'm just a beginner to Rust, but got rustup, cargo, rustc etc all working and VSCode set up. Even breakpoints work. For function parameters I sometimes get the proper type hints, but for variable declarations I only see ... I wonder why I see no…
user2943111
  • 421
  • 1
  • 5
  • 15
0
votes
1 answer

How to make the `CocInlayHints` background color transparent in `.vimrc`

This is a follow up question to Change the color of the type hint in coc.nvim's rust-analyzer I'm wondering if it's possible to change the background color of inlay hints from Rust Analyzer in Vim. Adding a hex #ffffff00 doesn't seem to work, nor…