简体   繁体   中英

How to disable python interactive mode in vs code?

I prefer to use this extension so I find very annoying that every time I write a code-cell or hit shift-enter VS-Code opens its internal interactive python console. How to stop such a behavior?

Change the keybinding for 'interactive.execute' in the Keyboard Shortcuts. To access keyboard shortcuts, press ctrl+shift+p and type 'keyboard'

You can view your keyboard shortcuts using:

  1. Click the gear icon in the lower left corner of the interface

  2. Select Keyboard Shortcuts (Ctrl + K + S)

    在此处输入图像描述

  3. Select Record Keys (Alt + k) on the right side of the input box

    在此处输入图像描述

  4. Press the SHIFT and ENTER keys

  5. View the functions bound to this shortcut key in the list

    在此处输入图像描述

  6. Just delete what you don't want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM