siarheiburliayeu / IDEA-Native-Terminal-Plugin

Native Terminal Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/9966-native-terminal
MIT License
63 stars 17 forks source link

Does not launch terminal on a selected directory anymore #56

Closed htr3n closed 8 months ago

htr3n commented 8 months ago

Hi,

thanks for creating this handy plugin. I have been using it recently. I often assign a shortcut to launch a native terminal upon a selected file or directory. It's used to work before for both. And it even worked when I selected a file or directory on the left hand side "Project View".

Since the last update of the plugin, it only can launch a terminal when I open a file. I tailed the logs but could not see anything useful. Nonetheless, when I opened a file and then use Native Terminal Plugin, I could see the logs

2024-03-13 17:13:11,659 [3010083]   INFO - org.sonar.plugins.javascript.bridge.CssRuleSensor - No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
2024-03-13 17:13:15,187 [3013611]   INFO - #com.sburlyaev.cmd.plugin.actions.OpenTerminalBaseAction - Environment{os=LINUX, osVersion='6.5.0-21-generic', gui='null'}
2024-03-13 17:13:15,188 [3013612]   INFO - #com.sburlyaev.cmd.plugin.CommandBuilder - Favorite terminal is [/usr/bin/xterm] and using [GENERIC]
2024-03-13 17:13:15,188 [3013612]   INFO - #com.sburlyaev.cmd.plugin.CommandBuilder - Project directory: /home/xyz
2024-03-13 17:13:15,188 [3013612]   INFO - #com.sburlyaev.cmd.plugin.actions.OpenTerminalBaseAction - [/usr/bin/xterm]
htr3n commented 8 months ago

Also ,this might be related or not, but I recall there is a context menu "Open in External Terminal" when I select a file or directory but it's no longer the case. The context menu only shows for an opened file.

htr3n commented 8 months ago

I downloaded v0.6.0 ZIP and manually installed the plugin. It works as expected with a selected directory and file from any where, "Project View" or an opened file. I guess v0.7.0 has some sort of regression or is it intended?

siarheiburliayeu commented 8 months ago

Hi Alex,

Thank you for your involvement, version 0.7.1 should bring it back (https://github.com/siarheiburliayeu/IDEA-Native-Terminal-Plugin/releases/tag/0.7.1) - will be available in JetBrains Marketplace within a few days.

htr3n commented 8 months ago

@siarheiburliayeu Thank you, amazing work!