所謂工欲善其事,必先利其器,一個好的編程軟件對於程序員是很重要的,今天介紹一個我常用的工具e,全名e-texteditor,一個輕量級的文字編輯軟件,E-TextEditor是一款新概念的窗口文本編輯軟件,號稱Windows平台的TextMate,帶有強大文字編輯功能,和一些統一的能力。支持多種語言文字,在Ubuntu和federal下免費,但是在windows下不是免費的,……#¥%45,我在幹嘛?問候某些該問候的人!
直奔主題了,哪裡好用那?
自帶了25套theme,但是這不僅是25套,裡面的theme你可以完全控制,修改背景色,文字顏色,高亮顏色,字體,字體大小……。你說有多少套主題?無數套,你可以自己編輯設定一個自己喜歡的主題,然後分享。高亮設置完全自己掌握。
當你輸入」<」時他會幫你完成 「>「並將鼠標定位在中間,呵呵,不錯,html代碼省了不少麻煩,像{},[],」,」」 都是自動不全的,很不錯的。還有就是如果你的ruby學的比較好的話可以自己寫規則,因為e是開源的。
當你輸入head然後tab時,呵呵,頭部代碼出現了
<head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>e-introduction</title> </head>
當你輸入 div按tab時,內容如下出現了。
<div id="name"> </div>
你可以完全控制的,如果你有修改的能力,官方提供了一個視頻,有興趣可以看看,然後可以添加自己的自動完成。
按住ctrl鍵鼠標點擊不同的文本位置,選擇完修改位置後就可以批量修改了。
還有按住alt鍵,鼠標可以豎選,well done!
給你快捷鍵列表
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054
055
056
057
058
059
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076
077
078
079
080
081
082
083
084
085
086
087
088
089
090
091
092
093
094
095
096
097
098
099
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<b
class="highlighted0">E-TextEditor</b>快捷鍵(Keyboard shortcuts for E Text Editor)
===============
文件操作 File Operations
===============
Ctrl+N : 創建新文件; New file
Double-Click tab bar (雙擊tab bar位置):創建新文件; New file
Ctrl+O :打開文件; Open file
Ctrl+S :保存文件;Save file
Ctrl+Shift+S :保存為;Save as
Ctrl+W :關閉文件; Close file
Ctrl+Shift+T :打開文件對話框,對話框中式工程中所有文件的列表導航; Go To File dialog
=======
編輯 Editing
=======
Ctrl+K :刪除到文件末尾,如果光標是在行尾刪除換行; Delete to end of line; if the caret already is at
end-of-line it deletes the newline.
Ctrl+Shift+K :刪除整行; Delete the entire line
Ctrl+Backspace :刪除到單詞開始(和切換輸入法衝突,建議使用ctrl+h) Delete to start of word (same as Ctrl+H)
Ctrl+Delete : 刪除到單詞結尾;Delete to end of word
Ctrl+U : 將單詞/選區 變為大寫字母
Ctrl+Shift+U : 將單詞/選區 變為小寫字母
Alt+G : 切換單詞/選區的大小寫;Inverse case on word/selection
Alt+Shift+D : 複製行/選區;Duplicate line/selection
Ctrl+Alt+U : 單詞首字母大寫;Title case
Ctrl+T : 顛倒單詞或者字母順序;Transopse, for swapping words or chars.
Ctrl+Alt+R : 運行當前行/選區;Run current line/selection
Ctrl+C : 複製當前行/選區;Copy (or: Ctrl+Insert)
Ctrl+V : 粘貼;Paste (or: Shift+Insert)
Ctrl+X : 剪切當前行/選區;Cut
Ctrl+Z : 撤銷;Undo
Ctrl+Y : 重做;Redo. If there are multiple branches to choose from,
undo history will be displayed.
Esc : 單詞提示; Word completion.
=========
選擇 Selection
=========
Ctrl+A : 全選;Select all
Ctrl+Shift+arrow : 選擇整個單詞;Select entire word
Alt+Left-mouse : 豎選;column selection
Ctrl+Left-mouse : 多選;Multi selection
Shift+Home :選擇到當前行的第一個非空白字符,第二次空白也會被選中; Selects to the first non-whitespace char on the line,
second time the white spaces will be selected as well
Shift+Ctrl+Home : 選擇到文件開頭;Selects to the beginning of the document
Shift+Ctrl+End : 選擇到文件結尾;Selects to the end of the document
Shift+Ctrl+L : 選擇整行;Selects current line
Shift+Ctrl+W : 選擇當前單詞;Selects current word
Shift+Ctrl+Space : 選擇當前區域; Selects current scope. If you keep hitting it,
it will cycle through the available scopes.
=======
摺疊 Folding
=======
F1 : 切換當前摺疊塊; Toggle current fold
Alt+F1 : 打開摺疊塊並關閉其他;Open current fold and closes all others
Ctrl+F1 : 摺疊所有;Fold all
Ctrl+Alt+F1 : 展開所有;Unfold all
Shift+F1 : 選擇當前摺疊塊;Select current fold
Left-mouse : Fold end or fold indicator: Select fold, twice to fold
Mouseover : Fold end: Show fold preview
Fold indicator: Highlight fold (useful for nested folds)
==========
導航 Navigation
==========
Ctrl+Tab :切換到下一個tab; Go to last active tab (or next tab if used repeatedly)
Ctrl+Shift+Tab :切換到上一個tab; Go to previous tab
Alt+Ctrl+R/L-arrow : Next/previous tab
Alt+Ctrl+Up-arrow : Go to header/source
Ctrl+L : 打開符號面板; Go to Symbol
Ctrl+G : 到某一行;Go to line
Ctrl+F : 搜索;Find
Ctrl+G : 搜索下一個;Find next
Ctrl+R : 替換;Replace
Home : 移動光標到當前行首; Move cursor to the beginning of the line
End : 移動光標到當前行尾;Move cursor to the end of the line
Ctrl+B : 切換光標到當前一對括弧頭或尾;Move cursor to the matching bracket
Ctrl+Home : 移動到當前文檔的開頭,光標同時定位到開頭;Move cursor to the beginning of the document
Ctrl+End : 移動到當前文檔的結尾,光標同時定位到結尾;Move cursor to the end of the document
Ctrl+Up/Down-arrow : 當前視窗移動向上/下一行;Scroll up/down, without moving the caret
Ctrl+1-8 :切換到某個tab; Go to tab
Ctrl+9 :切換到最後一個tab; Go to last tab
Ctrl+0 :調出切換列表; List open tabs
====
視圖 View
====
Ctrl+P :切換工程窗口; Show/hide Project Pane
F5 : Symbol列表;Show/hide Symbol List
F6 : 修改面板;Show/hide Revision History
F7 : 歷史面板;Show/hide Undo History
F1 : 切換當前摺疊塊; Toggle Fold
Ctrl+F1 : Fold All
Alt+F1 : Fold Others
Alt+Ctrl+F1 : Unfold All
Ctrl+Alt+P :預覽; Show/hide Web Preview
========
文檔 Document
========
Ctrl+M :創建標籤; Make milestone
=======
Bundles
=======
Ctrl+Shift+B : Show bundle editor
Ctrl+Alt+T : Select bundle
Esc : Kill current running bundle command
========
Projects
========
Ctrl+P : Show/hide project pane
Ctrl+Shift+P : Switch focus between editor and project pane
(opening it if needed).
Arrow keys : Up/down and expand/close folder
Enter : Open file in editor
F2 : Rename
F5 : Refresh project view
Shift-F10 : Show context menu
===============
Mouse Shortcuts
===============
Double-click : Select word
Triple-click : Select line
Alt-doubleclick : Select scope
====================
Command Line Options
====================
--clearstate : Don't reload files from last session.
--clearlayout : Resets window layout and positions.
--clearundo : Clear undo history for all un-milestoned files.
我們常遇到一個問題就是一個文件打開會亂碼,或者你在編輯的時候選錯了編碼,當轉換的時候杯具發生了,中文全部變成了亂碼,反正我是遇到的挺多的, 當GBK,GB2312轉換到UTF8的時候,經常亂碼,用e就不會了,你可以在右下角直接切換編碼,當然我推薦用utf-8的編碼。
e是佔用很少內存的,不會很卡,適用於不是很大文件的編譯,但這也是優點啊。
一般文件是卡不住的,平時也不會編譯很大的文件,所以沒問題。
還有很多優點的,你用一下就知道了。
下面說一說他的不足,
不過e的設置非常簡單,很少的菜單設置項,這樣就不會搞昏你了,相信你的英文能力可以克服的。
e安裝的時候會提示某些文件不能安裝,這不是問題,忽略它。
在e安裝結束時會提示你安裝cygwin的一個軟件,但是最近e的這個安裝出問題了,一個是cygwin的版本問題,當安裝的時候會提示你ini的版本不 對,再次忽略它,會有比較長時間的安裝,安裝結束的時候,杯具還是發生了,e無法檢測到cygwin已經安裝,有時會惱人的一直提示你。
現在還沒有找到什麼很好的解決辦法,但是我們在努力,哈哈,看論壇裡的討論
這個方法好像還行,可以試一下啊
將註冊表裡的
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
值設為
"native"="C:\\\\cygwin"
基本搞定。
PS: Sublime Text 不錯,而且免費,和e-texteditor有很大相似,大家可以試試看。
ps 2011-2-16. e 2 出來啦 ,功能再次強大,好愛使用及破解見下文:
這也是很常用的方法,當然這是對我們這些破解盲來說的,網上搜了一下,這種方法是在註冊表刪除:
HKEY_CURRENT_USER\Software\e\CLSID2
DOS Command 註冊表刪除:
REG DELETE HKEY_CURRENT_USER\Software\e /v CLSID2 /F