If you have any problems, you can search for answers or ask a question on the Python extension Discussions Q&A. The completed code project for this Flask tutorial can be found on GitHub: python-sample-vscode-flask-tutorial. Along the way, you experience a number of features of Visual Studio Code including using the terminal, the editor, the debugger, code snippets, and more. In this Flask tutorial, you create a simple Flask app with three pages that use a common base template. For convenience, we typically speak of these defaults as part of Flask. For example, Flask doesn't provide a page template engine, but installing Flask includes the Jinja templating engine by default. The extensions integrate seamlessly with Flask so that they appear as if they were part of Flask itself.
Such features are instead provided by special Python packages called Flask extensions. Configure IntelliSense for cross-compilingĮdit Flask Tutorial in Visual Studio Codeįlask is a lightweight Python framework for web applications that provides the basics for URL routing and page rendering.įlask is called a 'micro' framework because it doesn't directly provide features like form validation, database abstraction, authentication, and so on.