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
51 stars 12 forks source link

FR: Change Inspection info displace position #22

Closed bcdax110 closed 4 months ago

bcdax110 commented 4 months ago

In the small width of the monitor or monitor placed vertically, the display in the code line behind the often need to turn the page to the right in order to see, is it possible to add the function to set the position of the information displayed! For example, like the following:

at top of the code

// ↓ cause a error: .....
codeThatGeneratesError;

at bottom of the code

codeThatGeneratesError;
// ↑ cause a error: .....
chylex commented 4 months ago

There is no configuration, your best option is to build a custom version of the plugin. I'm not sure how well it would work on top/bottom, I think the code would be constantly jumping up and down when inspections appear and disappear, which would be extremely distracting.

bcdax110 commented 4 months ago

I only thought of this display as a way to shorten line widths, but forgot to consider that this display might cause the code to jump up and down, sorry for the spam.