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

31,969 Responses

  1. LarryReupt表示:

    purple pharmacy mexico price list medicine in mexico pharmacies п»їbest mexican online pharmacies

  2. WilliamCar表示:

    читать vodka casino – vodka casino, водка бет

  3. Thomastooda表示:

    на этом сайте [url=https://xn--90aipggcf.org]Обменко сайт[/url] – obmenko, Обменко отзывы

  4. Catxvn表示:

    Every word in this the post is filled with deep meaning and makes you think seriously https://davpv.gov-edu.ru/id-113.html

  5. Phoenixacy表示:

    After reading this post, you begin to look at familiar things around you in a completely different way https://hjugu.gov-edu.ru/id-2915.html

  6. Carrolleruck表示:

    https://indiancertpharm.shop/# Online medicine
    canadianpharmacymeds

  7. Mirroredk表示:

    Every time I read such posts, I understand how accurately they reflect our reality https://rizku.gov-edu.ru/id-5389.html

  8. Sidneyjoilm表示:

    вкусные завтраки – инфраструктура Алматинская область, новости туризма Казахстан

  9. WilliamCar表示:

    в этом разделе
    [url=https://vodkabetslot.ru/]vodka casino[/url] – vodkabet, vodkabet

  10. Catvjf表示:

    Nowadays, it is rare to find such an honest and open view of existing problems https://ddzkr.gov-edu.ru/id-4452.html

  11. пропуск для грузового транспорта в москву пропуск для грузового транспорта в москву .

  12. WilliamCar表示:

    взгляните на сайте здесь
    [url=https://vodkabetslot.ru/]vodkabet[/url] – vodkabet, vodka casino

  13. вывод из запоя в стационаре наркологии вывод из запоя в стационаре наркологии .

  14. Sidneyjoilm表示:

    онлайн чтение книг – онлайн чтение книг, казахстанские звезды

  15. RodneyRip表示:

    mexican drugstore online https://mexicaneasypharm.com/# mexico drug stores pharmacies
    mexican mail order pharmacies

  16. Brandonnot表示:

    Indian Cert Pharm: Online pharmacy – Online medicine

  17. WilliamCar表示:

    узнать vodka bet – vodka официальный сайт, водкабет

  18. WilliamCar表示:

    Смотреть здесь [url=https://vodkabetslot.ru]водка казино[/url] – vodka casino, vodka bet

  19. перед выводом из запоя в стационаре https://vyvod-iz-zapoya-v-stacionare-samara24.ru .

  20. анонимный вывод из запоя в стационаре анонимный вывод из запоя в стационаре .

  21. Matthewtrurn表示:

    Introducing Velodrome Finance: Maximize Your Crypto Yields
    In the rapidly evolving world of decentralized finance (DeFi), Velodrome Finance emerges as a robust platform for enthusiasts looking to enhance their crypto yield returns. This guide will walk you through the essentials of Velodrome Finance and how you can benefit from its features.
    velodrome exchange
    Why Choose Velodrome Finance?
    Velodrome Finance stands out as a comprehensive DeFi protocol designed specifically for liquidity providers. Its innovative approach focuses on maximizing rewards while maintaining efficient and secure trading mechanisms. Here’s why it’s capturing the attention of the DeFi community:

    Efficient Token Swaps: Velodrome offers seamless and cost-effective token swapping capabilities.
    Liquidity Pools: Participants can provide liquidity to various pools, optimizing their earning potential.
    Yield Optimization: With advanced strategies, Velodrome helps users achieve superior returns on their investments.
    Secure Protocol: Security is a top priority, and Velodrome utilizes cutting-edge technology to protect user assets.
    Getting Started with Velodrome
    Embarking on your journey with Velodrome Finance is straightforward. Here’s a step-by-step guide to help you dive into the platform:

    Create a Wallet: To engage with Velodrome, you first need a compatible crypto wallet.
    Connect Your Wallet: Visit and securely link your crypto wallet.
    Explore Liquidity Pools: Browse through available pools and decide where to allocate your assets for optimal returns.
    Stake and Earn: Once you’ve funded a pool, begin staking and watch your earnings grow as you benefit from trading fees and incentives.
    Community and Support
    Velodrome Finance boasts a vibrant community ready to assist users at any step. Whether you’re a seasoned DeFi user or a newcomer, you can find guidance and support from community forums and dedicated customer service.

    Conclusion
    With its focus on maximizing crypto yield, Velodrome Finance is a compelling choice for anyone looking to delve deeper into the DeFi space. From efficient token swaps to robust security measures, it offers a complete ecosystem for those eager to optimize their returns. Visit the official site and start your journey towards enhanced financial growth.

  22. Terryabist表示:

    Перспективные земельные участки – Продажа земельных участков, Ипотека под 0%

  23. Terryabist表示:

    Перспективные земельные участки – Кадастровый участок, Дом в рассрочку

  24. Josephjes表示:

    Дом с участком – Качественные строительные материалы, Строю дом

  25. Josephjes表示:

    Дом бесплатно – Долговечность и надежность конструкций, Подбор участка под индивидуальные требования

  26. Scotthom表示:

    What is Uniswap?
    Uniswap is a decentralized exchange (DEX) protocol built on the Ethereum blockchain. It enables direct peer-to-peer cryptocurrency transactions, allowing users to trade coins without intermediaries. This makes it a cornerstone of the Decentralized Finance (DeFi) ecosystem.
    uniswap v2
    Benefits of Using Uniswap
    Uniswap offers several advantages over traditional, centralized exchanges:

    Decentralization: Users maintain control of their funds, minimizing the risk of hacking or fraud associated with central exchanges.
    Liquidity Pools: Uniswap uses automated liquidity pools instead of traditional order books, enabling seamless and efficient trading.
    Open Access: Anyone with an Ethereum wallet can trade on Uniswap, facilitating financial inclusivity.
    No Registration: Trade instantly without creating an account or passing through identity verification processes.
    How to Use Uniswap
    Getting started with Uniswap is simple and intuitive. Follow these steps:

    Create and fund an Ethereum wallet if you don’t have one. Some popular options include MetaMask, Trust Wallet, and Coinbase Wallet.
    Connect your wallet to the Uniswap platform by navigating to their website and initiating the connection process.
    Choose the tokens you wish to trade. Always ensure you are aware of the gas fees involved in the transaction.
    Initiate the swap and confirm the transaction in your wallet. Your new tokens will be available once the transaction is confirmed on the blockchain.
    Security Tips
    While Uniswap is a secure platform, it’s crucial to follow best practices to ensure your funds remain safe:

    Always ensure you are accessing the legitimate Uniswap website by verifying the URL.
    Keep your wallet’s private keys secure and never share them with anyone.
    Regularly update your cryptocurrency wallet and browser to prevent vulnerabilities.
    Conclusion
    Uniswap has revolutionized the way cryptocurrency trading operates by providing a secure, user-friendly, and inclusive platform. Whether you are a seasoned trader or a newcomer to the crypto world, Uniswap offers a powerful tool for navigating the DeFi landscape.

  27. Josephjes表示:

    [url=https://ratusha-houses.ru/]Ипотека без первоначального взноса[/url] – Дом бесплатно, Сопровождение проекта от начала до конца

  28. Terryabist表示:

    [url=http://zemlyaclick.ru]Ипотека без первоначального взноса[/url] – Надёжная инвестиция в строительство дома, Инвестиции в недвижимость

發佈留言

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