Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
/ brackets-tab-tags Public archive

Brackets extension to automatically add a tab when pressing ENTER into a HTML or XML tag.

Notifications You must be signed in to change notification settings

bryanjhv/brackets-tab-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Tab Tags

NOTE: This project is no longer maintained.

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?

About

Brackets extension to automatically add a tab when pressing ENTER into a HTML or XML tag.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published