![]() Not having an affect in Windows as of yet, per vscode documentation. The Windows issue might have something to do with the settings.json entry VSCode Version: 1.11.2 OS Version: Windows 7 Professional Version 6. ![]() So I can't say much about how useful this option is, or even if it is necessary since anytime you'd want to evaluate line-by-line, you'll be in debug mode anyway and sending to debug console as in 1 above. As of today, there still appears to be no option to evaluate current line while debugging, only current selection.Ģ- Evaluate current line or selection in python terminal is enabled by default, but I'm on Windows where this isn't doing what I would expect - it evaluates in a new runtime, which does no good if you're trying to debug an existing runtime. (If you want to know more about how extensions work in how this section works leave a comment down below) 3) You see now a list of keymaps. For doing more advanced keyboard shortcut customization, read Advanced Customization. The dialog to enter key binding will assign the correct and desired key binding as per your keyboard layout. ![]() That shortcut opens the Extension list, and your cursor focuses the search bar. For example, key binding Cmd \ in US keyboard layout will be shown as Ctrl Shift Alt Cmd 7 when layout is changed to German. You can enter the interactive window without inputting instructions. This is the Python interactive window that comes with Visual Studio Code. F1 Python: Create Python Interactive Window. ![]() I'm still trying to figure out how to make vscode do what I need (interactive python plots), but I can offer a more complete answer to the question at hand than what has been given so far:ġ- Evaluate current selection in debug terminal is an option that is not enabled by default, so you may want to bind the '' action to whatever keyboard shortcut you choose (I'm using F9). 2) Once Visual Studio Code is open press: CTRL SHIFT X. In Visual Studio Code, you can enter the Python interactive window in the following places: Option 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |