PyCharm 2018.2 EAP 5

We’re happy to announce the fifth early access preview (EAP) release of PyCharm 2018.2 Try it yourself by downloading EAP 5 from our website.

New in PyCharm

A revamped reStructuredText editor

RST Preview - Blog

We’ve made life a little easier for those of you who write reStructuredText, whether to create Sphinx docs or just for a simple README. You can now get a preview of your .rst file while you write it. This comes in addition to our editing support for .rst files, which includes various inspections and navigation features. If you haven’t tried it out yet, try documenting your code today, you know you’ve been putting it off!

If you’re interested, you can read more about this feature in our documentation.

Further Improvements

  • Various issues with our pipenv support were smoothed out. Are you a pipenv user and haven’t you tried the support yet? Get the EAP now and let us know how you like it!
  • Docker: configuring environment variables for a project with a remote interpreter now works as expected
  • Many small inspection issues have been fixed: a false positive with islice arguments, some type issues, and more
  • To see everything that’s been improved in this version, read the release notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 2 Comments

PyCharm 2018.2 EAP 4

We’re now in our fourth installment of a pretty big 2018.2 Early Access Program cycle. Lots to take a look at by downloading EAP 4 from our website.

New in PyCharm 2018.2 EAP 4

Pipenv support

We know many of you have been waiting for this for a long time, so here you go: Pipenv is supported in PyCharm 2018.2. There is still a lot of work before we finally release stable PyCharm 2018.2 so your input with bug reports or suggestions is very welcome in our issue tracker.

Currently supported Pipenv-related features in PyCharm:

  • The Pipenv environment type in the Python interpreter dialog (for new or existing projects)
  • A quick fix for setting up the Pipenv for a project with Pipfile
  • Automatically create/set up Pipenv for a directory with Pipfile opened for the first time
  • Auto-suggestion to download the Toml plugin for Pipfile
  • Selection of the base Python executable while configuring a new Pipenv
  • Use Pipenv for managing packages and updating Pipfile
  • Display the list of installed packages via Pipenv
  • Use the indices defined in Pipfile.lock to browse available packages
  • A configurable location for Pipenv via Python Integrated Tools
  • Using Pipenv in the quick fix to install an unresolved import
  • Checking missing package requirements based on Pipfile.lock
  • Quick-fix to install missing packages via Pipenv
  • Notification about changed and not locked pipfile and a link to lock it

pytest-bdd Support

In this EAP we introduce an initial support for pytest-bdd. To enable the pytest-bdd support open the BDD settings dialog (File | Settings/Preferences | Languages & Frameworks | BDD ) and from the Preferred BDD framework list select pytest-bdd. We’re continuing to work on py-bdd support, so your input is much appreciated.

More details on pytest-bdd support in PyCharm

Type hints validation

Any time you’re applying type hints, PyCharm checks if the type is used correctly. If there is a usage error, the corresponding warning is shown and the recommended action is suggested.

Learn more about type hints validation in PyCharm

New Front-End Development Functionality

As you might already know, PyCharm bundles all features available in WebStorm, a front-end development IDE by JetBrains. PyCharm EAP 4 adds several WebStorm EAP features:

  • Code coverage tool with visual indicators on folders, files, and code about the percentage of coverage
  • Test files are automatically added to the Tests scope to help adjust IDE settings such as inspection severity
  • New UI for inspection tooltips with key binding to apply the first fix
  • Support for Node.js on Windows Subsystem for Linux (WSL)
  • Remote mappings in Attach to Node.js configuration
  • New intentions in JavaScript, TypeScript, and JSON: implement an interface, create derived class, generate cases for the switch, add properties missing from a JSON schema, and more
  • That’s right: an earlier EAP had improved validation from a JSON Schema

PyCharm 2018.2 EAP 4 Release Notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 16 Comments

PyCharm 2018.2 EAP 3

The third Early Access Program (EAP) version of PyCharm 2018.2 is now available. We’d like to invite you to download this version from our website.

New in PyCharm 2018.2 EAP 3

pytest fixtures support

