I've never used pycharm but if it is possible to open project by passing
the full folder project to pycharm.sh then you could add a plugin that
trigger when creating a new project and create a script file in the project
folder that would call the pycharm.sh with the current directory (project
directory). It would probably be of interest for the community. Otherwise
just create a script that would call pysharm.sh <CURRENT_DIR> call it
open_project.sh and copy it over when you create a new project. It's not
out of the box but seems easilly feasible and achieve the feature you are
looking for.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-02-02 18:23 GMT+00:00 Leif Theden <leif.the...@gmail.com>:

> I've never seen pycharm open a project from the Finder, or equivalent in
> Windows or Linux.  However, if you pass a full path to the project folder
> to the pycharm.sh (linux, i think also mac osx) it will open the project.
> I'm a daily user of pycharm, so it is almost never closed....
>
> Using that information, you could maybe create a context menu helper (i'm
> not familar enough with os x to advise how to do that) that launches
> pycharm with the correct path appended to the pycharm launcher.
>
> Hope that helps.
>
> On Thu, Feb 1, 2018 at 6:54 PM, Irv Kalb <i...@furrypants.com> wrote:
>
>> I teach Python programming at different colleges.  In my courses I use
>> IDLE because of the simplicity of use for new programming students.
>>
>> However, when I'm doing any significant development, I use PyCharm (I'm a
>> big fan of using a debugger, and I cannot understand or use the debugger in
>> IDLE.)  I can't seem to find the appropriate place to ask this question in
>> the PyCharm support pages, so I hope that there is a PyCharm user here who
>> can answer my question.
>>
>> I have built a number of different projects in PyCharm where each project
>> consists of a number of Python files (main and class files).  This is all
>> working fine.  And I can certainly re-open projects from inside PyCharm.
>> However, what I would like to do, is to open a project from the Mac
>> Finder.  That is, I have a project in a folder, and I've got the folder
>> open, but I don't have PyCharm running.  I want to double click on
>> something in the folder and have it bring up my project in a PyCharm
>> window.  But I cannot figure out how to do this - or even if it is possible.
>>
>> I know that there is a hidden folder called the ".idea" folder, and I
>> know how to make it show up in the Finder (command + shift + period).  But
>> that is a folder, and opening the folder shows three xml files and an "imi"
>> file - all of which are just text files.
>>
>> So, the question is: How can I open a PyCharm project from the Mac Finder?
>>
>> Thanks,
>>
>> Irv
>
>
>

Reply via email to