Ask Your Question
1

Is there a hotkey to complete a statement and move to the next line like in PyCharm

asked 2022-01-15 03:32:43 -0600

YSS's avatar

Hello,

I'm evaluating Wing Pro and loving it but I can't find to figure out how in the middle of a statement i can press a hotkey that finishes the line and moves me to the next line.

Best I can do is enable the autocomplete then press tab twice and then enter, but is there a hotkey for this? thanks!!

This is how it is in Pycharm: Ctrl+Shift+Enter Complete Current Statement Insert any necessary trailing symbols and put the caret where you can start typing the next statement.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-15 09:23:37 -0600

I use the Python Turbo Mode from the Editor > Auto-Completion page and Ctrl-Enter to create new line after the current line and go to the it from anywhere within the preceding line. Turbo mode automatically completes the current completion when you press a non-symbol key so the model is to type enough to get the right completion and then keep going. It does take some getting used to but in most cases works pretty well.

The docs: https://wingware.com/doc/edit/turbo-c...

There's also a somewhat old but still relevant example video here: https://wingware.com/doc/edit/turbo-c...

edit flag offensive delete link more

Comments

Thanks, the CTRL-ENTER will do, not sure about the Auto-Completion yet ;-)

YSS's avatar YSS  ( 2022-01-19 01:01:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2022-01-15 03:32:14 -0600

Seen: 759 times

Last updated: Jan 21