Adobe Brackets 網頁編輯的新選擇

網頁的編輯有時候並不一定需要一套很大型的軟體,因為網頁畢竟是由HTML標籤結構串連CSS樣式表,再加上Javascript或ASP、PHP等程式語言構成,嚴格講完全是純文字化的文件,除了後端語言需要搭配伺服器服務之外,網頁就只是一個純文字文件,只要有心,哪怕是在餐廳都可以拿張餐巾紙來開始創作網頁(當然還要有些能力)。

因此網頁的編輯器,有時候並不一定需要用大型的所見即所得(What You See Is What You Get-WYSIWYG)軟體來建構(例如:Dreamweaver…等),其實近年來Dreamweaver也在積極的瘦身,把一些不常用多餘的功能給刪除,不過軟體還是具備有相當的份量也不易取得,所以業界會使用一些純文字的編輯器來編輯網頁,例如:Sublime Text、Atom、Light Table以及本篇文章的主角Brackets,這類的編輯器如果要拿來編輯網頁,應該需具備以下的特點:

  1. 具備多平台版本:網頁設計師有可能在Windows、Mac、Linux上工作,所以必須具備這些平台的版本。
  2. 支援網頁的多種語法:必須支援網頁上HTML、CSS、Javascript、jQuery、PHP、SQL…等多種語法。
  3. 擁有許多的外掛:除了自己單打獨鬥之外,外掛也是這樣的文字編輯器不可或缺的。
  4. 快速穩定:開啟快速、操作上穩定,也是他跟大型的WYSIWYG軟體重大區隔處。
  5. 簡單使用:不需花太多的時間去學習,因為畢竟是文字編輯器。

關於上述的四套文字編輯器: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的兩項。

從上述的結果可以觀察的出來:

  1. 難怪Sublime Text是目前許多人偏好使用的網頁文字編輯器。
  2. Brackets也不容小覷。

尤其文中提到雖然在總評上Sublime Text是贏家,但Brackets也在積極的發展,甚至也支援非常多原Sublime Text的熱門外掛,該文章底下的回文裡面也有非常多的設計師說他們已經開始使用Brackets,所以這篇文章就跟大家分享一下Brackets的魅力。

Brackets是由Adobe開發的一個開放原碼的網頁編輯器,目前具有多國語言的支援也是免費下載使用,大家可以到Brackets的官方網頁下載與安裝,也具有跨平台的特色。

Brackets 官網截圖

Brackets 官網截圖

軟體安裝後的介面如下是英文版的介面

Brackets 安裝後畫面
Brackets 安裝後畫面

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

Brackets 切換軟體語系
Brackets 切換軟體語系

下圖標示說明:

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

接下來可以考慮先搜尋並安裝一些好用的外掛,我安裝的外掛有:

  • Autosave Files on Window Blur
  • Beautify
  • Brackets SASS
  • Brackets Snippets (by edc)
  • CodeOverview
  • Emmet
  • JSCompiler2
Brackets 安裝外掛
Brackets 安裝外掛

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

Brackets Emmet 外掛操作
Brackets Emmet 外掛操作

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

Brackets CSS 樣式名稱提示
Brackets CSS 樣式名稱提示

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

Brackets CSS 顏色選擇
Brackets CSS 顏色選擇
Brackets CSS 顏色選取器
Brackets CSS 顏色選取器

如果你已經是使用Sublime Text的高手,相信Brackets的開發介面一定不陌生,可以先來看看自己常用的外掛是不是有支援,如果你習慣用所見即所得的軟體開發不妨試著改變看看,一定可以讓你網頁的功力有所提升,以下提供一些官方視訊教學供大家參考。

Brackets 簡介

即時預覽開發

Javascript除錯

You may also like...

