Adobe Brackets 網頁編輯的新選擇
網頁的編輯有時候並不一定需要一套很大型的軟體,因為網頁畢竟是由HTML標籤結構串連CSS樣式表,再加上Javascript或ASP、PHP等程式語言構成,嚴格講完全是純文字化的文件,除了後端語言需要搭配伺服器服務之外,網頁就只是一個純文字文件,只要有心,哪怕是在餐廳都可以拿張餐巾紙來開始創作網頁(當然還要有些能力)。
因此網頁的編輯器,有時候並不一定需要用大型的所見即所得(What You See Is What You Get-WYSIWYG)軟體來建構(例如:Dreamweaver…等),其實近年來Dreamweaver也在積極的瘦身,把一些不常用多餘的功能給刪除,不過軟體還是具備有相當的份量也不易取得,所以業界會使用一些純文字的編輯器來編輯網頁,例如:Sublime Text、Atom、Light Table以及本篇文章的主角Brackets,這類的編輯器如果要拿來編輯網頁,應該需具備以下的特點:
- 具備多平台版本:網頁設計師有可能在Windows、Mac、Linux上工作,所以必須具備這些平台的版本。
- 支援網頁的多種語法:必須支援網頁上HTML、CSS、Javascript、jQuery、PHP、SQL…等多種語法。
- 擁有許多的外掛:除了自己單打獨鬥之外,外掛也是這樣的文字編輯器不可或缺的。
- 快速穩定:開啟快速、操作上穩定,也是他跟大型的WYSIWYG軟體重大區隔處。
- 簡單使用:不需花太多的時間去學習,因為畢竟是文字編輯器。
關於上述的四套文字編輯器:Sublime Text、Atom、Light Table和Brackets,國外網站「SitePoint」在2014年9月針對各平台、多個不同的項目做了一次比較,基本條件如下:
作業系統:
- Windows 8.1
- Mac OS X 10.8
- Lubuntu 14.04
軟體版本:
- Sublime Text 3
- Atom 0.123
- Brackets 0.42
- Light Table 0.6.7
結果如下:
項目 | 贏家 |
軟體介面 | Brackets |
語法支援 | Sublime Text |
易於使用 | Brackets |
速度與穩定性 | Sublime Text |
原始功能(未安裝外掛) | Sublime Text |
網頁特殊支援 | Brackets |
外掛與擴充功能 | Sublime Text |
自定和維護功能 | Atom |
未來 | Atom |
總評 | Sublime Text |
Sublime Text拿下五個項目的贏家;接下來是Brackets的三項與Atom的兩項。
從上述的結果可以觀察的出來:
- 難怪Sublime Text是目前許多人偏好使用的網頁文字編輯器。
- Brackets也不容小覷。
尤其文中提到雖然在總評上Sublime Text是贏家,但Brackets也在積極的發展,甚至也支援非常多原Sublime Text的熱門外掛,該文章底下的回文裡面也有非常多的設計師說他們已經開始使用Brackets,所以這篇文章就跟大家分享一下Brackets的魅力。
Brackets是由Adobe開發的一個開放原碼的網頁編輯器,目前具有多國語言的支援也是免費下載使用,大家可以到Brackets的官方網頁下載與安裝,也具有跨平台的特色。

Brackets 官網截圖
軟體安裝後的介面如下是英文版的介面

可以由Debug/Switch Language來切換為繁體中文的語言

下圖標示說明:
- 資料夾或檔案內容:開啟資料夾後可以看到一整個資料夾內的檔案和其他資料夾。
- 分割視窗切換:可以切換分割視窗的位置。
- 檔案內容撰寫:主要撰寫網頁程式的區域。
- 即時預覽:目前支援Chrome的即時預覽,撰寫網頁時即時預覽的內容會同步更新,不需再按存檔與預覽功能。
- 外掛與佈景主題安裝:安裝外掛和佈景主題來擴充程式功能與改變外觀。

接下來可以考慮先搜尋並安裝一些好用的外掛,我安裝的外掛有:
- Autosave Files on Window Blur
- Beautify
- Brackets SASS
- Brackets Snippets (by edc)
- CodeOverview
- Emmet
- JSCompiler2

其中在Sublime Text中非常知名的Emmet在Brackets也有,因此我們可以在一份空白的文件輸入一個驚歎號後按下TAB鍵來產生HTML5的文件範本。

