neuron-team / vscode-ipe

Interactive programming experience for data scientists: Visual Studio Code extension
MIT License
353 stars 27 forks source link

suggestion:Use #%% to execute a piece of code like a spyder when press alt+enter #163

Open Louis-udm opened 6 years ago

Louis-udm commented 6 years ago

this will be a lot easier.

j9ac9k commented 5 years ago

Just adding that pycharm has the same comment to make chunk separation

mwouts commented 5 years ago

The # %% marker for cells is indeed common practice. It was introduced by Spyder five years ago (cf. https://github.com/spyder-ide/spyder/issues/7933), and is now supported by PyCharm (professional), vscode with the vscode Jupyter plugin, PTVS, and obviously, Hydrogen. In addition: scripts in that format can be converted to Jupyter notebooks (and back) using Jupytext.

AlJohri commented 5 years ago

yeah, this will be a lot easier and then you can get the Run Cell button like https://github.com/DonJayamanne/vscodeJupyter has