跳到內容

Kate

取得編輯優勢

支援 Linux、Windows 與 macOS

取得它
Plasma

功能

Kate 是一個具有非常多功能的文字編輯器

Kate 內含大量功能,幫助您檢視或編輯您的所有文字檔案。Kate 讓您利用分頁與分割檢視來同時編輯或檢視許多檔案,並且提供各式各樣的外掛程式,例如內嵌終端機讓您直接從 Kate 當中執行終端機命令、強大的搜尋與取代外掛程式、以及預覽 Markdown、HTML 或甚至 SVG 的預覽外掛程式等等。

所有功能

語法突顯讓您的程式碼變漂亮

Kate 支援超過 300 個語言的語法突顯,讓您能夠更輕易的閱讀幾乎所有程式語言的程式碼。Kate 也瞭解括號運作,並且會幫助您瀏覽複雜的程式區塊階層。Kate 也包含即時拼字檢查,幫助您在發佈前檢查您的文本。 包含語法突顯的 Kate 螢幕截圖

Kate 語法選擇器的螢幕截圖

多游標編輯

利用多游標與多重選取功能來加強您的效率。Kate 現在支援這個功能了!原先使用其他專有編輯器而希望使用您習慣的快捷鍵?您可以在 Kate 當中調整所有快捷鍵,這樣您甚至不需要重新訓練自己

Kate 多游標功能的動畫

有效率地開發複雜專案

用分割檢視來同時處理多個檔案。使用專案側邊欄來瀏覽您的專案目錄結果,並用 Kate 的智慧分頁來快速存取您最近使用的文件。功能強大的搜尋與取得工具讓您快速在您整個專案中進行搜尋。

Kate 搜尋與取代工具的螢幕截圖
Kate 專案側邊欄的螢幕截圖

用 Kate 來開發您的下一個應用程式

Kate 非常適合用來寫程式,因為它透過支援語言伺服器協定 (Language Server Protocol LSP) 提供了許多程式語言的自動補完。編輯器為編輯程式碼進行設計過,提供可用程式控制的自動縮排、VI 輸入模式、矩形區塊選取模式、智慧註解/取消註解處理等等眾多功能。

Kate 搜尋與取代工具的螢幕截圖

外掛程式

Kate 包含許多預設安裝的外掛程式,讓它比其他文字編輯器都還要強大。用內嵌終端機來直接從 Kate 裡面執行命令;用 SQL 擴充元件來執行 SQL 查詢;用 GDB 來除錯您的程式;單點編譯專案;還有其他更多外掛程式。

Kate 當中的 Konsole

最新消息

2024 年 12 月 2 日,星期一

Kate - 1500 accepted merge requests!

I just looked at our GitLab page today and thought: Amazing!

Kate - 1500 accepted merge requests

I thank you all for the great contributions of the last years.

Let's hope we see even more contributions in the future.

If you are unsure how to contribute, just take a look at the existing merged stuff as reference.

閱讀更多
2024 年 8 月 26 日,星期一

Kate & Fonts

With the Qt 6.7 release, Qt introduced a wide range of improvement for the text rendering and font shaping.

One element of this is that you can now configure OpenType font features.

Many of the 'new cool' programming fonts have such features integrated. That includes both free fonts like Cascadia Code or paid fonts like MonoLisa.

Let's use the features of Cascadia Code as an example, that is the stuff they promote on their GitHub page:

閱讀更多
2024 年 6 月 8 日,星期六

Kate Fun Logo

G2 posted some fun logos for Kate on reddit.

I think they are nice and flashy and well suited if you want to show your appreciation for Kate and like that art style and a good addition to our awesome icon and mascot.

Static Version

Static Fun Logo for Kate

Animated Version

Animated Fun Logo for Kate

Licensing

G2 licensed these files under the CC BY-NC-SA 4.0. Feel free to share the stuff with this license and credit for G2.

閱讀更多
2024 年 5 月 13 日,星期一

Introducing the Formatting plugin

So this is not quite an introduction since the plugin has been around for almost a year now, having been released in the 23.04 release but since I never got around to writing a blog about it, here I am.

In simple words, the formatting plugin allows one to format code easily and quickly. Well the "quickness" depends on the underlying code formatter but we try to be as quick as possible. So far if you wanted to do code formatting from within Kate, the only way to do that was to configure a tool in the External Tools plugin and then invoke it whenever you wanted to format the code. While this works it wasn't great for a few reasons. Firstly, you would loose undo history. Secondly, the buffer would jump and you would most likely loose your current position in the document. Thirdly, for every language you get a different tool and you need to remember the right tool to invoke on the right document type.

閱讀更多
📢 檢視所有新消息