bryanjhv / brackets-tab-tags Goto Github PK
View Code? Open in Web Editor NEWBrackets extension to automatically add a tab when pressing ENTER into a HTML or XML tag.
Home Page: https://s3.amazonaws.com/extend.brackets/tab-tags/tab-tags-1.0.9.zip
Brackets extension to automatically add a tab when pressing ENTER into a HTML or XML tag.
Home Page: https://s3.amazonaws.com/extend.brackets/tab-tags/tab-tags-1.0.9.zip
Would be great to use like:
.myclass {
|
}
When I use this extention on Brackets for Mac (Release 1.3 build 1.3.0-16022 (release cd0a6aae5)
build timestamp: Mon May 11 2015 02:49:32 GMT-0700) and I type for example <p></p> and the cursor is between the >< and I enter, it's not doing the tab like your example.
It only brings the cursor on a new line. This test is done in a php file and html file. In the html file it did tab but the and tag was stil on the same line after the tab.
When I install this extension everything works great until I close Brackets.
After I close and reopen Brackets this extension no longer works. My other extensions continue to work but not this one. if I uninstall this package and reinstall... it starts working again.
OS: Windows 7 Pro
Brackets: Release 1.3 build 1.3.0-16022 (release cd0a6aae5)
Tonight I plan on testing this on Ubuntu 14.04. Will see if this issue is isolated to the OS or not.
Registering for deprecated event 'keyEvent'. Instead, use 'keydown/press/up'
at _activeEditorChangeHandler (file:///C:/Users/d056950/AppData/Roaming/Brackets/extensions/user/tab-tags/main.js:69:24)
As of Brackets 1.1 the keyEvent
is considered deprecated:
Editor's "keyEvent" event is deprecated. Use the more specific events "keyup", "keypress", or "keydown" instead. (However, in most cases you should use Document's "change" event instead of any of the Editor events).
Just a wishlist, could you also include PHP for this functionality, ie. add \n
and \t
between braces (both the curly ones {}
and the normal ones ()
).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.