Closed s2k closed 11 months ago
Hello @s2k! Thank you for the detailed report.
I created a patch release with the fix (v1.5.1). An additional check was required, so that files that are deemed invalid by the IJ platform (or are non-existent), are not processed during tag count updates.
The new version should be approved by the JetBrains Marketplace team within the next two days.
I'll leave this issue open for now, in case you still encounter the exception with the new version.
Awesome, you're welcome & thanks for the quick fix! 🙏🏼
Observed behaviour
I got the stack trace below when the name of a feature file changed. The filename change happened due to changing the Git branch, possibly changing the branch in a shell outside of the IDE. (Usually all I notice in the IDE, is that the small branch info in the bottom right if the IDE window is updated - and the project files list updates as needed.)
Expected behaviour
The plugin should update it's file list/loaded files when files (or folders) are changed externally (i.e. in a file system explorer or from within a terminal/shell).
Since the plugin already notices the change (thus the exception), it should also handle file system changes in a meaningful way, for example, by updating the (internal?) state if the loaded file list).
IDE Info