After several months since we published PyCharm 2.7 release and a week after the last PyCharm 2.7.3 update, we are so eager to announce the beginning of PyCharm 3.0 Early Access Program. The first 3.0 EAP build, 130.1058, is already available for download.
We are so happy to deliver this fresh build of our Python IDE with a ton of new functionality and features to be considered and tested! The new PyCharm 3.0 version is focused on providing even more intelligence for third-party libraries and is planned for release in autumn. The first PyCharm 3.0 EAP build contains many features planned for the final 3.0 release – though there’s a few more things planned.
Here’s what’s new and noteworthy in this build:
web2py web framework is now supported:
Just a couple of clicks and PyCharm will do the rest for you:
SQLAlchemy support: Yes, we’ve already introduced SQLAlchemy diagrams support in PyCharm 2.7, but in this build SQLAlchemy support is improved with code insight and other bells and whistles.
New “Invert boolean” and “Replace duplicates in Extract Method” refactorings are now available:
A couple of new intentions:
A lot of new hidden, but so essential code inspections with suggestions and even smarter code insight for Python.
Visit our PyCharm 3.0 Roadmap page for more information. Download first PyCharm 3.0 EAP build for your platform from PyCharm EAP page and please report any bugs and feature request to our Issue Tracker. Note that no patch-based update is available for this build.
July 1 – 7, JetBrains PyCharm Team will be in Florence, Italy for EuroPython 2013. The conference will be held near the old city center at the Grand Hotel Mediterraneo (in Lungarno del Tempio, 44 – near the beautiful Piazza Santa Croce).
EuroPython is the official European conference about the Python programming language. It is aimed at everyone in the Python community, of all skill levels, both users and programmers. There will be more than 120 talks in five different tracks, including one by JetBrains:
Static Analysis of Python – Tuesday, July 2 at 12:15 by Andrey Vlasovskikh
Static analysis is a method of making statements about the program based on its source code without actually running it. We will look at static analysis tools available for Python (PyLint, PyFlakes, Pep8, inspections in IDEs) and discuss what kinds of problems they can discover automatically in your source code. These tools can be used on a daily basis in order to reduce the amount of run-time errors and exceptions, and to discover code smells and code style discrepancies.
We will also look at how these tools are implemented internally, and walk through the steps they use to analyze Python code: lexing, parsing, reference resolution, type inference and so on. We will also discuss the problems that are caused by the dynamic nature of Python and the strategies used by static analysis tools for dealing with it.
The show represents a great opportunity to meet five members of the PyCharm Team, learn about the latest release and our plans for PyCharm 3.0. We invite you to stop by with your questions and chat about your experiences with PyCharm. We will be raffling some PyCharm licenses so be sure to register and grab some of our cool giveaways.
We look forward to meeting you there! For more information on the EuroPython 2013 conference, please visit the official website.
Projects may contain file types unknown to PyCharm. While PyCharm comes with built-in support for many programming and scripting languages, you may want to have syntax highlighting for project-specific languages. For example, a project may contain a shell script, or Perl. When doing infrastructure automation for your project or if working with Make tool an unsupported file type may exist in a project. TextMate, a text editor for Mac, offers syntax highlighting bundles for many languages. The good news is we can import them and use them in PyCharm!
Once a TextMate bundle is added, PyCharm will provide syntax highlighting for the file types registered with the bundle. Here’s an example of a shell script opened in PyCharm after installing the ShellScript TextMate bundle:
Have a look at our tutorials page for more information how to configure TextMate bundles with PyCharm!
As always, we appreciate your feedback in the comments below or in our forums!
This post originally written for PhpStorm by Maarten Balliauw, our Jetbrains Technical Evangelist, highlights simple yet handy “TODO” feature available in our Python IDE as well:
When working on a project, it’s often desirable to create a list of tasks for yourself or your team mates. While usually these tasks are described in an issue tracker like YouTrack, some tasks are either too small or too code-specific to describe in an issue tracker. In such case, adding TODO comments in source code makes sense.
Many developers already use comments in their code to describe these small tasks, typically using a statement like the following:
PyCharm recognizes these comments and will automatically display them in the TODO tool Window (Alt+6 or View | Tool Windows | TODO):
From the TODO tool window, we can select a TODO comment and navigate to it by double-clicking it or using the Jump to Source context menu (F4).
There are a lot more features in PyCharm around TODO comments. Check our tutorials page for advanced topics like todo pattern recognition, live templates and todo filtering.
As always, we appreciate your feedback in the comments below or in our forum!
We’ve finally released PyCharm 2.7.3, probably the last bugfix update from the 2.7.x branch of PyCharm. The release notes include many fixes both in the Python-specific features of PyCharm, in the underlying platform and in the Web development support (both CoffeeScript and TypeScript received a good share of fixes).
The build is available for download, and you can also use the patch-based upgrade to upgrade from PyCharm 2.7.2 or 2.7.3 RC without a full reinstallation.
And as for what’s coming up next – please stay tuned for the start of PyCharm 3.0 EAP!
“Vim as a Python IDE” is a hot topic. Everybody knows Vim is an incredible text editor for typing and editing text very quickly and efficiently (if you are an experienced Vim user, that is). Moreover, it is highly customizable, reliable, works in almost any environment and is praised by experienced developers as well. Naturally, lots of people choose Vim as their editor for coding in Python and other languages.
While Vim is a great choice indeed, as soon as you try to use it for anything it wasn’t designed for, you run into problems. For example, if you use it as an IDE. Clearly, many Python developers want it to be an IDE simply because productive Python development requires more than just a great editor. While this may work for some languages, it just doesn’t for Python, which is really hard to maintain on large and complex projects.
With Python, there is a real need to get rid of routine tasks and use supplementary tools like code inspections, error highlighting on the fly, dependency checks, quick-fixes, refactorings, a debugger, frameworks support, testing assistance, Version control, search and navigation, project management, remote development assistance, PEP-8 compliance checks. That’s quite a list. And all these features must work together in a reliable, efficient and robust fashion.
That’s what IDEs are designed for. They provide the necessary level of efficiency and comfort for using many tools and features in one place.
For better or worse, Vim is not an IDE. Sure, it is customizable and supports many things, with lots of plugins and add-ons and other bells and whistles. Yet it’s really far off from being a real IDE.
Here is a poignant example of Vim being overloaded. The result of many sophisticated hacks modifications, which are not clear even for experienced Vim users, is the following cramped editor window:
If you wanted an IDE to begin with, this is definitely the hard way to get one.
PyCharm has an upside-down approach to this problem. PyCharm is a complete IDE with a highly customizable and powerful editor inherited from the IntelliJ Platform. But you don’t have to choose between an IDE or Vim: thanks to the IdeaVim plugin (available for all IntelliJ-based products), you really can get the best of both worlds. IdeaVim supports many Vim features including shortcuts, motion keys, many types of commands, registers, macros, modes and a lot more.
But don’t take our word for it. “Nothing can replace Vim, but IdeaVim feels closer than any other editor’s attempts,” says Andrew Brookins, an experienced developer who has tried different text editors and tools for Python and Web development, in his amazingly comprehensive review One Year Later: An Epic Review of PyCharm 2.7 from a Vim User’s Perspective. We strongly recommend reading it if you haven’t already.
To enjoy VIM emulation inside PyCharm, download and install PyCharm, go to File | Settings | Plugins and search for IdeaVim. Install it, restart the IDE and that’s it!
Give it a try, and while you’re at it feel free to vote for new features and report any issues in YouTrack.
Since the previous bugfix update of PyCharm 2.7, we’ve gathered a substantial amount of fixes both in Python-specific features, in Web development support and in the underlying platform. We’re finally ready to release them to you as PyCharm 2.7.3, but before we do that, we’d like to make sure that the build is in good working shape. Because of that, we’re releasing PyCharm 2.7.3 Release Candidate today. The build is available on the EAP page and will shortly become available for patch-based upgrade.
We are glad to let you know that we’ve just published our Getting Started with PyCharm tutorial to help jump-start your use of the PyCharm IDE. The tutorial is very simple as any getting started tutorial should be, and covers the basic workflow of pure Python application development from scratch.
Follow the tutorial to learn:
how to create a simple Python project
how to configure your project structure
how to create Python source files from templates
editor basics with auto-completion and quick-fixes
auto-import and ‘surround with’ features usage
how to run your application
how to fine-tune your run/debug configurations
how to run a simple debugging session
and some source navigation and refactoring basics
We want to continue improving this tutorial for you, so please give us your feedback in the comments below. What are we missing? What can we make clearer? Anything else you can tell us about getting started with PyCharm? Your input is valuable!
For more PyCharm tutorials, check out the Tutorials section on our Confluence page. We are working on adding more tutorials; the next one will be about editing with PyCharm. So stay tuned!
At last, the final version of the new bugfix update of PyCharm, version 2.7.2, has been released. Since we’ve upgraded to a newer version of the IntelliJ Platform (the same one as in IntelliJ IDEA 12.1.1), the full release notes for this update are rather long.
Just to remind you, some of the highlights are:
Bundled File Watchers plugin for automatic transpilation support of languages such as CoffeeScript/TypeScript, SASS/LESS and many others;
Support for Emmet, a new version of Zen Coding, an advanced system for abbreviated typing in HTML and CSS code;
Display of the current line separator for a file in the status bar and the possibility to change it for a single file or for multiple files in the project;
Possibility to tell PyCharm not to add the source and/or content roots of a project to PYTHONPATH;
Support for using the PyCharm console and “Run manage.py task” actions with remote interpreters.
The new build is available for download on our Web site, as well as for patch-based upgrade if you’re currently running version 2.7.1 or 2.7.2 RC2.
Since the release of PyCharm 2.7.2 RC, while waiting for a couple of important fixes blocking the final 2.7.2 release, we’ve fixed so much other stuff that we decided to publish another Release Candidate – PyCharm 2.7.2 RC2. The build is now available for download on the EAP page and as IDE update. You can also check out the full release notes for the new build.
As usual, your feedback is so much appreciated in YouTrack.
Earth Day Sale is ongoing
In the spirit of Earth Day, Get up to 50% OFF JetBrains Tools for personal use and support a good cause. Every personal license bought between April 15th and 22nd helps the environment by saving the endangered Atlantic Forest of Brazil.