zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
604 stars 71 forks source link

[BUG] file/repository links do nothing #502

Closed billwert closed 7 months ago

billwert commented 10 months ago

Describe the bug I've just paid for my license and restarted the IDE, etc. I got issue links working with configuration. When I right click->GitToolBox and choose any of file/repository open/copy nothing happens. I see nothing in the log.

To Reproduce Steps to reproduce the behavior:

  1. Right click and open context menu
  2. Choose copy file link. (or open, or do either for remote.)

Expected behavior The link is copied.

Plugin version 500.0.18+222

IDE version IntelliJ IDEA 2023.2.1 (Ultimate Edition) Build #IU-232.9559.62, built on August 22, 2023 Runtime version: 17.0.8+7-b1000.8 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 16 Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true

Non-Bundled Plugins: com.github.copilot (1.2.21.2995) Key Promoter X (2023.2.0) com.intellij.plugins.vscodekeymap (232.8660.88) com.samdark.intellij-visual-studio-code-dark-plus (2.8) CheckStyle-IDEA (5.82.0) uk.co.ben-gibson.remote.repository.mapper (4.3.6) zielu.gittoolbox (500.0.18+222) com.microsoft.tooling.msservices.intellij.azure (3.80.2-2023.2)

Kotlin: 232-1.9.0-IJ9559.62

zielu commented 10 months ago

Hi, which repository type is that ? (github, gitlab etc)

For repository links there should be a log from zielu.gittoolbox.ui.link if the link could not be calculated.

billwert commented 10 months ago

Oh, sorry. Github almost always with two remotes configured, ala:

origin https://github.com/billwert/azure-sdk-for-java (fetch) origin https://github.com/billwert/azure-sdk-for-java (push) upstream https://github.com/Azure/azure-sdk-for-java.git (fetch) upstream https://github.com/Azure/azure-sdk-for-java.git (push) s Thanks, -Bill

zielu commented 10 months ago

I created a dev build with extra logging (500.0.19+222). Could you do the following:

  1. switch to plugin EAP channel
  2. enable debug logging from zielu.gittoolbox.ui.link by adding #zielu.gittoolbox.ui.link to Debug Log Settings
  3. check in logs for zielu.gittoolbox.ui.link
zielu commented 10 months ago

@billwert checking in if you tried steps outlined above?

billwert commented 10 months ago

Apologies, not yet. I'm off work today but will check it out on Wednesday.

zielu commented 7 months ago

No feedback on the issue, but plugin was extended with new notifications indicating why action did nothing