JetBrains PyCharm is a professional Python IDE tool
PyCharm is a professional Python integrated development environment (IDE) developed by JetBrains. It provides comprehensive support for Python development and is the tool of choice for Python developers.
Download
https://www.jetbrains.com/zh-cn/pycharm/download
JetBrains PyCharm Pro For Mac v2024.3.4 updates include:
- Document preview for Hugging Face models and datasets : A new document preview function has been added for Hugging Face models and datasets, allowing users to view detailed information about these models and datasets directly in PyCharm.
- Full-line code completion for JavaScript and TypeScript : The code completion function of JavaScript and TypeScript has been expanded to improve code writing efficiency.
- Django template live preview : Introducing the live preview function of Django templates, developers can view updates in real time while editing templates, and modify and test routes through the address bar.
- Comprehensive IDE functions : Continue to provide debugging, syntax highlighting, project management, code jumping, smart prompts, auto-completion, unit testing and version control functions to ensure that developers can complete all development tasks in an integrated environment.
- Powerful debugging capabilities : The built-in debugger allows you to execute code line by line, monitor variable values, and set breakpoints in the code for debugging.
- Version control system integration : Deeply integrated with version control systems, supporting Git, SVN, and Mercurial, making code management and team collaboration more efficient.
These updates are designed to improve programming efficiency and user experience for Python developers.
Hugging Face: A quick documentation preview of models and datasets
In PyCharm 2024.1, we introduce documentation previews for Hugging Face models and datasets. Now, you can get all the information about any Hugging Face model or dataset you’re working with, right in PyCharm. Hover your mouse over the dataset or model name to see a pop-up window with relevant instructions. Alternatively, you can press F1 to open the Documentation tool window next to the editor. These convenient ways to view documentation for the model or dataset you’re working with. Additionally, ⌘Click (Ctrl+Click on Windows and Linux) takes you to the documentation on the Hugging Face website for more detailed information.
Full-line code completion for JavaScript and TypeScript
In PyCharm 2023.3, we introduced native ML (machine learning)-powered full-line code completion, making Python code completion smarter and more efficient. In 2024.1, we’ve expanded this feature further, adding full-line code completion suggestions for JavaScript, TypeScript, and front-end frameworks. These full-line completion suggestions are driven by a proprietary language model that uses the current file context, eliminating the need to send code over the internet for completion. Now, you can benefit from full-line code completion not only in Python code, but also in JavaScript, TypeScript, and front-end framework development.
Sticky lines in editors
To improve the experience of working with large files and exploring new codebases, we’ve introduced sticky lines in the editor. When scrolling, sticky lines pin important structural elements of the code, such as the beginning of a class or method, to the top of the editor. This way, these key structural elements always stay in view, no matter where you scroll. You can easily click on these pinned lines to quickly navigate to the code related to them. This is very helpful when working with large files and navigating code, keeping the scope visible at all times, improving code readability and development efficiency.
In-editor code review
In PyCharm 2024.1, we introduced an enhanced code review experience for GitHub and GitLab users. The new review mode is integrated with the editor, promoting direct interaction between authors and reviewers. When you check out a branch of a pull request or merge request, review mode automatically activates and displays purple markers in the gutter area, indicating that code changes are available for review. By clicking these markers, a pop-up window appears showing the original code, allowing you to quickly identify which code has been changed. Icons in the gutter area help you quickly start new discussions and view and hide existing discussions. These icons also provide easy access to comments, making it easy to quickly view, reply, and react. With these improvements, we’ve made code reviews more efficient and intuitive, enabling smoother and more flexible team collaboration.
New Terminal Beta
In PyCharm 2024.1, the Terminal has been redesigned with several visual and functional improvements. These improvements are designed to simplify command-line tasks and make the Terminal even easier to use. The new Terminal offers advanced features such as convenient command navigation, keyboard shortcuts for switching between prompt and output, command completion, and faster access to command history. We value user feedback, so we encourage you to try the new Terminal and share your thoughts and suggestions with us. Your feedback is invaluable in improving this feature and the overall PyCharm user experience.
New AI Assistant features
PyCharm Professional introduces a new AI Assistant feature designed to accelerate the transition from experimental queries to actual code. This feature makes code generation more efficient and convenient. A new “Create a file” button now appears at the top of each code snippet generated by the JetBrains AI Assistant. When you click this button, PyCharm automatically creates a file with the correct extension and automatically populates the code. This feature can significantly accelerate the transition from experimental queries to actual code implementation, improving code writing efficiency.
Frameworks and technologies
PyCharm Professional has also been improved in many frameworks and technologies to provide a better development experience. Some of the improvements are as follows:
- Model admin class registration in the Django Structure tool window: In PyCharm 2024.1, you can quickly check for unregistered admin classes through this tool window and complete the registration with one click.
- Endpoints tool window support for larger Flask and FastAPI applications: When developing larger Flask or FastAPI applications, you can use the Endpoints tool window to view all existing endpoints and their hierarchy and quickly navigate to the corresponding declaration. This is very useful for Flask applications and complex applications built with FastAPI that use subdivision modules such as blueprints and routers. PyCharm now groups endpoints by application and can detect endpoints declared in libraries, as well as multiple endpoints per path and endpoints for different HTTP methods.
- Enhanced GitHub Actions support: PyCharm 2024.1 provides more powerful support for GitHub Actions to help you optimize your CI/CD workflow. Code completion now covers more relevant context, including github., env., steps., and inputs. , which simplifies script creation and reduces the time spent searching for specific context syntax. Automatic completion of YAML structures can ensure that your workflow is correct, and new branding features can give your actions a unique appearance on GitHub Marketplace. Docker image completion simplifies container integration, and JavaScript file path completion makes it easier to configure JavaScript actions, thus streamlining your workflow. More details can be found in the official blog.
Other improvements
In addition to the features mentioned above, PyCharm 2024.1 also brings some other improvements, such as:
- You can now shrink the IDE to 90%, 80%, or 70% to customize the size of IDE elements.
- Display of CI check status in the Git tool window: A new column has been introduced in the Log tab of the Git tool window to make it easier for you to review the results of the CI system’s checks on GitHub commits.
- After successfully pushing changes to your version control system, PyCharm now posts a notification reminding you that the push was successful and suggests creating a pull/merge request.
- Branch filter in the History tab of the Git tool window: We’ve improved the user experience of file history in the Git tool window. The “Show all branches” button has been replaced with a branch filter, allowing you to view changes made to a file within a specific branch. The toolbar has also been reoriented and is now horizontal for improved usability.
- For GitHub and GitLab, you now have the option to view changes for a given branch in a separate Log tab in the Git tool window.
- You can now choose from a set of emojis and add reactions to code review comments.
- The IDE now includes pre-commit checks to help you avoid version control rejecting commits due to excessive file size and promptly notifies you of the limit.
- The Merge into dialog now has an Allow unrelated histories option, which makes it possible to merge two branches that have no common history.
- You can now view stashed changes in the Stash tab of the Commit tool window. If you use both stash and stash fixes, you can manage them by enabling the combined Stashes and Shelves tab.
- To help you focus on meaningful changes, the Diff Viewer lets you exclude folders and files from the comparison by right-clicking the desired file or folder and selecting Exclude from results.
- In the Branches popup, you can now filter your results by action and repository.
- The Rebase dialog now has an –update-refs option that ensures the history of a Git repository reflects changes during a rebase.
- Search Everywhere no longer displays the Git tab by default. If desired, you can add it in Settings/Preferences | Advanced Settings | Version Control. Git.
- In the database tools, we’ve introduced several improvements to streamline session operations. Now, you can complete tasks like connecting to a data source or running a function by simply selecting the necessary data source or execution context, eliminating the need to select the correct session. Additionally, dedicated actions in the Services tool window allow you to quickly switch sessions within the same data source. These improvements are designed to make your workflow smoother when working with databases.
- Local filtering in the Data Editor allows you to quickly filter rows by column values on the current page without having to wait for a query to run. Local filtering applies only to the visible page, but you can change the page size or extract all data if you need a wider scope.
- You can now focus on a single record in the Data Editor using the shortcut ⌘⇧Enter (Ctrl+Shift+Enter on Windows/Linux) or the Show Record View button on the toolbar. The record view will open in a side panel containing the value editor and aggregate view. If cells in the record view are editable in the main grid, they can also be edited.
- For CSV files, you can now move columns in the data editor and the changes will be applied to the file itself.
Simple and elegant interface
PyCharm 2023 features a modern flat design with a simple and elegant interface. The editor, console, file browser, and tool windows are logically arranged, and users can switch freely between functional modules, allowing them to focus on coding.
Smart code editing
PyCharm provides intelligent code automatic prompts and completion functions, which can give prompts instantly based on variable and method definitions, greatly reducing the memory burden of developers.
# 变量和方法提示
name = "John"
name.
In addition, PyCharm 2023 Mac has built-in powerful syntax checking and error detection functions, which can help developers find code problems immediately.
Rich debugging tools
PyCharm integrates a powerful graphical debugger that supports breakpoint debugging, single-step execution, variable monitoring, call stack viewing, and other functions. These powerful debugging tools can greatly improve the debugging efficiency of Python code.
Good version control integration
PyCharm natively supports all mainstream version control systems, such as Git, SVN, Mercurial, etc. Developers can perform version control operations directly in PyCharm without switching to other tools.
Project and virtual environment management
PyCharm automatically creates an independent virtual environment for each project, ensuring that dependent package versions of different projects do not affect each other. It also provides comprehensive virtual environment management functions, making it easy to create, switch, and delete virtual environments.
Powerful plugin system
PyCharm has opened up a rich plug-in interface and has thousands of high-quality plug-ins contributed by the developer community. These plug-ins enrich PyCharm’s functionality, expand its development scenarios, and enable PyCharm to cover all aspects of Python development.
PyCharm 2023 Mac version is an excellent choice for Python developers. It has professional Python development functions, a simple and convenient interface, and powerful scalability, which can greatly improve Python development efficiency.
Smart code hints and auto-completion
PyCharm has extremely intelligent code prompts and automatic completion functions, which can predict variable names, method names, etc. according to the context, greatly improving code writing efficiency.
name = "John"
name.upper() # 变量名代码提示
import os
os.path # 模块方法代码提示
Syntax highlighting and error checking
PyCharm provides syntax highlighting, distinguishing different code elements with different colors to increase code readability. It also continuously checks for syntax errors, identifying code problems in real time.
Debugging Tools
PyCharm integrates a graphical debugger that supports complete breakpoint debugging, single-step execution, variable monitoring and other functions.
# 设置断点
breakpoint()
# 单步调试
step_into()
# 查看变量
print(variable)
Automatic code formatting
PyCharm 2023 Mac version can automatically format the code according to the specified code standards to keep the code style consistent.
Rich code generation tools
PyCharm provides a variety of code generation tools, such as generating code templates such as classes, methods, functions, and generating test cases, which can reduce the writing of repetitive code.
Smart code editor
PyCharm has a built-in very intelligent code editor that supports code auto-completion, error checking, syntax highlighting, automatic import, etc., which can greatly improve code writing efficiency.
# 代码自动完成
import os
os.path.
# 错误检查
pront("Hello") # 会提示 print 写错了
# 语法高亮
def foo():
pass
Powerful debugging capabilities
PyCharm integrates a visual debugger that supports breakpoint debugging, single-step execution, variable monitoring, memory viewing, and other functions. These powerful debugging tools can significantly improve debugging efficiency.
Rich code tools
PyCharm provides various code tools such as code formatting, code generation, and refactoring. It can automatically generate code templates, batch modify variable names, extract methods, etc., greatly improving code quality and development efficiency.
Support for various frameworks
PyCharm provides native support for various popular frameworks such as Django and Flask, including code assistants, template syntax, automatic completion, etc., which can better improve the development efficiency of these frameworks.
Complete version control and project management
PyCharm has built-in support for version control such as Git and SVN, as well as project management functions such as virtual environment and remote development, which can better manage the code in the project.
Plugin ecosystem
The Mac version of PyCharm has an open plug-in interface and has thousands of high-quality plug-ins, allowing PyCharm to be flexibly expanded to cover various development needs.
To sum up, PyCharm provides professional IDE support for Python development, with intelligent code editing, powerful debugging functions, rich auxiliary tools and complete project management functions, making it the best choice for Python developers.
PyCharm – An integrated development environment for professional Python developers
PyCharm is an integrated development environment (IDE) developed by JetBrains for professional Python developers. Choosing PyCharm can make Python development more efficient and intelligent.
One-stop Python development environment
PyCharm Mac version integrates all the necessary tools for Python development and is a one-stop Python development IDE.
- Smart code editor: code auto-completion, error checking, syntax highlighting, etc.
- Debugging tools: graphical debugger, support breakpoint debugging, etc.
- Rich code tools: code generation, formatting, refactoring, etc.
- Web framework support: Django, Flask and other frameworks support
- Scientific computing tools: IPython, Anaconda, NumPy, etc.
- Cross-technology support: JavaScript, SQL, HTML/CSS, etc.
- Remote development capabilities: remote interpreter, Docker, Vagrant, etc.
- Developer tools: version control, database tools, terminal, etc.
More efficient programming experience
PyCharm has extremely strong editor intelligence, which can automatically complete tedious coding work, allowing developers to focus more on solving practical problems and make full use of shortcut keys to improve coding efficiency.
Intelligent features such as code completion, error checking, and refactoring can reduce debugging time and make development more efficient.
Get intelligent assistance
PyCharm has a deep understanding of the code and can provide intelligent assistance functions such as smart completion, real-time error checking, and quick repair, which can greatly improve development efficiency.
Rich navigation features allow you to quickly locate relevant code, and various code inspections help developers write higher-quality code.
Improve code quality
PyCharm supports PEP8 specification checking, unit testing, refactoring and other functions, which can help developers write more elegant and maintainable code, thereby improving code quality.
An IDE for developers
As a professional Python IDE, PyCharm provides all the integrated tools needed for professional Python development. Designed for programmers and understanding their needs, it’s the perfect choice for professional developers.
IT Resource Hub » JetBrains PyCharm is a professional Python IDE tool