julienr / pycharm-cellmode

PyCharm cell mode
Other
26 stars 6 forks source link

add some function to cell mode #5

Closed clouds56 closed 6 years ago

clouds56 commented 6 years ago
  1. add an icon "Run Cell And Move To Next"
  2. and line separator
  3. add icon (line marker) right of line number to "run cell"/"run cell and move next"
  4. add complete provider that get completions from console
  5. if "run cell and move next" at last cell, it would automatically create a new cell
  6. fix some issues about block selection in "RunCellAction"
julienr commented 6 years ago

Hey, thanks for this PR, this looks interesting ! I'm testing on Pycharm 2018.2 but I'm not seeing any icon to run next to my cells :

screen shot 2018-09-28 at 22 23 31

For the completion, how is it supposed to work ? I'm not seeing additional completion, but I don't know how to test it. Can you describe a typical use case ?

clouds56 commented 6 years ago

It's weird. It should be looked like this without any configuration image You could see the the additional zz of a.

Have you seen any exceptions in event log of PyCharm? (Or is your Delimiter regexp correctly set?) Here's my environment, I've tested on macOS and windows, and it works. image

julienr commented 6 years ago

Ah ok, managed to get it working, I had a mess of multiple pycharm versions and the wrong SDK being selected.

I merged this and updated the plugin on jetbrain's repo. Takes a few days to update.

Great stuff, thank you !