question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to configure indentation?

See original GitHub issue

Is it possible to configure for indention size, for example;

test:
  test: "test"

someCodes…indention(3); and the result will be:

test:
   test: "test"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
amihaiemilcommented, Jul 6, 2020

@Carleslc To be honest, I find the specification way too complex. I read it (almost entirely) when I started this project a few years ago and I got the feeling that the authors could not stop thinking of ideas or “features”. Reading it makes you feel like they thought: “oh, right, let’s add this, and this, and that, and the other… and since we are at it, let’s add something else too”.

So, I don’t think we will ever come close to “covering” the whole spec because it is simply full of all sorts of adjacent things to almost any subject… with each paragraph you read, there comes an asterix with adjacent topics to be covered…

1reaction
amihaiemilcommented, Jul 6, 2020

@portlek yeah, well, eo-yaml works with indentation of 2.

I really don’t want to complicate things. I don’t see a real usecase for customizable indentation.

I am closing this, sorry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adjust indents and spacing - Microsoft Support
Use Paragraph settings to change indentation, line spacing, and alignment.
Read more >
Is it possible to set indent settings in Xcode per project (or per ...
To set indentation per project, select the project in the Project Navigator, and set indentation in the File Inspector ▷ Text Settings. enter ......
Read more >
Indentation style | ReSharper Documentation - JetBrains
Indentation is one of the most important aspects of formatting style — properly indented code will be readable even if other formatting is ......
Read more >
Google Docs: Using Indents and Tabs - GCF Global
In Google Docs indents are useful to draw attention to certain elements. In Google Docs tabs are helpful for text placement.
Read more >
Is it possible to configure Vim to indent line continuation ...
The "equal" command depends on :h 'equalprg' option value. If it's set then Vim invokes an external formatter program, and all those indents ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found