With pytest fixtures you can create small test units which can be reused across the testing module simply by adding the @pytest.fixture decorator to them. In this EAP we introduce pytest fixtures support, including:

Try pytest fixtures support in this fresh EAP build and let us know if there’s something else we could improve. Create your feature requests and bugs in our public issue tracker.

Learn more about pytest support in Pycharm.

attrs library support

attrs

attrs is the Python package that brings back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).

PyCharm 2018.2 supports attrs providing correct autocompletion and error checking for classes defined with the @attr decorator. There is a number of features related to attrs support which are not implemented yet, but we’re committed to finish their implementation by the 2018.2 release date.

More details on attrs support in PyCharm

On-demand evaluation in Debugger and Python console

py_change_loading_policy

We’ve added a new option that prevents automatic evaluation of variables during debug sessions. This option is especially useful if some of your variables take time to be evaluated and you don’t need values for all the variables you have in your project.

Learn more on how to manage loading policies and enable on-demand value evaluation.

PyCharm 2018.2 EAP 3 Release Notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.
All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 7 Comments

PyCharm 2018.2 EAP 2

The second Early Access Program (EAP) version of PyCharm 2018.2 is now available. We’d like to invite you to download this version from our website.

New in PyCharm 2018.2 EAP 2

Flexible Package Manager

ij_show_earlier_releases

Previously, PyCharm’s package manager listed all versions of packages whether they were stable or pre-release. In this EAP we changed this behavior, so now by default PyCharm shows only stable versions. We added an option to install pre-released versions though. If you want to extend the scope of the latest available versions for packages to any pre-released versions (such as beta or release candidate), try the Show early releases option.
Learn more about package management in PyCharm.

Attach Debugger to Process Refined

Attach to process is one of the coolest PyCharm’s productivity features. Using this feature you can attach the debugger to a running Python script launched either outside or inside PyCharm. In this EAP we’ve added an option to filter the visible list of processes to attach. To enable filtering, add your pattern to the corresponding field in the Python Debugger settings (Settings/Preferences | Build, Execution, Deployment | Python Debugger ). For example, you can put “Scientific” if you want to attach only processes matching this string:

py_attachToProcess_filter
Learn more about the Attach to Process feature.

New Front-End Development Functionality

As you might already know, PyCharm bundles all features available in WebStorm, a front-end development IDE by JetBrains. With this EAP build we’ve adopted a ton of WebStorm new features:

  • Completion for Vue events and event modifiers
  • Debug scratch files
  • TypeScript 2.9 support
  • Improved Angular support with faster project startup
  • Code style rules from all types of ESLint and TSLint configuration files automatically applied
  • And more. Read the WebStorm EAP blog post to learn about all new front-end features which are also available in PyCharm

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.
All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 6 Comments

PyCharm 2018.1.4

We’re happy to announce that today a new version of PyCharm is available for download from our website.

Improved in this Version

  • Various issues related to installing packages, both with Conda and virtualenv, were resolved in this version
  • Compilation errors in PL/SQL procedures are now shown in the console output. Did you know that you can manage Oracle databases (and other major databases) in PyCharm Professional Edition? PyCharm Pro bundles all database features from DataGrip, the database IDE by JetBrains.
  • Many small UI bugs were fixed, for example the ‘Tip of the Day’ screen was incorrectly displayed on Windows if a display at 125% scale was used.
  • Read more in our release notes
Posted in Release Announcements | Tagged | 5 Comments

Hotfix for PyPI compatibility for older PyCharm versions

Latest versions of pip starting from v10.0 changed parts of their APIs. That’s why several older versions of PyCharm became incompatible with the newer pip versions. If you use previous PyCharm versions and want to use latest versions of pip, please update PyCharm. Here’s the list of Pycharm versions updated:

  • 2016.3.6
  • 2017.1.8
  • 2017.2.7
  • 2017.3.6

If you’re using a version with a minor update (last number) lower than those mentioned, please update PyCharm. If you wish to update to the latest version (2018.1.3 at the time of writing), get it here. If you wish to get one of the hotfixed older versions, you can find the appropriate release on our previous versions page.

