Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ConsoleWidget.execute_on_complete_input flag #3814

Merged
merged 2 commits into from Jul 29, 2013

Conversation

minrk
Copy link
Member

@minrk minrk commented Jul 28, 2013

disables input-parsing in the QtConsole, which is inappropriate for non-Python kernels.

Disabling execute_on_complete_input requires shift-enter to execute, just like the Notebook.

Not sure if we want this for 1.0 or not. It's pretty trivial, but it is technically a new feature.

disables input-parsing in the QtConsole,
which is inappropriate for non-Python kernels.

Disabling check_complete forces shift-enter to execute, just like the Notebook.
@Carreau
Copy link
Member

Carreau commented Jul 28, 2013

Could you comme up with a better name for the trait ?

Otherwise I think this can go in 1.0 if it is for julia guys.

@minrk
Copy link
Member Author

minrk commented Jul 28, 2013

What's a better name? It is disabling the check for complete input. I guess it's more specifically disabling automatic execution on complete input, so auto_execute? Or the more verbose execute_on_complete_input?

@Carreau
Copy link
Member

Carreau commented Jul 28, 2013

execute_on_complete_input

I like this one. I was just feeling that the other one would be completely opaque for someone who didn't new the internal of qtconsole. and it's easier to grep.

better name for check_complete
@minrk
Copy link
Member Author

minrk commented Jul 28, 2013

I like this one.

Done.

@Carreau
Copy link
Member

Carreau commented Jul 29, 2013

Would like to know what other dev think. But still +1 for 1.0

@minrk
Copy link
Member Author

minrk commented Jul 29, 2013

Got +1 from @fperez in meatspace. Merging.

minrk added a commit that referenced this pull request Jul 29, 2013
add `ConsoleWidget.execute_on_complete_input` flag

disables input-parsing in the QtConsole, which is inappropriate for non-Python kernels.

Disabling execute_on_complete_input requires shift-enter to execute, just like the Notebook.

Not sure if we want this for 1.0 or not. It's pretty trivial, but it is technically a new feature.
@minrk minrk merged commit e45a774 into ipython:master Jul 29, 2013
@minrk minrk deleted the no-complete branch July 29, 2013 23:02
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
add `ConsoleWidget.execute_on_complete_input` flag

disables input-parsing in the QtConsole, which is inappropriate for non-Python kernels.

Disabling execute_on_complete_input requires shift-enter to execute, just like the Notebook.

Not sure if we want this for 1.0 or not. It's pretty trivial, but it is technically a new feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants