Well, we had a plugin for something like that ages ago, that might went
even deeper than that for log4j as far as I remember.
Writing one would be an interesting task for a beginner. Go for it!
It would be good to add a new module to the ide cluster.
I'd do that in the following order:
1. Create a TopComponent for the log files
2. Use hard coded files to test your workflows
3. Create a Project Customizer, and register that for an existing
project type.
4. Test
5. Register your project customizer to other project types
6. Test
7. Contribute a PR
On 8/27/21 1:03 PM, Tim Mullé wrote:
Hi,
I use a feature in IntelliJ at work when running applications from the
IDE that allows me to view one or more log files
In separate tabs when the program starts up.
I was wondering if Netbeans has this kind of support or is there a
plugin already to support this kind of action?
If not, I was thinking of taking a shot at writing one since I do like
using Netbeans and it would be a fun and useful way to expand the IDE.
I’m guessing it would be an extension of the Java project or editor to
add a new configuration option in the project settings dialog?
I saw something in the New Project wizard tutorial on how to add
customizers for Projects so I think that might be where it should
go..still learning.
I know I can always tail the logs in the terminal, but that’s no fun :)
I’d like a new tab to open up and stream the log file(s) just like
IDEA does.
You can configure it in the configuration settings in IntelliJ on a
per project basis:
Here is the description how to use it:
https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html
<https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html>
Thanks,
- Tim