csense-oss / idea-kotlin-checked-exceptions

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

Quickfix for wrap chops up parts of code #31

Closed Tvede-dk closed 4 months ago

Tvede-dk commented 4 months ago

example

Files.createDirectories(Path.of("test"))

using "Wrap in" results in

        Files.try {
            createDirectories(Path.of("test"))
        } catch (exception: java.io.IOException) {
            TODO("Add error handling here")
        }

Notice "Files." is missing...

Tvede-dk commented 4 months ago

See https://github.com/csense-oss/idea-kotlin-checked-exceptions/releases/tag/2.1.3

sassrobi commented 4 months ago

Awesome! When will this be available on JetBrains Marketplace?

sassrobi commented 4 months ago

Update: it is available now, and works fine, thanks!

Tvede-dk commented 4 months ago

@sassrobi You are welcome :) thanks for reporting!