Posted in Release Announcements | Tagged | 1 Comment

PyCharm 2018.1.4 RC

We’re happy to announce that the release candidate for a new version of PyCharm is now available: get it now from our confluence page.

Improved in this Version

  • Various issues related to installing packages, both with Conda and virtualenv, were resolved in this version
  • Compilation errors in PL/SQL procedures are now shown in the console output. Did you know that you can manage Oracle databases (and other major databases) in PyCharm Professional Edition? PyCharm Pro bundles all database features from DataGrip, the database IDE by JetBrains.
  • Many small UI bugs were fixed, for example the ‘Tip of the Day’ screen was incorrectly displayed on Windows if a display at 125% scale was used.
  • Read more in our release notes

Do you have any feedback for us?

This is a preview version, and we’d like to hear if this version works well for you. If you are facing any issues, please reach out to us and let us know. You can report a ticket on YouTrack, our issue tracker, or you can ask our customer support, or send us a message on Twitter.

Posted in Early Access Preview | Tagged | Leave a comment

PyCharm 2018.2 EAP 1

We’re getting started with the Early Access Program for PyCharm 2018.2! Even better, you can download the first version now from our website!

New in PyCharm

Improved Pytest support: Fixtures, and more

EAP 1 - pytest

PyCharm 2018.2 supports using fixtures in Pytest. Using fixtures allows you to separate your setup code from the actual tests, making for more concise, and more readable tests. Additionally, there have been improvements to code navigation and refactoring Pytest tests, and to using parametrized tests.

You might also have noticed that PyCharm’s looks have been updated slightly. In PyCharm 2018.2 we’re introducing a new set of icons that are mostly gray, and use color only to highlight important icons.

Further Improvements

  • Type inference for math functions in Python 3 now works correctly
  • An issue where duplicates were shown in autocompletion popups has been resolved
  • Non-English characters in Django templates are now correctly handled
  • And more: read the release notes for details

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 5 Comments

PyCharm 2018.1.3

PyCharm 2018.1.3 is now available for download. Please update PyCharm by choosing Help | Check for Updates, or by downloading the new version from our website.

What’s New

Python Console Messages

Since several versions, PyCharm has folded the startup messages of the Python interpreter in the Python console. This means that you have more room to write your own code, yet you can still see the startup messages by hovering over the folded output.

Unfortunately, if you had configured custom startup code (which you can do in Settings | Build, Execution, Deployment | Console | Python Console), your own code’s output would be folded as well. In PyCharm 2018.1.3, we’re making sure to only fold large startup messages (like IPython’s), and show the output of your custom code:

IPython Console

Further Improvements

  • In the RC, there was an issue with choosing a service in a Docker Compose project, this was resolved in this version.
  • An issue with remotely debugging Python code on Windows computers was resolved
  • Several issues regarding Angular 6 were resolved. Did you know that PyCharm Professional Edition comes with all JavaScript support from WebStorm?
  • Read more in our release notes
Posted in Release Announcements | Tagged | 3 Comments

PyCharm 2018.1.3 RC

We’re happy to announce that the release candidate for a new version of PyCharm is now available: get it now from our confluence page.

What’s New

Python Console Messages

Since several versions, PyCharm has folded the startup messages of the Python interpreter in the Python console. This means that you have more room to write your own code, yet you can still see the startup messages by hovering over the folded output.

Unfortunately, if you had configured custom startup code (which you can do in Settings | Build, Execution, Deployment | Console | Python Console), your own code’s output would be folded as well. In PyCharm 2018.1.3, we’re making sure to only fold large startup messages (like IPython’s), and show the output of your custom code:

IPython Console

Further Improvements

  • An issue with remotely debugging Python code on Windows computers was resolved
  • Several issues regarding Angular 6 were resolved. Did you know that PyCharm Professional Edition comes with all JavaScript support from WebStorm?
  • Read more in our release notes
Posted in Early Access Preview | Tagged | Leave a comment