https://github.com/vcfvct/brackets-file-format
This extension adds re-indent and auto-formatting function to certain file type for Adobe Brackets.
https://github.com/vcfvct/brackets-file-format
Last synced: about 2 months ago
JSON representation
This extension adds re-indent and auto-formatting function to certain file type for Adobe Brackets.
- Host: GitHub
- URL: https://github.com/vcfvct/brackets-file-format
- Owner: vcfvct
- License: mit
- Created: 2015-02-26T18:43:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T19:20:10.000Z (about 2 years ago)
- Last Synced: 2025-03-01T00:58:05.352Z (3 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
brackets-file-format
============================This extension adds re-indent and auto-formatting function to certain file types Adobe Brackets.
You can re-indent all file types by using "Edit > Auto Indent" menu or "Ctrl+Shift+I" key. OR you can right click and select 'Auto Indent'.
You can format `XML/HTML`, `CSS`, `JSon`, and `SQL` files by "Edit > Auto Format" menu or "Ctrl+Alt+L" key.
You can minify `XML/HTML`, `CSS`, `JSon`, and `SQL` files by "Edit > Auto Minify" menu or "Ctrl+Alt+M" key.
If you do not want to save to xml/json file to format (i.e file without extension), use:
Ctrl-Alt-Shift-B for pretty XML
Ctrl-Alt-Shift-M for pretty Json
Use the above keys just to make it the same as what we have in notepad++'s xml/json plugin.
Install
===Please download zip and extract into arbitrary directory (or clone source files), then move the folder to the extensions folder (you can open this folder by clicking "Help > Show Extensions Folder" menu).
License
===
This software is licensed under MIT license.Change log
===
V1.2.2 show pretty xml/json menu item only for file without extension.V1.2.1
change the format hotkey to ctrl-alt-L so that it does not flush the system default key. also changed the minify to ctrl-alt-M for consistency.v1.2.0
added the auto indent to the context menu(right click).v1.1.0
added Ctrl-Alt-Shift-B for pretty XML AND Ctrl-Alt-Shift-M for pretty Json. These key combination is the same as what we have in notepad++'s xml/json plugin.