Re: [pygame] Opening Python project in PyCharm - Mac

2018-02-06 Thread Greg Ewing

Alex Nordlund wrote:

No, that's the toolbox, the toolbox app is free.
It's also confusingly named :-)


But does it do anything on its own? According to the web
page about it, it's just something for managing their
other tools, which are not free.

If I'm wrong about that, and it actually has functionality
of its own, then it's not just confusingly named, but
very badly advertised.

--
Greg


Re: [pygame] Opening Python project in PyCharm - Mac

2018-02-06 Thread Alex Nordlund

> On 4 Feb 2018, at 01:54, Greg Ewing  wrote:
> 
> Alex Nordlund wrote:
>> The toolbox app from jetbrains already does that but better :-)
> 
> Also a LOT more expensively, from the looks of their web site.

No, that's the toolbox, the toolbox app is free.
It's also confusingly named :-)


Best regards 
Alex


Re: [pygame] Opening Python project in PyCharm - Mac

2018-02-06 Thread Guillaume Paniagua
Hi Irv,

It's probably just one line script to be fair anyone that can use pycharm
could do it.
https://www.hastac.org/blogs/joe-cutajar/2015/04/21/how-make-simple-bash-script-mac

the command you want to run in the script is "pycharm.sh $PWD"
and then make that script executable so when you double click on it it
execute the command and start the project in the current directory.

Guillaume

2018-02-06 4:55 GMT+00:00 Irv Kalb :

> HI,
>
> Thanks to everyone for the proposed answers to my question.
>
> I am not a shell scripted and would not know where to start to write such
> a script.  I was just hoping that it was "built in", but that I was just
> missing something.  But it looks like the feature that I really want does
> not exist.  That's unfortunate.
>
> Thanks,
>
> Irv
>
> PS:  If someone else winds up building such a script where you can just
> right click on a folder and have that folder open as a project in PyCharm,
> I would be very interested.
>
> On Feb 2, 2018, at 10:23 AM, Leif Theden  wrote:
>
> 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  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
>
>
>
>