playground-feedback icon indicating copy to clipboard operation
playground-feedback copied to clipboard

Code editor indents are too big.

Open jbosse opened this issue 7 years ago • 2 comments

Please, provide the details below:

The indentation on the code editor is too big for my tastes. When dealing with the highly nested nature of DOM, or DOM-like markup for creating user interfaces, any indentations of more that 2 spaces quickly makes code width less legible.

It seems trivial, and I was prepared to just delete spaces but that doesn't seem possible in the editor the playground uses.

Please consider modifying the indentation or allowing a preference for the user to set a value that works for them.

Did you search for the problem in other open issues in this repo?

Yes

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Did you try it outside of {N} Playground?

N/A

Which browser are you using?

Safari

Are there any errors/warnings logged in your browser console?

Yes, but I imagine they are unrelated.

Failed to load resource: the server responded with a status of 402 () https://reveal.clearbit.com/v1/companies/reveal?authorization=pk_7dc042d81ed3f05f5c979029bc758bde&callback=pushToDataLayer

Failed to load resource: the server responded with a status of 502 () https://id.rlcdn.com/464526.gif

Which platform(s) does your issue occur on?

macOS

Are there any entries logged in the Device Logs tab?

N/A

Please provide the following information shown in devices tab in the playground:

N/A

Please tell us how to recreate the issue with as much detail as possible.

Open the code editor.

jbosse avatar Oct 27 '18 16:10 jbosse

I don't know why it wasn't letting me delete the tabs before but it is now, so at least I can manually indent 2 spaces :-)

jbosse avatar Oct 27 '18 17:10 jbosse

Which project type are you speaking about? We are using Monaco editor for the Playground and we should check if there is a such feature.

vhristov5555 avatar Jul 18 '19 08:07 vhristov5555