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

Incompatability with Jetbrains Toolbox? #3

Open
gimbo opened this issue Mar 18, 2021 · 4 comments
Open

Incompatability with Jetbrains Toolbox? #3

gimbo opened this issue Mar 18, 2021 · 4 comments

Comments

@gimbo
Copy link

gimbo commented Mar 18, 2021

Hi there; I saw you mention your tool at microsoft/vscode#37350 and since I use PyCharm as well as VSCode, I thought I'd try it out as it would be excellent to use that if possible.

Unfortunately, I can't get it to recognise PyCharm...

The extension helpfully suggests a path such as /Applications/WebStorm.app/Contents/MacOS/webstorm; however:

  • I don't have /Applications/PyCharm.app
  • I do have /Applications/JetBrains Toolbox.app
    • This is a launcher you can use with various jetbrains products
    • There's no pycharm inside that package.
  • I also do have ~/Applications/PyCharm.app, which I guess is put there by the jetbrains toolbox...
    • But again, there's no pycharm inside that package
    • There is: Contents/MacOS/jetbrains-toolbox-launcher, but it's only 37Kb in size, and pointing your extension at it didn't work.
  • I've also had a dig around in ~/Library/ApplicationSupport but to no avail...

Any ideas?

@gimbo
Copy link
Author

gimbo commented Mar 18, 2021

Ah, I just found where the toolbox installs it. The full path seems to be:

/Users/gimbo/Library/ApplicationSupport/JetBrains/Toolbox/apps/PyCharm-P/ch-0/211.6085.15/PyCharm 2021.1 EAP.app/Contents/MacOS/pycharm

Now your extension can find it (it doesn't say "You enter wrong address of intellij path" any more) but it doesn't open the PyCharm merge tool, and instead just pops up:

This file has conflict.

It doesn't seem to matter whether I have PyCharm open or not.

BTW, even if I can get this working properly, it'll still be a bit problematic as the path will change every time I install a new version of PyCharm. But maybe that's an annoyance worth living with; not sure what can be done about it...

@gimbo
Copy link
Author

gimbo commented Mar 18, 2021

Hmmmm, looks like it gets as far as creating .temp.master.WHATEVER but that's it (and it doesn't clean up when it fails); so maybe it's just going wrong when creating the .temp.slave.* file??? Seems weird, can't see why it would succeed on one but fail on the other. Guess it could do with some error logging... :-)

@lexaurin
Copy link

The same here with IntelliJ:

This file has conflict.

for path /Applications/IntelliJ IDEA.app/Contents/MacOS/idea

@Noyabronok
Copy link

I have intellij idea, but the default path wasn't working. Tried a few path options, and now it's stuck with the "This file has conflict" error, and I can't change the path

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

No branches or pull requests

3 participants