Flask Support in PyCharm 2.6 EAP Build 121.84

Posted on by Dmitry Jemerov

Today’s Early Access Preview build of PyCharm brings with it a major new feature: PyCharm now supports the development of Flask Web applications. We’ve recorded a screencast to showcase the details and invite you to watch it:
http://www.youtube.com/watch?v=jaFEODzG7B8&feature=youtu.be

A special thing to note is that the Flask plugin is fully open-source, and can be used as an example for developing other framework support plugins for PyCharm. You can find its source code on GitHub. In the coming days, we plan to publish additional documentation on PyCharm’s OpenAPI and the internals of the Flask plugin.

Besides that, we’ve continued our efforts to improve the quality of PyCharm’s code inspections, as well as fixed a number of bugs. You can find more information about that in the release notes.

As usual, the build is available for download on the EAP page. If you installed the previous 2.6 EAP build, you can also update from within the IDE using the “Check for updates” action.

Comments below can no longer be edited.

30 Responses to Flask Support in PyCharm 2.6 EAP Build 121.84

  1. Dan Ostrowski says:

    August 17, 2012

    Is there already Bottle support? (If not, there should be!)

    • Dmitry Jemerov says:

      August 17, 2012

      No, there isn’t, and it’s not currently on our roadmap.

    • bender.rodriges says:

      August 20, 2012

      I double it!

    • Nina Stawski says:

      September 6, 2012

      +1, that would be great to have Bottle support in PyCharm.

      • Dmitry Jemerov says:

        September 6, 2012

        What features exactly would you like to see? What doesn’t work for you when you work on a Bottle app with PyCharm today?

        • Dustin says:

          September 4, 2014

          When you open bottle.py it says:
          “Function ‘bottle.py’ is too large to analyse”

          So whenever you use the @route decorator it is shows an error:
          Unresolved reference ‘route’

          Any workarounds for this?

    • Alex says:

      March 20, 2013

      +1

      • Rajiv says:

        September 15, 2016

        +1

  2. Alexei says:

    August 17, 2012

    What about web2py support?

    • Dmitry Jemerov says:

      August 17, 2012

      web2py support is not on the roadmap for PyCharm 2.6.

  3. Coenie says:

    August 18, 2012

    Great stuff. Can’t wait for my next project to try out the new features.

  4. Roman says:

    August 18, 2012

    I know that Plone is big beast, but is thre plans to support some underlaing technologies like TAL ? PyCharm could be killer IDE for Plone development.

    • Dmitry Jemerov says:

      August 18, 2012

      To be honest, I don’t think that being a killer IDE for Plone development would bring a lot of business to JetBrains these days. We support some pieces of Zope tech, such as buildout, and it’s likely that we’ll gradually add more as we go, but a new templating language is a fairly big undertaking for us and would need a lot of justification.

      • Aristotel says:

        May 24, 2013

        Does IntelliJ IDEA with Python plugin supports buildout? Or supports of buildout exists only in PyCharm and NOT in IntelliJ IDEA with Python plugin? If support of buildout really exists in IntelliJ IDEA with Python plugin then please advise how to use it? I can’t find answer nowhere

  5. Ronnie Kolehmainen says:

    August 20, 2012

    Thank you for open-sourcing the plugin.

  6. Gevent debug support | JetBrains PyCharm Blog says:

    August 20, 2012

    […] PyCharm EAP ← Flask support in PyCharm 2.6 EAP: build 121.84 […]

  7. Peter Hamlen says:

    August 20, 2012

    Just wanted to say thanks for all your hard work on this.

    I use PyCharm while the rest of the team suffers through Wing, Eclipse, or just ipython. It makes me easily 2-3 times more efficient than everyone else. Easily worth every penny!

  8. John W says:

    August 27, 2012

    Are there any plans to add code-completion to Django’s model.objects.filter() or exclude() methods? They could get the info from the fields defined in a models.py file, and help with the __icontains or __gte (for example).

    • Dmitry Jemerov says:

      August 27, 2012

      Yes, we definitely plan to support this. (Wanted to include it into 2.6 actually, but didn’t have enough time.)

  9. Mutassem says:

    September 1, 2012

    Is web2py planned to be supported in later versions than 2.6 ?

    • Dmitry Jemerov says:

      September 1, 2012

      We haven’t yet determined the exact roadmap for later versions of PyCharm.

  10. John says:

    September 5, 2012

    Please look at including web2py support soon. It would make many lives a lot easier.

  11. Josh says:

    October 25, 2012

    Thank you so much for this. We use flask a lot and this will help push those of us not already on pycharm to make the move!

  12. Luc says:

    November 10, 2012

    Good to see Flask support. What framework is next? And how about making it easy to build our own integrations.
    http://www.google.com/trends/explore#q=web2py

  13. Jonathan says:

    December 22, 2012

    To be fair on the “trends” comment – Django dwarfs web2py – see http://www.google.com/trends/explore#q=web2py%2C%20django%2C%20flask&cmpt=q

  14. Matt C says:

    January 7, 2013

    First, I’m happy to see the Flask support. I hope both you and Flask end up winning w/ this.

    Second, I’m really impressed with the direct answers you’re giving other questions. It’s so much easier to say “maybe someday” than “probably never”, but if the answer is really no, I’d rather hear the real answer.

  15. Zach K says:

    June 15, 2015

    What happened to the pycharm-flask plugin on GitHub?

    • traff says:

      June 16, 2015

      Hi Zach, it’s not available anymore. It was an example of how to write plugins for PyCharm, but after we released the PyCharm Community edition all API as well as all the basic Python editing functionality became opensource, so there is no need in it. Also we treat now all the Web related features as a part of Professional edition, which is not free and opensource and Flask support is more about Web so it belong to Professional edition.

  16. fefe says:

    April 25, 2016

    in pycharm 2.6.1.2
    my solution works

    cd /Applications/PyCharm CE.app/Contents/helpers/pydev/_pydevd_bundle
    vi pydevd_constants.py
    under import gevent add one line: SUPPORT_GEVENT = True

    try:
    SUPPORT_GEVENT = os.getenv(‘GEVENT_SUPPORT’, ‘False’) == ‘True’
    try:
    import gevent
    SUPPORT_GEVENT = True #add this line
    except:
    SUPPORT_GEVENT = False
    except:
    # Jython 2.1 doesn’t accept that construct
    SUPPORT_GEVENT = False

Subscribe

Subscribe for updates