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...

28,263 Responses

  1. Robertleare表示:

    The main law regulating crypto businesses in Bulgaria is the Measures Against Money Laundering Act (MAMLA) which regulates the measures for prevention and detection of actions related to the laundering of money acquired through, or in connection with, a criminal activity. It partially transposed the provisions of the 5th EU Anti-Money Laundering Directive (5AMLD), which introduced additional rules for the prevention of the use of financial systems to engage in money laundering, terrorist financing, and other financial crimes.
    However, the share of non-cash funds in the financial resources of the national payment organization’s own funds may not exceed 20 per cent, a In the case of payment facility loans, the total need for own funds increases by 5 percent of the total value of loans issued in the previous fiscal year.
    The full application fee includes a fixed initial application fee and is dependent on the complexity of the business and the DLT Provider category assigned to the applicant during the initial application stage.
    Appointed Directors must demonstrate readiness, technical competence and understanding of the company and the entire business model
    The application process slightly varies depending on the type of license or certificate an applicant aims to obtain. If all mandatory documentation is provided at the time of the submission of the application, no obstacles occur, and the applicant is considered suitable to hold an Alderney gambling license or certificate, the application process can be completed within a month. You should note that compared to other jurisdictions, this turnaround time is very short and efficient. Another significant advantage is that Alderney’s licenses and certificates are valid for an indefinite period.

    What are the requirements for applicants for a gambling licence in Antigua and Barbuda?
    The Criminal Law Code of Canada is the basis for all forms of gambling in the country. Under the Code, all forms of gambling are prohibited unless there are exceptions authorised by law. Section 207 of the Code specifies that the licensing and regulation of lotteries and gambling establishments is the responsibility of provincial governments.
    The Business Register plays a key role in Lithuania’s economic environment:
    Occasionally, opportunities to purchase an existing crypto exchange license in Dubai for sale arise, which can be a quicker route to market entry. However, it is crucial to conduct thorough due diligence to ensure compliance with all legal and regulatory frameworks.
    Business Convenience: Spanish banks offer a wide range of financial services as well as convenient online platforms, ensuring efficient management of your finances and prompt payment fulfilment.

  2. прикольные шутки http://korotkieshutki.ru .

  3. Keithexeld表示:

    The ghost town that has stood empty for more than a century
    жесткий анальный секс
    There’s a large and very dignified school in Kayakoy. There are narrow streets, lined with houses, that wend and rise up both sides of a steep valley. There’s an ancient fountain in the middle of the town. And there are churches, one with million-dollar hilltop views over the blue Aegean.

    But, for most of the past 100 years, there have been no people.

    Kayakoy, in southwestern Turkey’s Mugla Province, is a true ghost town. Abandoned by its occupants and haunted by the past. It’s a monument, frozen in time – a physical reminder of darker times in Turkey.

    With hillsides dotted by countless crumbling buildings slowly being swallowed by greenery, and endless views into vanished lives, it’s also a fascinating and starkly beautiful place to visit. In summer, under clear skies and blazing suns, it’s eerie enough. Even more so in cooler seasons, wreathed in mountain or sea mists.
    Just over a century ago, Kayakoy, or Levissi as it was known, was a bustling town of at least 10,000 Greek Orthodox Christians, many of whom were craftspeople who lived peacefully alongside the region’s Muslim Turkish farmers. But in the upheaval surrounding Turkey’s emergence as an independent republic, their simple lives were torn apart.

    Tensions with neighboring Greece after the Greco-Turk war ended in 1922 led to both countries ejecting people with ties to the other. For Kayakoy, that meant a forced population exchange with Muslim Turks living in Kavala, in what is now the Greek region of Macedonia and Thrace.

    But the newly arrived Muslims were reputedly less than happy with their new home, swiftly moving on and leaving Kayakoy to fall to ruin.

  4. Good blog post. I certainly appreciate this site. Stick with it!

  5. prodentim表示:

    Excellent goods from you, man. I have remember your stuff previous to and you’re simply too great. I actually like what you’ve bought here, really like what you’re stating and the way in which by which you assert it. You make it enjoyable and you continue to care for to keep it smart. I can not wait to learn much more from you. This is really a great web site.

  6. Tvccvk表示:

    how to get colospa without a prescription – purchase pletal generic cilostazol ca

  7. Jovclq表示:

    buy celecoxib cheap – urispas for sale buy indomethacin without prescription

  8. May I just say what a comfort to find somebody that truly knows what they’re discussing on the internet. You actually understand how to bring an issue to light and make it important. More people should check this out and understand this side of the story. It’s surprising you are not more popular because you certainly possess the gift.

  9. Stephenideox表示:

    Regulated United Europe, musterilerden gelen surekli geri bildirimlere dayanarak ve cesitli Avrupa ulkelerindeki hukuki hizmetlere yonelik pazar ihtiyaclar?n? dikkate alarak performans?n? ve sunulan hizmetlerin duzeyini surekli olarak iyilestirmeye cal?smaktad?r. Musteri sorular?na/e-postalar?na yan?t suresi de minimumda tutulur.
    Fiyatland?rma alan?nda, Regulated United Europe, cogu hukuki hizmette sabit bir fiyat sunarak musterilerin ihtiyaclar?na uyum saglamaya cal?smaktad?r. Avrupa ulkeleri ag?rl?kl? olarak saatlik yasal ucretler uygulanmaktad?r.
    Muvekkillerimize proje uygulamalar?n?n her asamas?nda hukuki dan?smanl?k ve gunluk destek sagl?yoruz. Karmas?k cozumler, deneyimli avukatlardan olusan bir ekip taraf?ndan her muvekkil icin ayr? ayr? gelistirilmektedir.

  10. Профессиональный сервисный центр по ремонту ноутбуков, макбуков и другой компьютерной техники.
    Мы предлагаем:ремонт макбук про
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  11. GlennSaunk表示:

    Les avocats et conseillers financiers Fintech de RUE (Regulated United Europe) ont cree un blog ou ils publient les dernieres modifications de la legislation des pays europeens dans le domaine de la crypto-monnaie et du VASP (Virtual Asset Fournisseur de services) pour la commodite et l’information de tous ceux qui s’interessent a la legislation europeenne sur les crypto-monnaies. Nous basons nos articles sur des sujets importants pour les entrepreneurs d’aujourd’hui travaillant dans le domaine de la crypto-monnaie, des projets fintech, de la blockchain et des entreprises liees a l’informatique. Si vous ne trouvez pas les informations qui vous interessent sur notre blog, veuillez nous contacter de la maniere qui vous convient.

  12. Профессиональный сервисный центр по ремонту сотовых телефонов, смартфонов и мобильных устройств.
    Мы предлагаем: починка телефонов
    Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!

  13. Wnwfonert表示:

    Ask for their help in blocking out rest times for you.
    Discover great offers you can use to how long before lisinopril works with ED treatments?
    Sometimes the surgeon is unable to identify the appendix with the laparoscope or unable to remove the appendix due to scar tissue from prior abdominal surgery.

  14. AgnvHesia表示:

    Everyone feels anxious in certain situations.
    Talk to a licensed pharmacist when you purchase valtrex goodrx for proper guidance.
    At three months after the spill, Wetterhahn experienced two serious episodes of nausea and vomiting.

  15. AnedPaish表示:

    Symptoms may include avoidance or distress at reminders of the trauma, recurring images of the event, feeling numb or detached, irritability, being easily startled, and having nightmares or other sleep difficulties.
    savings made when you order through this specialist site for can you take doxycycline while pregnant from specialists you get extra help.
    It is usually transmitted by an Aedes mosquito that is infected with a dengue virus.

  16. hi!,I like your writing very so much! proportion we keep up a correspondence extra about your article on AOL? I require an expert on this house to resolve my problem. May be that’s you! Looking ahead to look you.

  17. There’s certainly a great deal to know about this topic. I like all the points you made.

  18. Your blog post is a breath of fresh air in a sea of mediocre content. Thank you for raising the bar!

  19. JoshuaDen表示:

    The man turning jet planes into cool houses
    жесткое порно
    Wasilla, south central Alaska. Home to bears, lakes, mountains and a flight school that’s fast becoming a private aviation wonderland.

    At FLY8MA Pilot Lodge, you can opt for a scenic flight tour with glacier views, take the controls for a flying lesson, or go all in and get your pilot training.

    When night falls over the broad vistas of the US state they call the Last Frontier, you can then climb the steps to two unique accommodation experiences: a converted McDonnell Douglas DC-6 airplane and the newest arrival, a McDonnell Douglas DC-9 – still with its DHL livery.

    The fast-developing site is an ongoing project by FLY8MA founder Jon Kotwicki, who previously owned a flight school in Florida, before working as a commercial pilot and eventually ending up in Alaska.

    Flying for the airlines “pays good money and everything, but it’s a very boring job,” he says. “Driving Uber is more interesting because you could talk to your passengers.”

    Having fallen in love with the south central region on a vacation spent hiking, fishing and spotting bears and grizzlies, he chose it as a spot where he and his team – and his trusty Pomeranian dog Foxtrot – could “buy a lot of property and perhaps develop our own airport and run our own show.”

  20. Simplify your projects and boost productivity with easy-to-use project management software.

  21. Richardsudge表示:

    The man turning jet planes into cool houses
    порно жесток
    Wasilla, south central Alaska. Home to bears, lakes, mountains and a flight school that’s fast becoming a private aviation wonderland.

    At FLY8MA Pilot Lodge, you can opt for a scenic flight tour with glacier views, take the controls for a flying lesson, or go all in and get your pilot training.

    When night falls over the broad vistas of the US state they call the Last Frontier, you can then climb the steps to two unique accommodation experiences: a converted McDonnell Douglas DC-6 airplane and the newest arrival, a McDonnell Douglas DC-9 – still with its DHL livery.

    The fast-developing site is an ongoing project by FLY8MA founder Jon Kotwicki, who previously owned a flight school in Florida, before working as a commercial pilot and eventually ending up in Alaska.

    Flying for the airlines “pays good money and everything, but it’s a very boring job,” he says. “Driving Uber is more interesting because you could talk to your passengers.”

    Having fallen in love with the south central region on a vacation spent hiking, fishing and spotting bears and grizzlies, he chose it as a spot where he and his team – and his trusty Pomeranian dog Foxtrot – could “buy a lot of property and perhaps develop our own airport and run our own show.”

  22. Frankguara表示:

    The man turning jet planes into cool houses
    жесткое русское порно
    Wasilla, south central Alaska. Home to bears, lakes, mountains and a flight school that’s fast becoming a private aviation wonderland.

    At FLY8MA Pilot Lodge, you can opt for a scenic flight tour with glacier views, take the controls for a flying lesson, or go all in and get your pilot training.

    When night falls over the broad vistas of the US state they call the Last Frontier, you can then climb the steps to two unique accommodation experiences: a converted McDonnell Douglas DC-6 airplane and the newest arrival, a McDonnell Douglas DC-9 – still with its DHL livery.

    The fast-developing site is an ongoing project by FLY8MA founder Jon Kotwicki, who previously owned a flight school in Florida, before working as a commercial pilot and eventually ending up in Alaska.

    Flying for the airlines “pays good money and everything, but it’s a very boring job,” he says. “Driving Uber is more interesting because you could talk to your passengers.”

    Having fallen in love with the south central region on a vacation spent hiking, fishing and spotting bears and grizzlies, he chose it as a spot where he and his team – and his trusty Pomeranian dog Foxtrot – could “buy a lot of property and perhaps develop our own airport and run our own show.”

發佈留言

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