chylex / IntelliJ-Inspection-Lens

IntelliJ platform plugin that shows errors, warnings, and other inspection highlights inline.
https://plugins.jetbrains.com/plugin/19678-inspection-lens
Mozilla Public License 2.0
57 stars 12 forks source link

Support right-aligned inspections #11

Closed nicolaslara closed 1 year ago

nicolaslara commented 1 year ago

Thanks for making this plugin! it works great and I've been lacking this in intellij for a while.

It would be great if it could support displaying the inspections right-aligned so that they're easier to read and differentiate from the code.

I can try to work on this when I get some free time and submit a PR, but leaving the issue here in case someone can get to it before I do.

chylex commented 1 year ago

Can you explain or show how right-aligned inspections look? I don't recall this being an option in the IntelliJ SDK and don't think I saw anything like that before.

chylex commented 1 year ago

Closing due to no response.

nicolaslara commented 1 year ago

Ahh sorry! Completely missed the first reply. Here's a screenshot of what I meant: 08xmT.png

chylex commented 1 year ago

I don't see anything in the IntelliJ SDK that could right-align inlay hints; I'm sure it would be possible with a sufficient level of hackery but that's not appropriate for this plugin. I could see someone making a separate plugin that adds general support for right-aligned inlay hints.

nicolaslara commented 1 year ago

That makes sense! Thanks for looking into it anyway 😊