csense-oss / idea-kotlin-checked-exceptions

A plugin that adds errors / hints / quickfix related to checked exceptions for kotlin.
MIT License
25 stars 2 forks source link

error mark function place #9

Closed zomb-676 closed 1 year ago

zomb-676 commented 3 years ago

4 plugin version:1.1.4(latest) idea version:2021.1.2(latest)

Tvede-dk commented 1 year ago

Should be "fixed" in 2.0. The short answer is that the plugin (as of now) does not know all the intrinsic of which functions are "callthough" (e.g. calls in place) and which one captures the exceptions. So if the plugin is unable to read any contracts &/ annotations (2.0) then it would first need to know that a lambda argument is callthough. then it should also be able to highlight the call instead of inside of the lambda (as it is the call now that will throw).