Project setup and navigation
Environment autoconfiguration for your imported or cloned projects
ویرایشگر پایتون JetBrains PyCharm Professional 4.5.3 Build.141.1899 زبان برنامهنویسی پایتون در سال 1991 توسط خودو فان روسوم، برنامهنویس رایانهای هلندی طراحی شد.
If you are cloning or importing a project from the repo with a requirements.txt, setup.py, environment.yml, or pipfile inside it, PyCharm will set up your Python environment for you.
‘Search Everywhere’ to find Git commits
Search Everywhere now also looks for your Git commits. Press Shift twice to open Search Everywhere and start searching. You can even use the search dialog to find the answers to math calculations.
New Welcome screen for faster initial setup
PyCharm’s Welcome screen has been redesigned. The initial setup wizard has been replaced with a quick-access screen containing four pages: ‘Projects’, for managing your projects; ‘Customize’, for setting up the IDE interface; ‘Plugins’, for plugin installation; and ‘Learn PyCharm’, for access to learning resources.
Further improvements
- The VCS menu now adapts to match the version control system in use. The most useful actions and key features are now available at your fingertips, so you no longer have to go searching for them in the submenu.
Code editor
Invert ‘if’ statements
You can now invert “if” statements: go to the context menu for “if”, choose Show Context Actions, and then select Invert ‘if’ condition. The branches will switch their positions, but the semantics will stay the same. This feature works for all “if” statements without “elif” branches. The action understands control flow, and handles early return.
This was a community contribution.
Drag and drop tabs or open them in ‘Right Split’
If you want to have several tabs open while working on a project, you can now drag and drop file tabs to split the editor either horizontally or vertically. We’ve also introduced the Open in Right Split action, which splits the editor vertically upon opening your file. You can invoke this action from the Project view or other navigation popups, such as Recent Files, Search Everywhere, and the navigation bar.
Enhanced code insight for type aliases
Starting from Python 3.10, using type aliases will no longer interfere with code insight. The new TypeAlias annotation will be supported by PyCharm as soon as it is released in Python, and we are proud to note that this implementation had direct contribution from our own PyCharm developers.
Further improvements
- Want to make your code even more readable? Use custom color settings for nested functions. Go to Settings / Preferences | Editor | Color Scheme | Python, select Nested function definition from the list of code elements, and specify your custom colors.
IDE Improvements
Git Stage support
You can now stage changes directly from PyCharm. To enable this feature, go to Preferences / Settings | Version Control | Git and tick the Enable staging area checkbox. Click the + icon to add your files to the new Staged node in the Commit view. You can also stage changes right from the gutter or in the Diff view.
A more powerful Data Viewer Pro only
SciView now allows selecting and copying values, as well as sorting and filtering for columns. You can open and visually compare two datasets directly in the editor pane, and export your processed data to the CSV format.
Better preview UI for the Markdown tool
Pycharm Professional 4.5 +
You can customize the Markdown format in Preferences / Settings | Editor | Code Style | Markdown. Press Ctrl+Alt+Lto apply the formatting. The Auto-Scroll Preview button in the top right-hand corner of the editor allows you to sync the scrolling of the preview pane with the editor.
Pycharm Professional 4.5 Download
Intelligent spelling and grammar checks
Now when you press Alt+Enter, the IDE invokes suggestions to correct your grammar and spelling. What’s more, we’ve started using a new version of the LanguageTool grammar checking engine, which improves text reviews in English and adds support for more than 10 additional languages.
Further improvements
- Sync your PyCharm theme with your OS settings on macOS and Windows. This feature will be especially useful if you’ve already set up auto-switching between Light and Dark mode depending on the time of the day. Go to Preferences / Settings | Appearance & Behavior | Appearance | Theme and select the Sync with OS option.
- Set PyCharm as the default application for certain file formats. Go to Preferences / Settings | Editor | File Types and click the Associate File Types with PyCharm button.
Frontend development Pro only
Create a React component from usage
Have an unresolved React component in your code? Place the caret at its location, press Alt+Enter, and select Create class / function component from the list – the IDE will create the relevant code construct for you.
cURL conversion in the HTTP client
You can now export an HTTP request to cURL. To do so, press Alt+Enter in the HTTP request editor and select Convert to cURL and copy to clipboard. This conversion works in both directions, from cURL to an HTTP request and from an HTTP request to cURL.
Tailwind CSS support
PyCharm can now help you work with Tailwind CSS more productively. Install the Tailwind CSS plugin from Preferences / Settings | Plugins, and the IDE will autocomplete your Tailwind classes, show you a preview of the resulting CSS on mouseover, and support the customizations you make using tailwind.config.js files.
Further improvements
- Looking for a certain code element in one of your open JavaScript and TypeScript files? Just click on the file name in the Navigation bar and get the list of all code elements from that file in a popup.
- We’ve added support for code formatting in JavaScript for multiline CSS and HTML blocks with JavaScript inside them. The IDE will indent correctly when you add code in these more complex template literals or reformat your code.
Collaborative development
Code With Me Plugin
PyCharm 2020.3 supports Code With Me (EAP), a new service from JetBrains for collaborative development and pair programming. Code With Me enables you to share the project you currently have open in your IDE with others and work on it together in real time. You can download it today from the plugin marketplace (Preferences / Settings | Plugins | Marketplace). Check out these posts to learn more about Code With Me.
Please note that features marked Pro only are supported only in PyCharm Professional Edition.
Remarks
This section provides an overview of what pycharm is, and why a developer might want to use it.
It should also mention any large subjects within pycharm, and link out to the related topics. Since the Documentation for pycharm is new, you may need to create initial versions of those related topics.
Versions
PyCharm Version | Editions | Build | Release Date |
---|---|---|---|
2016.3.3 | Professional, Community | 163.15188.4 | 2017-03-17 |
2016.3.2 | Professional, Community | N.A. | 2016-12-30 |
2016.3.1 | Professional, Community | N.A. | 2016-12-14 |
2016.3 | Professional, Community | N.A. | 2016-11-03 |
2016.2.3 | Professional, Community | 162.1967.10 | 2016-09-07 |
2016.2.2 | Professional, Community | N.A. | 2016-08-25 |
2016.2.1 | Professional, Community | N.A. | 2016-08-11 |
2016.2 | Professional, Community | N.A. | 2016-07-21 |
2016.1.5 | Professional, Community | 145.2073.10 | 2016-11-18 |
2016.1.4 | Professional, Community | N.A. | 2016-05-26 |
2016.1.3 | Professional, Community | N.A. | 2016-05-11 |
2016.1.2 | Professional, Community | N.A. | 2016-04-08 |
2016.1.1 | Professional, Community | N.A. | 2016-04-05 |
2016.1 | Professional, Community | N.A. | 2016-03-23 |
5.0.6 | Professional, Community | 143.2371.1 | 2016-11-18 |
5.0.4 | Professional, Community | N.A. | 2016-01-28 |
5.0.3 | Professional, Community | N.A. | 2015-12-23 |
5.0.2 | Professional, Community | N.A. | 2015-12-10 |
5.0.1 | Professional, Community | N.A. | 2015-11-11 |
5 | Professional, Community | N.A. | 2015-11-02 |
4.5.5 | Professional, Community | 141.3058 | 2016-05-11 |
4.5.4 | Professional, Community | N.A. | 2016-09-01 |
4.5.3 | Professional, Community | N.A. | 2016-07-09 |
4.5.2 | Professional, Community | N.A. | 2016-06-17 |
4.5.1 | Professional, Community | N.A. | 2016-05-22 |
4.5 | Professional, Community | N.A. | 2015-11-02 |
4.0.7 | Professional, Community | 139.1803 | 2016-05-11 |
4.0.6 | Professional, Community | N.A. | 2015-04-03 |
4.0.5 | Professional, Community | N.A. | 2015-03-10 |
4.0.4 | Professional, Community | N.A. | 2015-01-07 |
4.0.3 | Professional, Community | N.A. | 2014-12-16 |
4.0.2 | Professional, Community | N.A. | 2014-12-09 |
4.0.1 | Professional, Community | N.A. | 2014-11-27 |
4 | Professional, Community | N.A. | 2014-11-19 |
3.4.4 | Professional, Community | 135.1357 | 2016-05-11 |
3.4.1 | Professional, Community | N.A. | 2014-06-10 |
3.4 | Professional, Community | N.A. | 2014-05-29 |
3.1.4 | Professional, Community | 133.1884 | 2016-05-11 |
3.1.3 | Professional, Community | N.A. | 2014-04-22 |
3.1.2 | Professional, Community | N.A. | 2014-04-04 |
3.1.1 | Professional, Community | N.A. | 2014-02-14 |
3.1 | Professional, Community | N.A. | 2014-02-04 |
3.0.3 | Professional, Community | 131.849 | 2016-05-11 |
3.0.2 | Professional, Community | N.A. | 2013-12-02 |
3.0.1 | Professional, Community | N.A. | 2013-10-17 |
3 | Professional, Community | N.A. | 2013-09-24 |
2.7.4 | N.A. | 129.1566 | 2016-05-11 |
2.7.3 | N.A. | N.A. | 2013-06-18 |
2.7.2 | N.A. | N.A. | 2013-04-18 |
2.7.1 | N.A. | N.A. | 2013-02-28 |
2.7 | N.A. | N.A. | 2013-02-07 |
2.6.3 | N.A. | 121.378 | 2012-10-26 |
2.6.2 | N.A. | N.A. | 2012-09-17 |
2.6 | N.A. | N.A. | 2012-09-04 |
2.5.2 | N.A. | 117.663 | 2012-06-29 |
2.5.1 | N.A. | N.A. | 2012-05-08 |
2.5 | N.A. | N.A. | 2012-04-13 |
2.0.2 | N.A. | 111.291 | 2012-02-07 |
2.0.1 | N.A. | N.A. | 2011-12-15 |
2 | N.A. | N.A. | 2011-12-13 |
1.5.4 | N.A. | 107.756 | 2011-08-29 |
1.5.3 | N.A. | N.A. | 2011-07-12 |
1.5.2 | N.A. | N.A. | 2011-06-17 |
1.5 | N.A. | N.A. | 2011-06-06 |
1.2.1 | N.A. | 105.58 | 2011-04-12 |
1.2 | N.A. | 105.58 | 2011-03-15 |
1.1.1 | N.A. | 101.15 | 2011-01-18 |
1.1 | N.A. | N.A. | 2010-12-23 |
1.0.1 | N.A. | 101.15 | 2010-11-12 |
1.0 | N.A. | N.A. | 2010-10-13 |
Hello World
Open PyCharm
Select Create New Project
- Select the desired location to create the project
- Select the python interpreter
- Click Create
Create a new python file e.g. with File->New...-> Python File
Add the following code
Run the code e.g. with Run->Run...->YourCreatedPytonFile
Installation or Setup
There are two PyCharm editions: Community and Professional.
Both are downloadable from JetBrains website. Additionally, there is another edition, PyCharm Edu. JetBrains recommend this edition, if you are learning or teaching Programming with Python.
The supported platforms are Windows, Linux and macOS.
To install PyCharm on:
- Windows: Run the .exe file and follow the instructions of PyCharm Setup wizard
- Linux: Unpack the .tar.gz archive into any directory within your home directory
- OS X: Open the .dmg package, and drag PyCharm to the Applications folder
Windows
Go to the download page, choose the desired edition and go through the classic installer.
Linux
There are two options on how to install PyCharm on Linux which depends on if your distro supports ppa packages.
If your distro doesn't support ppa packages or simply you want download PyCharm directly to the JetBrains website, follow this procedure:
Download the
<pycharm-professional or pycharm-community>-*.tar.gz
file from the download page.Unpack the
<pycharm-professional or pycharm-community>-*.tar.gz
file to a different folder, if your current 'Download' folder doesn't support file executionSwitch to the bin directory:
Run
pycharm.sh
from thebin
subdirectory
If your distro supports ppa packages, type this in the terminal:
If you are not sure about this information, choose the first method.
macOS
Go to the download page, choose the desired edition and open the .dmg package, and drag PyCharm to the Applications folder.