yhat / rodeo

A data science IDE for Python
Other
3.92k stars 410 forks source link

Feature request: code cell #137

Open sergiosilvar opened 9 years ago

sergiosilvar commented 9 years ago

This is a great IDE! Do you know what would make it a killer app? Code cell, like in Spyder!

glamp commented 8 years ago

Sure thing! Do you have a screenshot(s)?

sergiosilvar commented 8 years ago

Following the link I gave above, you can define a code cell using any of the following lines:

The result is when you hit execute, only the code in the cell will run. This is useful when you have a big script with several statements that take time to run and was already executed so you already have something in memory and want to test only a bunch of statements.

Please, tell me if you have any doubts. I'll try to be more clear.

ghost commented 8 years ago

So true! This is what would make me bury Spyder and only use Rodeo! :dancers: BTW Awesome job, keep it up!

dschneiderch commented 8 years ago

another related enhancement is to assign a key shortcut to highlight a paragraph or block of code. In rstudio, I've set CMD+d to highlight the word under my cursor (convenient to look at a variable value) and if I hit CMD+d again, it highlights the whole paragraph. easy to then CMD+Enter to run. the obvious drawback is you can't have spaces between blocks like you could in a true cell.

ndopico commented 7 years ago

+1

jupiterjosh commented 7 years ago

+1

Cell mode works as described by @srodriguex, see also MATLAB documentation for how cell mode works. For script-oriented data-scientists, this is the only way to go.

gandalfsaxe commented 7 years ago

Yes please! This feature is keeping me to Spyder as well.

bordingj commented 7 years ago

+1

daducci commented 6 years ago

Hi guys, I'd love to have this feature. Just our of curiosity, how difficult would it be to port this feature to Rodeo from an extension I wrote for vscode? In case I'd be happy to share the code.