@phoenix-plugin-registry/tab-tags

1.0.9 • Public • Published

Tab tags

A very simple Brackets extension to add a newline and tab between HTML or XML tags, like Aptana Studio 3 does it, and enhance behavior with JavaScript and PHP parentheses, also CSS and preprocessors.

How To Use

Simply code and if your cursor is between allowed indentation characters (>< in HTML/XML, () in JavaScript/PHP, and {} and () in CSS/LESS/SCSS) then when you press ENTER it will be converted to:

<tag>
  |
</tag>
function my_function(
  |
) {}
body {
  |
}
@media (
  |
) {}

Plans

  • Work with Preferences API to let user set its own indents.
  • Optimize code a bit.
  • Maybe hardcode the KeyEvent require?

Readme

Keywords

none

Package Sidebar

Install

npm i @phoenix-plugin-registry/tab-tags

Weekly Downloads

0

Version

1.0.9

License

none

Unpacked Size

3.3 kB

Total Files

3

Last publish

Collaborators

  • ushmajit
  • core.ai