通过键盘快捷键在vscode中运行python?
它显示了F5,但我如何在mac的键盘上做到这一点?另外,当我手动点击“运行”菜单时,它有一个下拉菜单可供选择,我可以在保存文件时自动运行程序吗 只需按Fn+Ctrl+F5,它不会要求您选择。如果按F5,它将要求选择,因为它包括调试 旧版本通过键盘快捷键在vscode中运行python?,python,visual-studio-code,Python,Visual Studio Code,它显示了F5,但我如何在mac的键盘上做到这一点?另外,当我手动点击“运行”菜单时,它有一个下拉菜单可供选择,我可以在保存文件时自动运行程序吗 只需按Fn+Ctrl+F5,它不会要求您选择。如果按F5,它将要求选择,因为它包括调试 旧版本 Ctrl + F5 for Win Fn + Command + F5 on Mac 如果不起作用,在新版本中试试这个 Command + F5 参考
Ctrl + F5 for Win
Fn + Command + F5 on Mac
如果不起作用,在新版本中试试这个
Command + F5
参考