How to configure PyCharm

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pierrot10
 
Posts: 349
Joined: Tue Nov 17, 2015 4:34 pm

How to configure PyCharm

Post by pierrot10 »

Hello
I like PyCharm but I have some doubt as MU is also recommanded.
What's are your suggestion PyCharm vs MU.

For now, I would like to configure PyCharm and I red this documentation https://learn.adafruit.com/welcome-to-c ... cuitpython, but it's look a bit old as it has been first publish in 2017.

I pain to understand the .idea topic: https://learn.adafruit.com/welcome-to-c ... em-3105042.

It look like .idea should not be at the root of my project, but why as I am going to move main.py to CIRCUITPY.
If you are on Mac, type or navigate to /Volumes/ then click "Okay" to add this directory as the content root.
I am a Mac user, and I am surprised that the doc suggest us to select /Volumes/. What's id "Okay"? Image

Any way, I do not like to have it at /Volumes/. I supposed I can have it anywhere else as /Documents/Project/CircuitPython/my_project ?

I do not understand that image
Image
The writer main.py file is in TEST_WORKSPACE and in timc, there are the it's board contant, while it connect it to his workstation? But where is .idea

Thank for your clarification

User avatar
edgjr
 
Posts: 143
Joined: Mon Jan 16, 2012 6:18 pm

Re: How to configure PyCharm

Post by edgjr »

My suggestion would be pretty much the same as for viewtopic.php?p=964743#p964743 - you just need to use PyPi and pip to manage your dependencies. Once set up, PyCharm should work with that project directory with no problems (I use IDEA).

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”