4 Pycharm IDE programming

From Banana Pi Wiki
Revision as of 20:07, 18 February 2019 by Sinovoip (talk | contribs) (Install the MicroPython plug-in)
Jump to: navigation, search

Install Python 3.7

Python02.png
  • the system already has Python.

Install the pycharm community version

  • Get pycharm
  • Using the Windows system click here to download the 2018 - version 2.3 (community free of charge)
  • Tip: 2018.3.3 change is too big, do not use, wait for me to compile repair. (2019/01/13)
  • Important note 1: program installation and project under Windows must be under the system disk (path should be consistent)
  • Important clew 2, Linux system if there is a serial connection, please kindly check whether the serial port for the average user permissions, if not sure, please check this instruction ` usermod - a - G dialout Username && sudo reboot `, Username is to point to your user name, not a Username.
  • When the installation is complete, open it. Press the default Settings to enter the following interface.
Python03.png

Create a new project

  • Click Create New Project to bring up the following interface.
Python05.png
  • If you do not have Python installed, here is the interface
Python06.png
  • Finally, you can see that the project has been established and completed.
Python07.png
    • Refer to the official documentation of pycharm for more methods

Install the MicroPython plug-in

  • Note: it is now recommended to use the intellij-mpfshell-1.1.1.1.zip plug-in version instead of the older version
  • releases in the release directory intellij micropython - 1.1.0. Zip the plugin file, and information about the plug-in inofficial introduction and official GIT
  • Download good ` intellij micropython - 1.1.0 ` plug-in, where you know, into the JetBrains pycharm Community Edition of File - > Settings - > plugins - > Install plugins from disk
Python08.png
Py08.png
  • Tip: I offer this plugin is a modified version at the bottom of the interface, and haven't access to the official store, so still and the original plugin name, therefore the IDE prompts plug-ins need to upgrade or other repair, will be replaced back to the original, in this case, it is good to ignore, then replace the plug-in names again issued can be directly connected to the Internet in the shop for download.
Py09.png
  • Latest revision: the latest intellij-mpfshell-1.1.1.1.zip is now available, which differs from the specified version above in that it cleanness unnecessary information display, the connection is more stable, also applies to esp8266, and plans to launch the store in the future.