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.

Comments are displayed with a different indentation

See original GitHub issue

Hi there!

When I inspect or edit the following shader:

    precision highp float;
    
    uniform vec3 color; // ms({ value: '#ff0000' })
    uniform float brightness; // ms({ value: 0, range: [0, 0.5], step: 0.1 })
    uniform vec2 dummyValue; // ms({ value: [1024, 768], range: [[0, 2000], [0, 1500]] })
    uniform bool visible; // ms({ value: 1, name: 'Visibility' })
    uniform int test; // ms({ value: 0 })

    void main() {
      gl_FragColor = vec4(color + brightness, 1.0);
    }

is displayed like this:

Screen Shot 2019-04-05 at 11 56 00

and by consequence, after edited, the shader is broken.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
lurukecommented, Apr 8, 2019

Hey @sebavan , no worries, there is no deadline 👍😊

0reactions
sebavancommented, Apr 15, 2019

Thanks a ton

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extra Space Indent in Comments in Word - Microsoft Community
This white space takes up about 75% of the comment bubble, leaving everything else in a long vertical line of unreadable text. Any...
Read more >
Wrong indentation of comments after typing two enters ...
This issue is so annoying, as it is very common to insert some empty lines between the code comments to separate them.
Read more >
Comments (indent: Indent and Format C Program Source)
indent handles comments differently depending upon their context. indent attempts to distinguish between comments which follow statements, comments which follow ...
Read more >
Comments and indentation | PracticalSeries: Web Development
CSS comments are cosmetically different to HTML comments, but they work in much the same way. CSS comments start with a /* and...
Read more >
HTML Indentation, Spacing, and Comments
Now let's look at other examples of indentation in the HTML above. The <body> tag contains all of the HTML that a user...
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