julienr / pycharm-cellmode

PyCharm cell mode
Other
25 stars 5 forks source link

How does the plugin work: difference between delimiter regexp / delimiter insert #11

Closed flothesof closed 3 years ago

flothesof commented 4 years ago

Hi,

I'm enjoying your plugin but have a quick question. The options look like this for me: image I'm confused by the fact that there are two strings to configure:

To be clearer: I thought the logic is "if this regexp matches, then this is a delimiter that should start a new cell". What does the delimiter itself do?

Thank you in advance for your help.

Florian

flothesof commented 4 years ago

Ah I think I've got it now:

I think it would still be useful to add some details about this in the plugin. @julienr, would you accept a PR for a more detailed description?

Cheers Florian

julienr commented 4 years ago

Thank you for the issue and sorry for the late reply. I think your explanation is correct and I would be happy to accept a PR for it. Thanks !

On Fri, Sep 11, 2020, 13:38 Florian LB notifications@github.com wrote:

Ah I think I've got it now:

  • the insert is for when the user does shift + enter
  • the regexp delimits cells by themselves

I think it would still be useful to add some details about this in the plugin. @julienr https://github.com/julienr, would you accept a PR for a more detailed description?

Cheers Florian

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/julienr/pycharm-cellmode/issues/11#issuecomment-691042907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD3V2XDNAJFOFIEHAMPAVTSFID3TANCNFSM4QTDWMJQ .

julienr commented 3 years ago

Fixed by #15