livestyle-sublime-old icon indicating copy to clipboard operation
livestyle-sublime-old copied to clipboard

Improve editor code formatting

Open sergeche opened this issue 10 years ago • 0 comments

Since LiveStyle updates CSS code, it must match user’s current coding style as close as possible.

LiveStyle uses Emmet powers to analyse and updates CSS style while keeping existing formatting guides (e.g. learn them from current document). In most cases it works as expected, but there are a few flaws:

  1. Must learn @media rule formatting.
  2. Must properly inherit indentation between CSS sections.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1267623-improve-editor-code-formatting?utm_campaign=plugin&utm_content=tracker%2F305388&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F305388&utm_medium=issues&utm_source=github).

sergeche avatar Jul 25 '13 08:07 sergeche