+1 fully agree! I have opened an issue on the JupyterLab repo where we would implement this:
https://github.com/jupyterlab/jupyterlab/issues/2056 On Tue, Apr 18, 2017 at 12:18 PM, Andy Davidson <[email protected]> wrote: > Hi > > One features I mis from R-studio is the ability to reflow comments. For > example lets say I paste the following comment in a code cell > > "This dataset checks that your code always picks the first-occurring > Profile-most Probable k-mer in a given sequence of Dna. In the first > sequence (“GCCCAA”), “GCC” and “CCA” are both Profile-most Probable k-mers. > However, you must return “GCC” since it occurs earlier than “CCA”. Thus, if > the first sequence of your output is “CCA”, this test case fails your code.” > > After “reflow” the comment looks like > > # test data set 1 > # This dataset checks that your code always picks the first-occurring > # Profile-most Probable k-mer in a given sequence of Dna. In the first > # sequence (“GCCCAA”), “GCC” and “CCA” are both Profile-most Probable > # k-mers. However, you must return “GCC” since it occurs earlier than > # “CCA”. Thus, if the first sequence of your output is “CCA”, this test > # case fails your code. > > > Now if I go through and edit the commented section all I have to is > ‘re-flow’ and it will reformat my comments so that no line is more than a > fixed length > > Kind regards > > Andy > > P.s. I am using a mac. Hopefully their is a keyboard short cut > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/D51BB4A3.572D9%25Andy%40SantaCruzIntegration.com. > For more options, visit https://groups.google.com/d/optout. -- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub [email protected] and [email protected] -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAH4pYpRYoKGa7J91LuyUQdu5OT%2BnHQE%3DDYKZNEW6dmi6-_5StQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
