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.

Feature request: vertical alignment.

See original GitHub issue

I would like to propose to add vertical alignment. And if that’s not feasible, not messing up existing alignments. I use vertical alignment for example like this:

                xx.name        = "sliderManager";
                xx.save        = save;
                xx.slides      = defaultList();
                xx.showConfirm = showConfirm;

And in objects like this:

{
                        id:          utilMakeHash(),
                        key:         i.key,
                        title:       i.title,
                        description: i.description,
                        img:         i.url
                    }

The reason for me doing this is twofold,

  1. assignments really stands out
  2. way better readabillity.

I know not all people think this is pretty, but that’s not the point of it. It really improves the readability, and ease of understanding of code.

BTW, the spaces on front are copy/paste issues, and not part of the proposal!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
vramanacommented, Jan 20, 2017

This has been previously asked and has been closed because it’s too subjective. I can’t find the comment right now. @vjeux or @jlongster will address this.

6reactions
vjeuxcommented, Jan 20, 2017

We should start a document with the styles of formatting we discussed and are not going to implement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HubSpot Community - Feature Request: Vertically Align Content
When designing emails using the Drag and Drop builder, it would be great if you could vertically align content within a module.
Read more >
What about Headers in vertical alignment? - Ucraft Community
1. Add elements upside down. 2. Change the layout setting of your Navigation bar from Horizontal to Vertical. 3. Next, set the Header...
Read more >
Vertical Alignment of text in text box – Adobe XD Feedback
We thought of a workaround to place the text vertically centered in the textbox, but since this is not even possible we can't...
Read more >
Vertical Alignment - Centered - feature request - Affinity | Forum
When inserting text into a custom shape - the text frame has a align to center - but it doesn't actually align it...
Read more >
Align Horizontally, align vertically feature request
Anyway, it frustrates me know end that there isn't a way to group a bunch of nodes and then align them to the...
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