27,140 Responses

  1. Howdy! This article couldn’t be written any better! Reading through this post reminds me of my previous roommate! He continually kept preaching about this. I’ll forward this article to him. Fairly certain he will have a very good read. Thank you for sharing!

  2. Hello there, I do think your web site might be having web browser compatibility problems. When I take a look at your blog in Safari, it looks fine but when opening in IE, it has some overlapping issues. I just wanted to provide you with a quick heads up! Aside from that, excellent site!

  3. aylsfczxy表示:

    Дэдпул и Росомаха просмотр https://bit.ly/deadpool-wolverine-trailer-2024

  4. Whitescreen48表示:

    Hello! I simply would like to offer you a huge thumbs up for the excellent information you have here on this post. I am returning to your site for more soon.

  5. alvllgsev表示:

    Дэдпул и Росомаха кино https://bit.ly/deadpool-wolverine-trailer-2024

  6. I have been exploring for a little bit for any high-quality articles or blog posts on this sort of house . Exploring in Yahoo I at last stumbled upon this website. Reading this information So i am satisfied to show that I’ve an incredibly excellent uncanny feeling I came upon exactly what I needed. I such a lot unquestionably will make certain to do not fail to remember this web site and provides it a glance regularly.

  7. kgczmfkkz表示:

    Дэдпул и Росомаха фильм https://bit.ly/deadpool-wolverine-trailer-2024

  8. sqpjkjdco表示:

    Дэдпул и Росомаха смотреть https://bit.ly/deadpool-wolverine-trailer-2024

  9. Отличный сайт! Всем рекомендую!рейтинг сайтов

  10. GichardPheve表示:

    It’s amazing designed for me to have a website, which is good in support of my knowledge. thanks admin

    http://ssecretwoman.com/bbs/board.php?bo_table=notice&wr_id=95&page=3&c_id=116&w=c

  11. top88bet表示:

    Excellent web site you have got here.. It’s hard to find excellent writing like yours nowadays. I really appreciate people like you! Take care!!

  12. Как правильно ухаживать за натяжным потолком
    натяжні потолки ціна https://naryazhnistelifrtg.kiev.ua/ .

  13. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Primary – 500 links with inclusion within compositions on content sites

    Middle – 3000 domain Forwarded connections

    Tier 3 – 20000 connections blend, posts, posts

    Implementing a link structure is beneficial for indexing systems.

    Need:

    One reference to the domain.

    Query Terms.

    True when 1 search term from the resource topic.

    Observe the additional service!

    Essential! Primary references do not coincide with Tier 2 and 3rd-level connections

    A link network is a mechanism for boosting the circulation and backlink portfolio of a website or virtual network

  14. I really love your blog.. Pleasant colors & theme. Did you create this site yourself? Please reply back as I’m wanting to create my own personal site and would love to know where you got this from or exactly what the theme is called. Many thanks!

  15. oqflawcfl表示:

    Дэдпул и Росомаха просмотр https://bit.ly/deadpool-wolverine-trailer-2024

  16. NathanDum表示:

    Link pyramid, tier 1, tier 2, tier 3
    Top – 500 hyperlinks with positioning within writings on article sites

    Tier 2 – 3000 domain +Redirect references

    Level 3 – 20000 links assortment, comments, articles

    Employing a link network is advantageous for online directories.

    Require:

    One connection to the site.

    Search Terms.

    Correct when 1 search term from the resource title.

    Note the supplementary functionality!

    Crucial! Tier 1 connections do not conflict with 2nd and 3rd-rank references

    A link network is a instrument for elevating the liquidity and backlink portfolio of a digital property or social network

  17. iptv表示:

    I truly love your site.. Excellent colors & theme. Did you build this amazing site yourself? Please reply back as I’m attempting to create my very own site and would like to know where you got this from or exactly what the theme is named. Cheers!

  18. mibet表示:

    An outstanding share! I’ve just forwarded this onto a coworker who has been conducting a little homework on this. And he in fact bought me dinner simply because I stumbled upon it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending some time to discuss this topic here on your site.

  19. 6623one表示:

    I could not refrain from commenting. Very well written.

  20. Отличный сайт! Всем рекомендую!пиастрикс казино

  21. nhacai123dzo表示:

    Everyone loves it when people come together and share ideas. Great website, keep it up.

  22. mibet表示:

    Good information. Lucky me I came across your website by chance (stumbleupon). I’ve bookmarked it for later.

  23. rikviptours表示:

    It’s difficult to find knowledgeable people in this particular topic, but you sound like you know what you’re talking about! Thanks

  24. shakibalhasan表示:

    After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive 4 emails with the exact same comment. Perhaps there is an easy method you are able to remove me from that service? Kudos.

  25. Craigsniva表示:

    Магазин Экипировка Эксперт
    ШЛЕМ AIR FRAME
    Боец, Экипировка Эксперт — это розничный магазин, сотрудничающий с рядом оптовых складов и производителей. Это значит, что при должном количестве товара мы дадим очень хорошие цены.

    Название взяли независимо от того, что наша страна сейчас проводит Специальную Военную Операцию, хорошая снаряга и экипировка нужна всегда. Готовишься в бой, мобилизован, привык активно проводить время или решил подготовить тревожный чемоданчик, мы поможем тебе. Наши клиенты: фонды, медики, такие же как ты бойцы СВО и обычные неравнодушные граждане.

    Самое главное, что нужно о нас знать, мы детально объясняем, что и как работает, чтобы ты сделал правильный выбор не переплачивая.

    Обращаясь к нам, не удивляйся, если ты получишь честный и жесткий ответ – часто случается так, что мы знаем лучше, что именно нужно нашему гостю. Особенно это касается мобилизованных без опыта боевых действий. Здесь ты можешь полагаться на нашу экспертность.

    Одна из наших основных целей предоставить тебе возможность удобной и безопасной покупки: хоть за наличку, хоть по карте, хоть по счету. Повторимся, если нужна оптовая поставка, согласуем и отгрузим. Именно от того, как ты производишь оплату, зависит цена заказа.

    Для нас важно предоставить тебе качественную экипировку и снаряжение соблюдая при этом законы нашей страны. Боец, помни, мы помогаем фондам, нуждающимся людям, подразделениям в зоне СВО. Отчеты об этом опубликованы как на сайте. На эту деятельность уходит значительная часть выручки. Делая покупки в нашем магазине, ты помогаешь людям и фронту. Уверен, что это найдет отзыв в твоем сердце.

    У нашей команды есть набор ценностей: честность, справедливость, сопереживание, взаимопомощь, мужество, патриотичность. Уверены, ты их разделяешь, и мы легко найдем общий язык. Ну а если что-то пойдет не так, не руби с плеча, объясни, где мы ошиблись и поверь, мы разберемся и исправим. Наш девиз “In hostem omnia licita” – по отношению к врагу дозволено все. Возьми этот девиз, он поможет тебе принять правильное решение в трудной ситуации, с честью выполнить боевую задачу и вернуться домой живым и здоровым!

  26. DavidGrorn表示:

    Complaints have flooded social media since the video’s release, with residents saying it fails to show the modern side of their country. Many claim the footage was edited to seemingly appear old-fashioned, with a faded sepia tone, and that the camera focuses on shabby architecture.
    русский анальный секс
    Others have complained about the video’s airport scenes, during which one of the characters loses his luggage and seeks help from a local ground staff member called “Happy.”

    “When I watched it, I was thinking, this was Thailand 50 years ago. This looked like Thailand 70 years ago. There were no segments showing the modernity of my home,” David William, an American content creator based in Thailand, said in Thai in a TikTok video that has been viewed over 11 million times.

    In an interview with CNN, he said he’s never seen “a cab that looked that bad before” in his nearly 10 years in the country, adding Thailand’s main gateway, Suvarnabhumi Airport is just as modern as New York’s John F. Kennedy International Airport.

    “Thailand is a modern, safe and beautiful country,” he said. “I just hope don’t misunderstand.”

    Echoing his view, Facebook user Nipawan Labbunruang said the video makes Thailand look “terrible.”

    “What is this clip trying to present?” she wrote in a post that received 1,900 likes.

  27. JesusHip表示:

    Complaints have flooded social media since the video’s release, with residents saying it fails to show the modern side of their country. Many claim the footage was edited to seemingly appear old-fashioned, with a faded sepia tone, and that the camera focuses on shabby architecture.
    после анального секса
    Others have complained about the video’s airport scenes, during which one of the characters loses his luggage and seeks help from a local ground staff member called “Happy.”

    “When I watched it, I was thinking, this was Thailand 50 years ago. This looked like Thailand 70 years ago. There were no segments showing the modernity of my home,” David William, an American content creator based in Thailand, said in Thai in a TikTok video that has been viewed over 11 million times.

    In an interview with CNN, he said he’s never seen “a cab that looked that bad before” in his nearly 10 years in the country, adding Thailand’s main gateway, Suvarnabhumi Airport is just as modern as New York’s John F. Kennedy International Airport.

    “Thailand is a modern, safe and beautiful country,” he said. “I just hope don’t misunderstand.”

    Echoing his view, Facebook user Nipawan Labbunruang said the video makes Thailand look “terrible.”

    “What is this clip trying to present?” she wrote in a post that received 1,900 likes.

  28. M88表示:

    This page certainly has all the info I wanted concerning this subject and didn’t know who to ask.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。