desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Pycharm professional integration missing

Open GheorgheMorari opened this issue 1 year ago • 0 comments

The problem

Github desktop linux does not recognise Pycharm Professional as a valid external editor.

In desktop/app/src/lib/editors/linux.ts there is an entry for Jetbrains Pycharm: { name: 'JetBrains PyCharm', paths: [ '/snap/bin/pycharm', '.local/share/JetBrains/Toolbox/scripts/pycharm', ], },

My current installation of Pycharm professional comes from snap and its path is: /snap/bin/pycharm-professional

I believe that this issue could get fixed by inserting an additional path to the JetBrains PyCharm configuration, which would look something like this: { name: 'JetBrains PyCharm', paths: [ '/snap/bin/pycharm', '/snap/bin/pycharm-professional', '.local/share/JetBrains/Toolbox/scripts/pycharm', ], },

Or by creating a new configuration for Pycharm professional which could mimic the windows integrations of regular pycharm and community pycharm: { name: 'JetBrains PyCharm Professional', paths: [ '/snap/bin/pycharm-professional', '.local/share/JetBrains/Toolbox/scripts/pycharm', ], },

I am not sure which solution would work best, I tend to lean towards the latter option.

Release version

Version 3.3.12-linux2 (x64)

Operating system

Ubuntu 24.04 LTS x86_64

Steps to reproduce the behavior

  1. Have Pycharm professional installed
  2. Open github desktop linux
  3. Go to File -> Options... -> Integrations
  4. Check "External editor" selection for a "pycharm" entry.

Log files

No response

Screenshots

image

Additional context

No response

GheorgheMorari avatar Apr 26 '24 20:04 GheorgheMorari