Does anyone have the same error forever when developing as a team?
I think, "I wish I could ask without holding it myself forever!", But he seems to think that he can solve it, and if he tries to solve it by himself, it will take time. This is a low productivity situation for you and your team.
In order to solve such a situation, I made a plugin for IDEA that ** automatically notifies the team's Slack of the error message and the corresponding code when an error occurs **. The name of the plugin is ** watchMe **.At ** watchMe **, the goal is to share your errors with team members and get advice to resolve them quickly.
The code is published below. I'm glad if you can add a star m (_ _) m chakki-works/watchMe
Installation requires plugin installation in IDEA and Slack Incoming Webhook settings. Let's introduce the setting method.
First, set up the Incoming Webhook. Please open the following URL. https://slack.com/services/new/incoming-webhook
Select the channel for which you want to be notified of error messages. It's a good idea to create a channel for each project you're working on.
After selecting the channel, the Webhook URL will be displayed, so make a note of it.
That's all for Slack settings. Next, install the plug-in in IDEA.
Here we will install the plugin. Search for and install watchMe from IDEA's Preferences-> Plugins-> Browse repositories ... Please restart IDEA for the installation to take effect.
Once watchMe is installed, select Tools-> Slack Settings-> Add Slack Channel.
A dialog will appear where you can enter your name and the webhook URL you wrote down. The name is used to indicate who the error is.
This completes the settings. When an error occurs, Slack will be notified of the error message and the corresponding line of code.
Currently, it will automatically notify you when an error occurs. It's nice to be notified automatically, but sometimes simple errors are resolved on their own before getting advice. Therefore, it seems better to notify when the same error occurs several times.
Also, I noticed after I finished making it, but isn't it taking time to develop when thinking about logic and design rather than being addicted to solving the error that occurred? The hypothesis came to me. If that hypothesis is correct, watchMe cannot detect it. Therefore, I think that creating a plug-in that acquires the following information and issues an alert may help improve productivity.