LogMX plugins for Eclipse, IntelliJ IDEA, and NetBeans

If you are using LogMX to analyze logs coming from your Java application, then this page is for you: when LogMX detects a Java stack trace in a log entry, it transforms each stack trace line into a link in LogMX GUI. When such a link is clicked, running instance of Eclipse/VSCode/IntelliJ-IDEA/NetBeans opens the corresponding Java method from this stack trace.
Also, simply hovering over this link with the mouse will show the corresponding Java source directly within LogMX:

Table of contents:
1. Eclipse plugin
1.1. Installing Eclipse plugin
1.2. Configuring Eclipse plugin
1.3. Using Eclipse plugin
2. VSCode plugin
2.1. Installing VSCode plugin
2.2. Configuring VSCode plugin
2.3. Using VSCode plugin
3. IntelliJ IDEA plugin
3.1. Installing IntelliJ IDEA plugin
3.2. Configuring IntelliJ IDEA plugin
3.3. Using IntelliJ IDEA plugin
4. NetBeans plugin
4.1. Installing NetBeans plugin
4.2. Configuring NetBeans plugin
4.3. Using NetBeans plugin
5. LogMX "GotoSource" feature
5.1. Configuring LogMX
5.2. Using LogMX "GotoSource" feature
6. Using any other IDE
1. Eclipse plugin
1.1. Installing Eclipse plugin
Pre-requisites:
Eclipse At least v3.6.2 (Helios SR2), 32/64 bits
Java At least v6, 32/64 bits
LogMX At least v5.4.0


To install "LogMX GotoSource" plugin in Eclipse, you shall use the Eclipse Update-site provided in "<LogMX_install_dir>/setup/IDE_plugins/Eclipse". Here are the steps to do this:
  1. In Eclipse, click on menu "Help", then on item "Install New Software..."
  2. Click on the button "Add...", then on "Local..."
  3. Choose the directory "<LogMX_install_dir>/setup/IDE_plugins/Eclipse"
  4. Click on button "OK" for both dialogs (giving a name to this repository is optional)
  5. A plug-in category named "LogMX Eclipse plug-ins" should now be displayed: click on button "Select All", then on button "Next >"
  6. Click on button "Next >" for each step (accepting the License if you agree with its terms), then on button "Finish"
  7. Eclipse should warn you about installing a software that contains unsigned content: just click OK (signature certificates now use SHA-256, which is not supported by Java 6, so we could not properly sign the plug-in to allow Java 6 users to install it)
  8. Restart Eclipse (Eclipse should ask you to do it)
1.2. Configuring Eclipse plugin

To configure "LogMX GotoSource" Eclipse plugin, you shall click on menu "Window", item "Preferences". In the left tree, click on "LogMX GotoSource". The preferences page should now display these options:
"Enable plug-in"
  • Check to enable the plug-in (will listen to the port described below to communicate with LogMX).
  • Uncheck to disable the plug-in without un-installing it (LogMX will not be able to use Eclipse to view source).
"Listen on address" Shall match the address specified in LogMX (see 5.1. Configuring LogMX).
Usually set to "127.0.0.1" (IP v4), "::1" (IP v6), or "localhost" (IP v4/v6)
"Listen on port" Shall match the TCP port specified in LogMX (see 5.1. Configuring LogMX).
Default port for Eclipse plugin is 7788 (ASCII lovers will understand)
1.3. Using Eclipse plugin
To use this Eclipse plugin, you just have to use the LogMX "GotoSource" feature (see 5.2. Using LogMX "GotoSource" feature).
2. VSCode plugin
2.1. Installing VSCode plugin
Pre-requisites:
VSCode At least v1.48.0
LogMX At least v5.4.0


To install "LogMX GotoSource" plugin in VSCode, you shall use the VSIX file provided in "<LogMX_install_dir>/setup/IDE_plugins/VSCode". Here are the steps to do this:
  1. In VSCode, open the "Extensions" panel ("File" > "Preferences" > "Extensions")
  2. In the top right corner of the "Extensions" panel, click on the 3 dots icon, then pick the option "Install from VSIX..."
  3. Choose the file "<LogMX_install_dir>/setup/IDE_plugins/VSCode/logmx-gotosource.vsix"
2.2. Configuring VSCode plugin

To configure the "LogMX GotoSource" VSCode plugin, you shall click on the menu "File" > "Preferences" > "Settings". Then, in the text field "Search settings", type "logmx". The tree on the left should now display the category "LogMX GotoSource": click on it. These are the settings you may want to update:
"Enabled"
  • Check to enable the plug-in (will listen to the port described below to communicate with LogMX).
  • Uncheck to disable the plug-in without un-installing it (LogMX will not be able to use VSCode to view source).
