According to this question and the PyDev documentation on the interactive console , pressing F2 should send the current line from the PyDev editor to the Python console.
I have a Python file opened in the Python editor (I was convinced of this by opening it "Open With" → "Python Editor") and started a console session by pressing Ctrl + Enter . However, when I press F2 , nothing happens. I have to select the line that interests me and send it to the console using Ctrl + Enter .
I checked the keybinding settings in the section “Window” → “Settings” → “General” → “Keys” and I don’t see the difference between the settings for the “Run a line in the console” commands that displays on F2 and the Interactive console that displays on Ctrl + Alt + Enter . However, the second command works, and the first does not. I also tried to match the command with other keys, but that didn’t change the results at all. Any tips on how I can use this command?
source share