axilleasiv / vscode-javascript-repl-docs

JavaScript REPL is a javascript playground for Visual Studio Code with live feedback as you type, besides your code
69 stars 5 forks source link

FR: Wrap JS-Repl live feedback if Word Wrap is enabled. Possible? #9

Open VKondakoff opened 4 years ago

VKondakoff commented 4 years ago

Maybe it is a good idea to wrap JS-Repl feedback if Word Wrap is currently enabled?

Image on 2019-11-14 04 42 28 PM

Another one consideration: currently the JS-Repl feedback is cropped around 90th character. Can this be configurable? At least some sign, that the feedback is cropped should be added at the line end. Three dots, maybe (...)?

axilleasiv commented 4 years ago

Yes, the Repl feedback is cropped on the 80th character. At this moment, this is not configurable, but this can be configurable with a default value for example 80 that it works now.

I agree with you that when feedback results are cropped some sign like three dots is necessary for users.

As for word wrap consideration when is enabled, I am not sure about it but I find this interesting, so I will try to implement this as a feature and if there are not any problems with the line numbers of feedback, I will include this to a next release.

Thank you, @VKondakoff