Re: Playground and text evaluation printing result default.
Posted by
Tudor Girba-2 on
Jun 05, 2016; 8:23pm
URL: https://forum.world.st/Playground-and-text-evaluation-printing-result-default-tp4899296p4899299.html
Hi Stef,
The quotes appear only when you add the result in the playground. The typical use case for this is to keep track of several results. In this situation you do not want to modify the code to not affect the highlighting and this is why it gets in a comment.
If you want to copy the content without quotes, you can do:
Cmd+p -> popup
Cmd+c -> selects the current line and copies the text
Esc
Cmd+v
Perhaps we can add another keybinding like Shift+Enter for adding the text without quotes.
Cheers,
Doru
> On Jun 5, 2016, at 10:20 PM, stepharo <
[hidden email]> wrote:
>
> Hi
>
> I would like to know if there is a setting to remove the "" when printing the result of an expression.
>
> I know that playground has been thought to help me, but today I watched myself removing the comments
>
> code so often that I would like to get a setting because such wrapping of results is really boring for me.
>
> I'm spending my time removing them and I start to wonder why they are any useful.
>
> I would help me to write fast tests for example in the debugger.
>
> Stef
>
>
>
--
www.tudorgirba.com
www.feenk.com
"What we can governs what we wish."