despinoza1 / InlineError

Plugin that displays errors in editor for Intellij IDEs
https://plugins.jetbrains.com/plugin/17302-inlineerror
MIT License
36 stars 4 forks source link

[Feature Request] show warnings also #5

Open RoduanKD opened 2 years ago

RoduanKD commented 2 years ago

Thank you so much for this plugin it's really useful I just can't imagen working on phpstorm without it (after migrating from VSCode). I think it would be best if you make it also work for "everything that's underlined" (warnings, weak warnings ... etc),

thanks again.

lvzegeng commented 2 years ago

This plugin is very efficient, but it would be better if it could be configured to display warnings

chylex commented 2 years ago

Hi, I'm not sure what's the state of this feature request, but if the author is interested it's possible to use MarkupModelListener to receive notifications for highlights of every category in Inspections.

I have my own IJ plugin inspired by Error Lens; I haven't released it anywhere, but I can put the source code up so you can look at my approach. It's written in Kotlin, but it should be easy to understand.

icedice commented 2 years ago

Hi, I'm not sure what's the state of this feature request, but if the author is interested it's possible to use MarkupModelListener to receive notifications for highlights of every category in Inspections.

I have my own IJ plugin inspired by Error Lens; I haven't released it anywhere, but I can put the source code up so you can look at my approach. It's written in Kotlin, but it should be easy to understand.

I'm also interested in this. Would your plugin work for AppCode / Swift? Or maybe be used as a starting point for creating a plugin that does?

chylex commented 2 years ago

Hi, I'm not sure what's the state of this feature request, but if the author is interested it's possible to use MarkupModelListener to receive notifications for highlights of every category in Inspections. I have my own IJ plugin inspired by Error Lens; I haven't released it anywhere, but I can put the source code up so you can look at my approach. It's written in Kotlin, but it should be easy to understand.

I'm also interested in this. Would your plugin work for AppCode / Swift? Or maybe be used as a starting point for creating a plugin that does?

I put the source code up at https://github.com/chylex/IntelliJ-Inspection-Lens. It should work with AppCode, though I can't install it to test. It works with inspection highlights that have asynchronous descriptions, those are used in Rider due to the R# backend, and maybe in other IDEs. If you want to try it, you can download and install the plugin manually. It should just work; I made it for myself so the plugin has no configuration, but it should at least have good default colors for light and dark theme.

If my implementation works better, feel free to use it to improve Inline Error; it's probably not a good idea to just keep using my version since you won't be getting updates on manually installed plugins.

Jarrodsz commented 1 year ago

This plugin is very efficient, but it would be better if it could be configured to display warnings

would love this too this plugin has so many potential. The author should make a PRO version and a free version, pro version full features. I think lots of us will pay a small amount if it would fix the latest issues