Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pycharm professional integration missing #1054

Closed
GheorgheMorari opened this issue Apr 26, 2024 · 0 comments · Fixed by #1063
Closed

Pycharm professional integration missing #1054

GheorgheMorari opened this issue Apr 26, 2024 · 0 comments · Fixed by #1063

Comments

@GheorgheMorari
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants