Announcing the PyCharm 4.0.3 release update

Today we’re happy to announce that the PyCharm 4.0.3 bug-fix update has been uploaded and is now available from the download page. It also will be available in short time as a patch update from the previous versions of PyCharm 4.x.

This update includes the same set of major changes and fixes as the PyCharm 4.0.3 RC build. As a recap, some notable highlights of this release include:

  • a fix for a UI bug with find action
  • a fix for a remote debugger hanging
  • a fix for color settings in an embedded terminal
  • a test runner for Django nose tests is also fixed

For further details on the bug fixes and changes, please consult the Release Notes.

As usual, please report any problem you found in the issue tracker.

If you would like to discuss your experiences with PyCharm, we look forward to your feedback on our PyCharm Facebook page and twitter.

Develop with Pleasure!
-PyCharm team

Posted in Release Announcements | 2 Comments

Feature Spotlight: TextMate bundles in PyCharm

Happy Friday everyone,

Today I’m going to shed some light on how to get syntax highlighting for unsupported languages and file types in PyCharm.

As you probably know, PyCharm supports only a limited number of languages and technologies. PyCharm supports them with intelligence that appears in code completion, smart navigation, refactorings, inspections, and suggestions. But sometimes you might need to edit some project-specific files of an unsupported file type. In PyCharm you can open any file and edit it right away, but it always helpful to get at least syntax highlighting for it. Thanks to the TextMate bundles support you can get syntax highlighting for a wide range of languages.

Let’s see how to enable highlighting for an unsupported language in PyCharm. For example, in your project you might have some shell scripts – PyCharm doesn’t support the Shell language by default, however there is a TextMate bundle available for it:

shell

Here is a few simple steps you take to enable the highlighting for the Shell language inside PyCharm:

1. First go to Settings (Preferences for Mac OS) and make sure that the “TextMate bundles support” plugin is installed and enabled:

plugin

2. Download a TextMate bundle. In my example I use the shellscript TextMate bundle from the official TextMate GitHub repo.
3. Open Settings again and go to Editor | TextMate Bundles:

settings

4. Click “+” and locate the bundle on your filesystem. After that the bundle appears in the list of recognized bundles:

selected

5. From this point you just need to click OK and enjoy the new syntax highlighting in the editor:

colored

That’s it! However, lets hold for a while and consider some additional settings you might want to adjust.
The first thing you’ll probably want to change is a syntax coloring scheme. This can be done in Settings | Editior | Textmate Bundles:

colorscheme

The second thing you’ll probably need is to adjust file types associations. For that go to Settings | Editor | File Types and choose the “Files supported via TextMate bundles” option.
Here you can modify the list of registered filename patterns and the ones that are ignored:

filetypes

Hope this post helps!
See you next week.

-Dmitry

Posted in Cool Feature | 3 Comments

PyCharm 4.0.3 RC is available

Today we’ve published the PyCharm 4.0.3 RC bug-fix update.

Release notes lists all fixes from the previous PyCharm 4.0.2 update. The most notable among them are: a fix for a UI bug with find action, a fix for a remote debugger hanging, a fix for color settings in an embedded terminal, a test runner for Django nose tests is also fixed.

Download PyСharm 4.0.3 RC for your platform from the project EAP page and please report any bugs and feature request to our Issue Tracker. It also will be available shortly as a patch update from within the IDE. Make sure you’ve selected the Beta Releases channel in update settings.

Develop with Pleasure!
-PyCharm team

Posted in Early Access Preview | Leave a comment

Announcing the PyCharm 4.0.2 release update

Today we’re glad to announce the immediate availability of the PyCharm 4.0.2 update.
It’s already available for download from our website. It also will be available soon as a patch update from within the IDE (from PyCharm 4.x only).

As a recap, the most notable fixes in PyCharm 4.0.2 are: significant bug fixes for the integrated debugger and the django test runner, a number of bug fixes for VCS support (chiefly for Git) , improved template languages auto-detection, a fix for a problem with a Python console for remote interpreters, a fix for debugging of PyQt5, fixed Shift+Enter for the Run Django manage.py task.

For further details on the bug fixes and changes, please consult the Release Notes.

As usual, please report any problem you found in the issue tracker.

If you would like to discuss your experiences with PyCharm, we look forward to your feedback on our public PyCharm forum and twitter.

Develop with Pleasure!
-PyCharm team

Posted in Release Announcements | 5 Comments

Feature Spotlight: IPython Notebook inside an IDE

Happy Friday everyone,

This week I’d like to shed some light on the recently introduced IPython Notebook integration in latest PyCharm 4 which was announced a couple of weeks ago:

ipynb2This feature is considered to be the most important among other cool features that appeared in the latest release, and there is a reason behind it – IPython Notebook is very popular computational environment, and is an extremely useful solution for a wide range of tasks. There is no need to explain how great it is for scientists and data analysts and how convenient it is for learning programming or just showing off some topics or code snippets complemented with texts, graphics, mathematics and plots. It works great for so many people!

The PyCharm team is committed to make great things even better and to provide an extra value for Python programmers at large, so we eventually decided that we can integrate with IPython Notebook and deliver the solution that combines the advantages of IPython Notebook with extra benefits that the most intelligent Python IDE can offer.

Shortly, PyCharm allows you to open and modify *.ipynb files and run them using a standard IPython Notebook kernel. So lets take a look on how it works inside PyCharm.

Setting things up

Note: If you’re new to PyCharm, I recommend you to read the Quick Start Guide and Getting Started with PyCharm tutorials first.

Consider you already have IPython Notebook files somewhere on your filesystem and would like to work with them using PyCharm. For that, just open the directory containing the files with File | Open when using PyCharm:

open

Note: With PyCharm you can create new *.ipynb files from scratch. In this example I use File | Open for simplicity.

After that you’ll be able to open the files for editing from the Project View:

project_view

To make things working, you first need to specify the project interpreter that will be used for running the code in your *.ipynb files. You can do it in Settings(Preferences for Mac OS) | Project | Project Interpreter. Here you’ll need to check the desired interpreter by choosing from the list of autodetected interpreters or discover it manually. PyCharm also helps you to quickly create virtual environments and manage them. When you’ve selected the right interpreter or virtual environment please make sure you have all the necessary packages installed. For my demo, I already have IPython installed on the virtual environment with other dependencies necessary for IPython Notebook. In case some packages are not installed, please use the integrated package manager to install what is needed:

interpreter

Running code

Now we’re all set and ready to start coding with IPython Notebook. Click on the cell and then click on the run icon in the special IPython Notebook toolbar right on top of the editor:

toolbar

PyCharm will offer to start the IPython Notebook Kernel automatically and will provide you with an URL where the IPython Notebook kernel will run:

start

Click OK and in short time you’ll be notified that IPython Notebook started at the URL provided:

started

From this point you can work with IPython Notebook as usual. PyCharm supports all the basic functionality of ordinary IPython Notebook. The latest format of IPython Notebook files is also supported. You can add new cells, cut and paste them, run arbitrary cells, and change their type. We’ve tried to preserve the similar behavior of ordinary IPython Notebook as much as possible – you can edit and review mathematical formulas in LaTeX, output plots and different graphics, and do other usual actions:

ipynb1

In this blog post I’m not going to cover each aspect of the IPython Notebook integration – instead, I’ll answer the 2 most frequent general questions about this new functionality:

What’s the reason to use PyCharm over classic IPython Notebook?
The main advantage is that PyCharm brings the intelligence and all the additional advantages of an IDE when working with IPython Notebook files. That means you get a code autocompletion, error detection, on-the-fly code fixes and suggestions, navigation and refactorings, local history, VCS support, and a lot more. So basically you get all the neat stuff that makes any developer who uses PyCharm more productive:

ipythonnotebook_whatsnew@2x

There’s also a number of extra features that are not present in classic IPython Notebook, but will be implemented in future versions, like running all cells in one click.

What’s not supported yet?
There is a number of IPython Notebook features that are not supported yet, like interrupt/reload kernel actions, html injections, export to .py files, and some other. After releasing the first version of IPython Notebook integration, we’ve got a bunch of suggestions, bugs and feature requests in our issue tracker. And we’re planning to significantly improve this integration for the next version of PyCharm.

I’d like to encourage you to start using the IPython Notebook integration right away and if you have any problems or suggestions, please file them to our tracker. It’ll help us fix the problems and implement new features even faster.

And here’s some more great news: IPython Notebook integration is supported in PyCharm Community Edition, which means everybody can use it for free!

In this blog post we touched just a tip of the IPython Notebook integration iceberg. Please try it in action and give us your feedback in our forum and the public issue tracker!

Here you can find a complete tutorial for using IPython Notebook with PyCharm.

See you next week!
-Dmitry

Posted in Cool Feature | 7 Comments

PyCharm 4.0.2 RC2 is available

Having announced the PyCharm 4.0.2 RC build two days ago, today we’ve published the PyCharm 4.0.2 RC2 build 139.673, which is already available for download and evaluation from the EAP page.

The full list of fixes and improvements for this build can be found in the release notes. The most notable among them are: a problem with a Python console for remote interpreters is now fixed, a fix for debugging of PyQt5, Shift+Enter for the Run Django manage.py task now works well, some fixes for refactorings and for the Git support.

Download PyСharm 4.0.2 RC2 build 139.673 for your platform from the project EAP page and please report any bugs and feature request to our Issue Tracker. It also will be available shortly as a patch update from within the IDE.

Develop with pleasure!
-PyCharm Team

Posted in Early Access Preview | 1 Comment

PyCharm 4.0.2 RC is available

PyCharm 4.0.2 RC is available for download.

This update features significant bug fixes for the integrated debugger and the django test runner. There is also a number of bug fixes for VCS support (chiefly for Git). Last but not least, we’ve improved the template languages auto-detection.

The full list of fixes and improvements for this build can be found in the release notes.

Download PyСharm 4.0.2 RC build 139.645 for your platform from the project EAP page and please report any bugs and feature request to our Issue Tracker. It also will be available shortly as a patch update from within the IDE. Make sure you’ve selected the Beta Releases channel in update settings.

Develop with pleasure!
-PyCharm Team

Posted in Early Access Preview | 4 Comments

Announcing the PyCharm 4.0.1 release update

Just one week after the PyCharm 4 release, we are eager to announce that the PyCharm 4.0.1 bug-fix update has been uploaded and is now available from the download page. It also will be available shortly as a patch update from within the IDE (from PyCharm 4.0 and 4.0.1 RC only).

As a recap, some notable highlights of this release include: a fix for a rare but severe bug that causes an infinite indexing, a fix for a settings import bug, code completion and inspections fixes, a fix for matplotlib support, a fix for remote interpreters support and some Django support fixes.

For further details on the bug fixes and changes, please consult the Release Notes.

As usual, please report any problem you found in the issue tracker.
If you would like to discuss your experiences with PyCharm, we look forward to your feedback on our public PyCharm forum and twitter.

Develop with Pleasure!
-PyCharm team

Posted in Release Announcements | 3 Comments

PyCharm 4.0.1 Release Candidate is out

Today we’ve published the PyCharm 4.0.1 RC build 139.556, which is already available for download and evaluation from the EAP page.

The full list of fixes and improvements for this build can be found in the release notes. The most notable among them are: a fix for a rare but severe bug resulting in infinite indexing, code completion and inspections fixes, a fix for remote interpreters support and some Django support fixes.

The build is available for download, and you can also use the patch-based upgrade to upgrade from within the IDE (from PyCharm 4.0 only) without a full re-installation. Just make sure you’ve selected the Beta Releases channel in update settings.

If no problems will occur with this build in the coming days, we’ll release PyCharm 4.0.1 this week. Anyway, if you encounter problems, please file them to our public tracker.

Develop with Pleasure!
-PyCharm team

Posted in Early Access Preview | 1 Comment

Announcing General Availability of PyCharm 4

We’re happy to announce the general availability of PyCharm 4, the new major release of our intelligent IDE for Python, Django, and Web development that brings more of everything you love about Python!

BlogPostPicture_PyCharm4

As before, PyCharm 4 is available as a full-fledged Professional Edition for Python and Web development or a free and open-source Community Edition for pure Python development.

Download PyCharm 4 for your platform today!

With v4 we’ve added more new features, more enhancements in existing functionality, more ways to enjoy coding… in short, more value.

ipythonnotebook_whatsnew@2xThis release is more scientifically focused with the introduction of IPython Notebook integration and the NumPy array viewer along with NumPy code insight and support for matplotlib in the integrated python console.

 

bdd_whatsnew@2xNow PyCharm 4 boosts your productivity even further, thanks to special assistance for BDD (Behavior-Driven Development). Take full control over your textual requirements and graphical representation of test results, and enjoy extensive and intelligent assistance at each step of the overall BDD process. behave and lettuce, two of the most popular Python tools for BDD, are supported.

debugger_whatsnew@2xThe PyCharm debugger has grown more powerful as well. We’ve merged our debugger code with that from the original PyDev repository, which means a lot of improvements in the united debugger. We’ve also added a brand-new attach to process feature, so you can now connect a debugger with any running Python process and debug in the attached mode. When debugging your project you can now open the referring objects view for any object during runtime. And if that’s not enough, the PyCharm debugger now works with Jinja2 templates.

More goodies in this release include:

  • Improved Python/Django console tool window
  • Now you can leave the console open after a project run or a debug session
  • View of call hierarchy trees for method calls in different scopes
  • Better package management
  • Unittest subtests support
  • New project creation wizard
  • A host of improvements inherited from WebStorm 9 and the ever-growing IntelliJ Platform
  • And even more

Please see the what’s new page for more details or, for a quick visual overview, watch this short What’s New in PyCharm 4 video:

Please download PyCharm 4 for your platform here!

possibleAnd in case you missed it, PyCharm has recently become much more education-friendly! Recently we launched PyCharm Educational Edition, a free & open source edition of PyCharm IDE for students that learn programming and their teachers. Get your free PyCharm Educational Edition today.

PyCharm 4 Professional Edition is a free update for everyone who purchased their license after November 19, 2013. As usual, a 30-day trial is available if you want to try PyCharm as your new Python/Django IDE.

Develop with pleasure!
The JetBrains PyCharm Team

Posted in Release Announcements | 46 Comments