接下來就進入網頁開發的部分,當然在輸入標籤的時候會自動幫你產生封閉標籤,另外還有程式碼的提示。

另外還有屬性提示,以及快速編輯器(Ctrl+E)


如果你已經是使用Sublime Text的高手,相信Brackets的開發介面一定不陌生,可以先來看看自己常用的外掛是不是有支援,如果你習慣用所見即所得的軟體開發不妨試著改變看看,一定可以讓你網頁的功力有所提升,以下提供一些官方視訊教學供大家參考。
Brackets 簡介
即時預覽開發
Javascript除錯
Why visitors still make use of to read news papers when in this
technological world everything is available on web?
Thank you for another magnificent article. Where else may anyone get that kind of information in such a perfect approach of writing?
I’ve a presentation next week, and I’m at the search for
such information.
Whoa! This blog looks just like my old one! It’s on a completely different topic but it has pretty
much the same page layout and design. Excellent choice of colors!
Wow! In the end I got a website from where I can really get useful
data regarding my study and knowledge.
A great post without any doubt.
whoah this blog is excellent i love studying your articles.
Stay up the great work! You already know, a lot of individuals are looking round for this info, you can help them greatly.
Thank you so much for sharing this wonderful post with us.
I’m curious to find out what blog platform you have been working with?
I’m experiencing some small security issues with my latest website and
I would like to find something more secure.
Do you have any recommendations?
Quality posts is the important to attract the visitors to go to see the web page, that’s what this site
is providing.
подъемник телескопический
https://podyemniki-machtovyye-teleskopicheskiye.ru
It’s really a nice and helpful piece of info.
I am glad that you simply shared this helpful information with us.
Please keep us up to date like this. Thank you for
sharing.
This paragraph is truly a nice one it assists new web people, who are wishing for blogging.
I am sure this article has touched all the internet users, its really really pleasant piece of writing on building
up new web site.
Awesome issues here. I am very satisfied to peer your article.
Thank you so much and I am taking a look ahead to touch you.
Will you please drop me a e-mail?
It’s amazing to go to see this website and reading
the views of all friends about this paragraph, while I am also zealous of getting knowledge.
Its such as you read my thoughts! You seem to understand so much
about this, such as you wrote the e-book in it or something.
I think that you simply can do with a few percent to pressure the message house a bit, but other than that, that is magnificent
blog. A great read. I’ll certainly be back.
I think I might disagree with some of your analysis. Are the figures solid?
Attractive section of content. I just stumbled upon your website and
in accession capital to assert that I acquire in fact enjoyed account your blog posts.
Any way I’ll be subscribing to your feeds and even I achievement
you access consistently rapidly.
What i do not understood is actually how you are now not actually much more well-favored than you might
be now. You are very intelligent. You recognize thus significantly when it comes to this matter,
produced me individually believe it from so many numerous
angles. Its like men and women aren’t interested unless it is
something to accomplish with Woman gaga! Your personal stuffs nice.
All the time care for it up!
Have you ever considered publishing an e-book or guest authoring on other
blogs? I have a blog based upon on the same subjects you discuss and would really like to have you share some stories/information. I know
my viewers would value your work. If you are even remotely
interested, feel free to send me an e-mail.
Hello Dear, are you really visiting this web page daily, if so after that you will definitely
get good knowledge.
I visited several blogs except the audio feature for audio songs current at this web site is really superb.
Everything is very open with a clear explanation of the challenges.
It was definitely informative. Your site is very useful.
Thank you for sharing!
Hey! I’m at work surfing around your blog from my new
iphone 3gs! Just wanted to say I love reading your
blog and look forward to all your posts! Carry on the superb
work!
Hi there excellent website! Does running a blog like this take a great deal
of work? I have very little knowledge of programming however I had been hoping to
start my own blog soon. Anyhow, should you have any
recommendations or techniques for new blog owners please share.
I know this is off subject however I just needed to ask.
Many thanks!
Hi there to every one, the contents present at this website are actually remarkable
for people knowledge, well, keep up the good work fellows.
I was able to find good information from your
blog posts.
The information shared is of top quality which has to get appreciated at all levels. Well done…
Wow! This blog looks exactly like my old one! It’s on a entirely different subject but it has pretty much the same layout
and design. Superb choice of colors!
When someone writes an paragraph he/she keeps
the plan of a user in his/her brain that how a user can be aware of it.
So that’s why this piece of writing is amazing.
Thanks!