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.

Add support of customization of colorization level

See original GitHub issue

Colorization level may looks like this:

  • do not colorize method()
  • colorize method(param)
  • do not colorize method(param)
  • colorize external brackets of method(array[3])
  • do not colorize brackets without another brackets of the same type inside
  • do not colorize method(array[3])
  • colorize external brackets of method(new Entity())

And separately

  • always colorize multi-line brackets (regardless of colorization level)
  • do not colorize ['firstName', 'secondName', 'city, 'address']
  • always colorize
[
  'firstName', 'secondName',
  'city', 'address'
]
    • sub-option not apply to {...} - ex. if always colorize multi-line brackets is on but colorization level is not forcing to colorize
function f () {
   return 1
}

than {...} should not be colorized

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
izhangzhihaocommented, Mar 12, 2018

do not colorize brackets without content: see #35

1reaction
Alexseycommented, Jan 15, 2018

@mfn this is the case I was targeting when proposed sub-option not apply to {...}. I thing it should fit the case without need of such deep context knowledge

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use the Photoshop Levels adjustment - Adobe Support
In Adobe Photoshop, learn how to use the Levels adjustment to correct the tonal range and color balance of an image.
Read more >
Create Custom Color Palettes - Tableau Help
In the Edit Colors dialog box, from the palette drop-down list, select your custom palette. If you want each color gradation to be...
Read more >
Bracket pair colorization 10000x faster - Visual Studio Code
Bracket pair colorization is all about quickly determining all brackets and their (absolute) nesting level in the viewport. The viewport can be ...
Read more >
Add color corrections in Final Cut Pro - Apple Support
To add an additional color correction, do one of the following: Choose Window > Go To > Color Inspector (or press Command-6), then...
Read more >
ADI: Customizing Your Site's Colors | Help Center | Wix.com
Click the Design icon in the Main Color box at the top. Choose one of the suggested colors, or click the Add icon...
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