"Network: Host" Shall match the address specified in LogMX (see 5.1. Configuring LogMX).
Usually set to "127.0.0.1" (IP v4), "::1" (IP v6), or "localhost" (IP v4/v6)
"Network: Port" Shall match the TCP port specified in LogMX (see 5.1. Configuring LogMX).
Default port for VSCode plugin is 7791
Changing these settings should not require a restart of VSCode. At any time, you can also restart the plugin and its server using the command "logmx.gotosource.restart" using the VSCode Command Palette (Ctrl+Shift+P).
2.3. Using VSCode plugin
To use this VSCode plugin, you just have to use the LogMX "GotoSource" feature (see 5.2. Using LogMX "GotoSource" feature).
3. IntelliJ IDEA plugin
3.1. Installing IntelliJ IDEA plugin
Pre-requisites:
IntelliJ IDEA At least v11.0
Java At least v6, 32/64 bits
LogMX At least v5.4.0 for IntelliJ IDEA v11-v15
At least v5.5.1 for IntelliJ IDEA 2016+
To install "LogMX GotoSource" plugin in IntelliJ IDEA, you shall use the ZIP archive provided in "<LogMX_install_dir>/setup/IDE_plugins/IntelliJ_IDEA". Here are the steps to do this:
  1. In IntelliJ IDEA, click on menu "File", item "Settings..."
  2. In the left tree, go to "Plugins", then click on button "Install plugin from disk..." (gears icon at the top)
  3. Choose the following file from the directory "<LogMX_install_dir>/setup/IDE_plugins/IntelliJ_IDEA/":
  4. Click on button "OK" for both dialogs
  5. If IntelliJ IDEA is older than 2020, restart IntelliJ IDEA (the IDE should ask you to do it)
3.2. Configuring IntelliJ IDEA plugin
To configure "LogMX GotoSource" IntelliJ IDEA plugin, you shall click on menu "File", item "Settings...". In the left tree, go to "LogMX GotoSource" (or "Other Settings" then "LogMX GotoSource" for IntelliJ IDEA v11-v15). The preferences page should now display these options:
"Enable plug-in"
  • Check to enable the plug-in (will listen to the port described below to communicate with LogMX).
  • Uncheck to disable the plug-in without un-installing it (LogMX will not be able to use IntelliJ IDEA to view source).
"Listen on address" Shall match the address specified in LogMX (see 5.1. Configuring LogMX).
Usually set to "127.0.0.1" (IP v4), "::1" (IP v6), or "localhost" (IP v4/v6)
"Listen on port" Shall match the TCP port specified in LogMX (see 5.1. Configuring LogMX).
Default port for IntelliJ IDEA plugin is 7789
3.3. Using IntelliJ IDEA plugin
To use this IntelliJ IDEA plugin, you just have to use the LogMX "GotoSource" feature (see 5.2. Using LogMX "GotoSource" feature).
4. NetBeans plugin
4.1. Installing NetBeans plugin
Pre-requisites:
NetBeans At least v8.0, 32/64 bits
Java At least v7, 32/64 bits
LogMX At least v6.6.0

To install LogMX GotoSource plugin in NetBeans, you shall use the two NBM files provided in "<LogMX_install_dir>/setup/IDE_plugins/NetBeans". Here are the steps to do this:
  1. In NetBeans, click on menu "Tools", item "Plugins..."
  2. In the tab "Downloaded", click on the button "Add Plugins..."
  3. Choose the two NBM files from the directory "<LogMX_install_dir>/setup/IDE_plugins/NetBeans/"
  4. Then back to the "Plugins" window, click on the button "Install" (you can ignore the warnings about unsigned plugins)
  5. Restart NetBeans (NetBeans should ask you to do it)
4.2. Configuring NetBeans plugin
To configure "LogMX GotoSource" NetBeans plugin, you shall click on menu "Tools", item "Options". Then go to tab "Miscellaneous", then tab "LogMX". The preferences page should now display these options:
"Enable plug-in"
  • Check to enable the plug-in (will listen to the port described below to communicate with LogMX).
  • Uncheck to disable the plug-in without un-installing it (LogMX will not be able to use NetBeans to view source).
"Listen on address" Shall match the address specified in LogMX (see 6.1. Configuring LogMX).
Usually set to "127.0.0.1" (IP v4), "::1" (IP v6), or "localhost" (IP v4/v6)
"Listen on port" Shall match the TCP port specified in LogMX (see 6.1. Configuring LogMX).
Default port for NetBeans plugin is 7790
4.3. Using NetBeans plugin
To use this NetBeans plugin, you just have to use the LogMX "GotoSource" feature (see 5.2. Using LogMX "GotoSource" feature).
5. LogMX "GotoSource" feature
5.1. Configuring LogMX
To configure LogMX "GotoSource" options:
  1. click on menu "Tools", item "Options"
  2. in the "General" tab, click on button "Eclipse/VScode/IntelliJ/NetBeans integration..."
  3. set the address and port to the values you specified in your IDE plugin options (§1.2, §2.2, §3.2, or §4.2)
  4. for better performance when LogMX will fetch the source code, you can uncheck the IDEs you don't currently use and/or move your preferred IDE on top of the list:

5.2 Using LogMX "GotoSource" feature
Once LogMX and your IDE are both configured like described above, you can use LogMX "GotoSource" feature in its "Entry details" panel (bottom of main window):
6. Using any other IDE
If you want to use the LogMX "GotoSource" feature with an IDE that is currently not supported, you can send us a feature request (contact@logmx.com), or implement the IDE plug-in yourself using the provided API: https://logmx.com/dev/ide-plugins/api/index.html.