YunaBraska / github-workflow-plugin

Your Ultimate Wingman for GitHub Workflows and Actions! 🚀
https://github.com/YunaBraska/github-workflow-plugin
Apache License 2.0
41 stars 8 forks source link

fix: AddSufix #63

Open LecrisUT opened 2 months ago

LecrisUT commented 2 months ago

Will rebase the CI stuff later and cherry-pick only the last commit

Just monkeying around I've bumped into this error. I am not sure what the snippet is meant to do there, just trial and error to get the behavior working.

YunaBraska commented 2 months ago

i guess the best thing before changing would be adding tests. i have no idea how to thest things maybe you have more luck?

LecrisUT commented 2 months ago

I am generally looking at rust plugin for reference ^1, but it would take some time to decipher how each work. At least it seems that it is indeed tested

LecrisUT commented 2 months ago

Maybe I've found something: com.intellij.testFramework.fixtures.CodeInsightTestFixture. It seems to have quite a few functions there

YunaBraska commented 2 months ago

I have written some tests already, they are just commented out as they only work with synchonous operation. The important thing is to test the syntax highlighting and errors / hints. The functions itself are working, no issue there, but you never know how it ends up visually in IDE