s4nchez / okey-doke-idea

IntelliJ IDEA Plugin for okey-doke
Apache License 2.0
3 stars 3 forks source link

Plugin fails with a custom file extension #3

Open lukasz-gryzbon opened 3 years ago

lukasz-gryzbon commented 3 years ago

When I set the file extension of the approved files like this:

internal class ResourcesApprovalsExtension : ApprovalsExtension(
        fileSystemApproverFactory(File("src/test/resources/approved"), ".json")

then the IntelliJ shortcut doesn't work any more.

I suspect it's because the extensions are hardcoded here: Approve.kt

    private val actualExtension = ".actual"
    private val approvedExtension = ".approved"