Git Product home page Git Product logo

flask-pycharm-templates's Introduction

Flask PyCharm Templates

Collection of Jetbrains PyCharm IDE templates to help you develop Flask web applications.

Features

All PyCharm Flask code snippets start with the f letter.

Python snippets

Abbreviation Description
""" ML docstring
"" SL docstring
fapp Flask App
froute Flask route
furl URL generator
fmeth URL methods
frt Render template
ftreq Test request
fup Flask upload
fsup Secure upload
frc Read cookie
fsc Set cookie
feh Error handler
flog Flask logging
fflash Flash message
fflashcateg Flash message with category
fflashfilter Flash message with filter

Flask Jinja2 template snippets

Abbreviation Description
fexp Flask Jinja2 expression tag
ffilter Flask Jinja2 filter tag
fcomment Flask Jinja2 comment tag
fblock Flask Jinja2 block
fextends Flask Jinja2 extends tag
fself Flask Jinja2 self tag
fsuper Flask Jinja2 super tag
ffor Flask Jinja2 for tag
fif Flask Jinja2 if block
fife Flask Jinja2 if-else block
felif Flask Jinja2 elif block
fmacro Flask Jinja2 macro tag
ffb Flask Jinja2 filter block
fset Flask Jinja2 set tag
finclude Flask Jinja2 include tag
fimport Flask Jinja2 import tag
fautoescape Flask Jinja2 autoescape tag
furl Flask Jinja2 url_for tag

Installation

  1. Download settings.jar file: click here

  2. Go to File | Import Settings... in PyCharm IDE and select the downloaded settings.jar file. Click OK in the dialog that appears.

  3. Restart PyCharmIDE: Go to File | Invalidate Chaches / Restart... menu, and click in Just Restart button. The PyCharm IDE will be restart.

  4. Enjoy with Flask templates!

Contributing

If you'd like to contribute, please create a fork and open issue or pull requests! I am very open to newcomers, and will need all the help we can get to make the best flask snippets to PyCharm IDE.

To create new snippets, download and install the settings.jar file. Go to File | Settings | Editor | Live Templates, select Flask and add your new snippets.

Credits

This project (Flask API snippets and Jinja2 snippets) is fully based on snippets created by jleonra.

Copyright (c) 2017 Michell Stuttgart

flask-pycharm-templates's People

Contributors

mstuttgart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flask-pycharm-templates's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.