Skip to content

mikiera/vscode-toggle-bool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggle Boolean

Inspired by the vim plugin, toggle-bool

  • Easily toggle between booleans (i.e. true and false).
  • Toggles selected boolean(s), or just the boolean that's beneath the cursor.
  • Default keybinding: alt+b (or set a custom one).

List of boolean values supported:

  • true <-> false
  • yes <-> no
  • on <-> off
  • 0 <-> 1

Keybinding

  • Extension adds the following keybinding:
  {
    "key": "alt+b",
    "command": "extension.toggleBool",
    "when": "editorTextFocus"
  }

Copy ^ to your keybindings.json and customize to override.

Links

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%