Giter VIP home page Giter VIP logo

vscode-rainbow-brackets's Introduction


logo

Rainbow Brackets

This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colors to use.

Versionย  Ratingย  Installsย  Downloads


Supported languages

Java, Scala, Clojure, Kotlin, Python, Haskell, Agda, Rust, JavaScript, TypeScript, Erlang, Go, Groovy, Ruby, Elixir, ObjectiveC, PHP, HTML, XML, SQL, Apex language, C#, Dart, Pug/Jade, Bash, Vue.js, C# Razor Pages, GLSL(the OpenGL Shading Language), Go Template, C++, C...

Author's choice

Rainbow Brackets + Theme + Error Lens +Monolisa (Font)

install

  1. Open the extensions sidebar on Visual Studio Code
  2. Search for Rainbow Brackets
  3. Click Install
  4. Click Reload to reload your editor
  5. ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ Rate five-stars ๐Ÿ˜ƒ

Screenshots

  • Python

  • Typescript

  • Vue

Settings

// default is 200
"RainbowBrackets.timeOut":200

Configure how long the editor should be idle for before updating the document.

Set to 0 to disable.

"RainbowBrackets.forceUniqueOpeningColor": true | false

Disabled > Enabled

"RainbowBrackets.forceIterationColorCycle": true

Enabled

Commands

These commands will expand/undo the cursor selection to the next scope

"rainbow-brackets.expandBracketSelection"
"rainbow-brackets.undoBracketSelection"

Quick-start:

	{
		"key": "shift+alt+right",
		"command": "rainbow-brackets.expandBracketSelection",
		"when": "editorTextFocus"
	},
	{
		"key": "shift+alt+left",
		"command": "rainbow-brackets.undoBracketSelection",
		"when": "editorTextFocus"
	}

HTML_Configuration

An example configuration for HTML is:

    "RainbowBrackets.consecutivePairColors": [
    "()",
    "[]",
    "{}",
    ["teal", "yellow", "tomato"],
    "Revioletd"
  ]

settings.json

{
  "editor.RainbowBrackets.enabled": true,
  "editor.guides.bracketPairs": "active"
}

Screenshot:
Screenshot


Features

User defined matching characters

By default (), [], and {} are matched, however custom bracket characters can also be configured.



Issues&Suggestion

For any issues or suggestions, please use GitHub issues.

vscode-rainbow-brackets's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-rainbow-brackets's Issues

What does `Revioletd` in `consecutivePairColors` mean?

This is a wonderful extension that solved the regret of that there are only 6 levels of bracket colors in VSCode built-in editorBracketHighlight configurations. Thanks for the work!

I've noticed that there is a Revioletd value in the RainbowBrackets.consecutivePairColors config from the example. This value is required but I don't know what its effects are or whether it could be other values. May I ask what does it mean?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.