OpenInTerminal icon indicating copy to clipboard operation
OpenInTerminal copied to clipboard

More "Open in" applications and customisation

Open feigaoxyz opened this issue 5 years ago • 15 comments

Summarize this feature

Provide ways to customise "Open in" experience.

Why should this feature be included?

macOS provides functionality in command line as open -a MyApp /path/to/file/or/folder to customise the open experience. For example, user can use open -a CotEditor /path/to/folder to open folder in CodEditor; or open -a MacVim ~/myPath to open folder in MacVim.

Hope your app can provide ways for users to customise this to facilitate the individual needs instead of adding the support one by one through Issues.

Additional information

feigaoxyz avatar Oct 30 '19 04:10 feigaoxyz

Good suggestion! This feature will be added in next version.

Ji4n1ng avatar Oct 30 '19 08:10 Ji4n1ng

OpenInTerminal v2.1.1 and OpenInTerminal-Lite v1.1.0 have been released. The new version supports CotEditor and MacVim.

The customized functions is still under development.

Ji4n1ng avatar Jan 09 '20 07:01 Ji4n1ng

PHPStorm would be awesome, too! :)

open -a PhpStorm /path/to/folder

ouun avatar Apr 04 '20 10:04 ouun

@ouun I don't have PhpStorm on my machine. Have you tried this command? If it works, I will add this feature in the next version without testing.😂

Ji4n1ng avatar Apr 04 '20 11:04 Ji4n1ng

Yes I tested it and works perfectly. :) THX

ouun avatar Apr 04 '20 12:04 ouun

Awesome!

Ji4n1ng avatar Apr 04 '20 12:04 Ji4n1ng

@ouun OpenInTerminal v2.2.0 has released. The new version supports PhpStorm.

Ji4n1ng avatar Apr 06 '20 20:04 Ji4n1ng

@Ji4n1ng Great news. Just tested it and somehow PHPStorm is not recognized as installed application. How do you test that so that I can confirm that it should be listed as installed.

ouun avatar Apr 07 '20 08:04 ouun

@ouun I have tested it and it works.

Screen Shot 2020-04-07 at 8 33 55 PM Screen Shot 2020-04-07 at 8 36 51 PM

Ji4n1ng avatar Apr 07 '20 12:04 Ji4n1ng

@Ji4n1ng thanks for testing! I guess I know why it is not recognizing it for me. I'm using the JetBrains Toolbox to update JetBrains Software such as PhpStorm. So the app is not directly located a bit different. Running $ system_profiler SPApplicationsDataType | grep PhpStorm

    PhpStorm:
      Location: /Users/philipp/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/193.6911.26/PhpStorm.app
      Get Info String: PhpStorm 2019.3.4, build PS-193.6911.26. Copyright JetBrains s.r.o., (c) 2000-2020
    PhpStorm:
      Location: /Users/philipp/Applications/JetBrains Toolbox/PhpStorm.app` 

grafik

That's why I wondered how you check for an app installed.

Kind regards

ouun avatar Apr 07 '20 13:04 ouun

@ouun Currently OpenInTerminal only checks two directories: /Applications/PhpStorm.app and /Users/user/Applications/PhpStorm.app. I will change this in order to find app in a subfolder in the next version. Maybe you could try to add a symlink in /Applications folder. I don't know if it works or not.

Ji4n1ng avatar Apr 08 '20 09:04 Ji4n1ng

SublimeMerge would also be very cool to have!

hvonwah avatar Apr 08 '20 13:04 hvonwah

Typora would be nice which is an awesome markdown editor.

moriwang avatar Apr 12 '20 14:04 moriwang

@ouun This problem has been solved. Please update the latest version.

Ji4n1ng avatar May 24 '20 09:05 Ji4n1ng

Beautiful! Thanks a lot, I can confirm it is working as expected.

ouun avatar May 25 '20 08:05 ouun