Change default Python / Flask Console in PyCharm

Viewed 312

I could not find an answer for this:

I have a Flask project that has (by default) two consoles preset: One (ordinary) "Python Console" and one "Flask console":

Pycharm Console Settings

Now if I start a new console with the "+" symbol in the Console menu, it opens a "Flask Console" by default:

Open new Console behaviour

However I want the "Python Console" by default. In another PyCharm Flask project that I started a year ago, the "Python Console" starts by default, even though it appears to me that I have the same settings in both projects.

1 Answers

I got an answer in the official intellij-support forum (see here). In Settings -> Languages & Frameworks -> Flask: If you check the "Flask integration" option, the Console default will switch automatically to Flask Console:

enter image description here

It is not possible to manually switch the Console default independent of this option but it was suggested to do a feature request for that

Related