Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

This is for people who don't like very long comma separated list.

Notifications You must be signed in to change notification settings

janzenz/vscode-break-from-comma

Repository files navigation

DEPRECATED 😢

I have since moved to Prettier and it’s way better tool for formatting. However, I'm keeping this project on Github for educational purposes and to remind myself that once upon a time I’ve done something good in the universe and tell it to my children and their children's children. 👴

What is this?

This is a string manipulation tool for people who don't like very long comma separated list.

Features

In Action

  • Considers both single and double quotations
  • Automatically indents the lines

Install

Via Quick Open:

  1. Download, install and open VS Code
  2. Press cmd+p to open the Quick Open dialog
  3. Type ext install break-from-comma
  4. Click the Install button, then the Enable button

Via the Extensions tab:

  1. Click the extensions tab or press cmd+shift+x
  2. Search for paste and indent
  3. Click the Install button, then the Enable button

Via the command line:

  1. Open a command-line prompt
  2. Run code --install-extension Rubymaniac.break-from-comma

Keybinding

[
    {
        "key": "ctrl+shift+b",
        "command": "extension.breakFromComma",
        "when": "editorTextFocus && !editorReadonly"
    }
]

Requirements

VSCode 1.5+

Known Issues

It doesn't support multi select at the moment so feel free to submit your PRs.

For any bugs and feature requests please open an issue. For code contributions please create a pull request. Enjoy!

Release Notes

See CHANGELOG.md

About

This is for people who don't like very long comma separated list.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published