Set PyCharm as Default editor for .py files on windows

Hi,
Is there a way to set pycharm as the default editor, without using the Windows `Right click > Open with... > C:\...\bin\pycharm.exe` method for both *.py and *.ipynb? Maybe somewhere within the editor settings?

Thank you!
PyCharm is super amazing!!!
0
5 comments
Avatar
Permanently deleted user
In Windows explorer, right click a .py file, Open With ... -> Choose Default Program. If you don't see PyCharm listed, click Browse... then select the pycharm.exe executable, e.g. at: c:\Program Files (x86)\JetBrains\Pycharm 3.4\bin\pycharm.exe
2
Avatar
Permanently deleted user
Ok, that was very much NOT WHAT I ASKED.....

On Fri, Nov 14, 2014 at 11:12 AM, Preston L - PyCharm <
jetforum@jetbrains.com> wrote:

* PyCharm <http://forum.jetbrains.com/forum/PyCharm> * > * Set PyCharm as
Default editor for .py files on windows
<http://forum.jetbrains.com/thread/PyCharm-2419> * 11:11 am
<http://forum.jetbrains.com/thread/PyCharm-2419?message=PyCharm-2419-1>  Preston
L <http://forum.jetbrains.com/user/Preston%20L>

In Windows explorer, right click a .py file, Open With ... -> Choose
Default Program. If you don't see PyCharm listed, click Browse... then
select the pycharm.exe executable, e.g. at: c:\Program Files
(x86)\JetBrains\Pycharm 3.4\bin\pycharm.exe

   jbrinkmann <http://forum.jetbrains.com/user/jbrinkmann> @ Nov 08
<http://forum.jetbrains.com/thread/PyCharm-2419>

Hi,
Is there a way to set pycharm as the default editor, without using the
Windows `Right click > Open with... > C:\...\bin\pycharm.exe` method for
both *.py and *.ipynb? Maybe somewhere within the editor settings?

Thank you!
PyCharm is super amazing!!!

  JetBrains Forum | Build #176 (May/07/2014 4:41PM) | Feedback
<http://confluence.jetbrains.net/display/JETF/Feedback>
-2
It seems like that's exactly what you asked. If you're looking for a different answer, you're going to need to clarify the difference between what you want to do and the answer.  How would Windows know anything about PyCharm editor settings?
1
Avatar
Permanently deleted user
In my original question, I asked if it were possible without right click.
My hope was that somewhere in the settings, a check box existed for
"associate all .py and .ipynb with PyCharm?" Instead of the brute force
"right click > open with..." method. My reasoning is that when I have a
beginner install 3.4, they are confused why the installer doesn't take care
of the association. I notice during the install of EAP 4.0, that the
installer does ask to make the .py association. So, I figured maybe that
functionality were buried in the settings of 3.4. If not, the answer to my
question is "no, you have to right click". Not that I should go do the one
sequence of events I explicitly said in my question that I didn't want to
do.

Thanks!

For reference, my original question:
"""Hi,
Is there a way to set pycharm as the default editor, without using the
Windows `Right click > Open with... > C:\...\bin\pycharm.exe` method for
both *.py and *.ipynb? Maybe somewhere within the editor settings?

Thank you!"""
0

Hi @..., I was looking to do exactly what you wanted and did so on my updated windows 10, by....

1. First clicking "open with"

2. then click on the "more apps" icon

3. Then scrolling down and  clicking on PyCharm and selecting the "Always use this app ..." check box on bottom

Hope that helps.

0

Please sign in to leave a comment.