-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async go test run into Vim-loclist with help of -json flag #53
base: main
Are you sure you want to change the base?
Conversation
👍🏻 The function looks quite good. However, it would take more days for me to review because the code changes are huge :) |
Thanks! And thanks for the great plugin. Minimalistic was exactly what I was looking for 👍 I did try to keep feature-related changes in their own files as much as possible, only changing those existing files I had to. That's the reason there might be some parts that could be common for the whole project but aren't yet. |
I understand what this feature provide. However, it's like a brand implementation of go test commands. Is it possible to combine with the previous implementation? Async could be a default feature while loclist output is yet another choice apart from popup window. |
I understand what you mean. However, I had a few considerations even when I
However, I'm still open for suggestions, but we should decide if it's OK to I understand that you don't want to have overlapping features in the codebase, |
Any update on this ? |
I could return to work with this when I get answers to my previous questions. Just so you know, I have used my fork since. It works perfectly, and it's needed for repos that have long-lasting test runs. The original idea was to first bring the async functionality as a new/separated code part, merge sync functionalities to linter, and make the default for the tests after receiving user feedback. But as I said, I'm open to suggestions. |
@lainio Thanks for your response. For configuration to switch behavior, I think adding new config like |
Could someone from the repo's maintainers tell me how to move forward? As I have said in my previous comments, if we decide to change the whole test run system to async, it's a big deal to UX. The modal popups/dialogs/windows don't work well when the async/background task is running. The loclist and virtual text are perfect for that, but maybe they (as well) only together 🤔 How should the modal, end-result popup window work in the async test run? Think about a case where your test run takes >10 sec. Should everything be blocked during that, or should the popup brought up when the results are ready? (How disturbing that could be.) For that reason, FTR, I'm eager to hear any suggestions for the UX design (including configs) and how to merge the code. What's good with the current PR is that it's mostly only adding new code and minimal merge conflicts. |
go test -json
output format to fill vim's location list asynchronously-json
to dedicated flag, etc.