所謂工欲善其事,必先利其器,一個好的編程軟件對於程序員是很重要的,今天介紹一個我常用的工具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!
給你快捷鍵列表
001002003004005006007008009010011012013014015016017018019020021022023024025026027028029030031032033034035036037038039040041042043044045046047048049050051052053054055056057058059060061062063064065066067068069070071072073074075076077078079080081082083084085086087088089090091092093094095096097098099100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136<b class="highlighted0">E-TextEditor</b>快捷鍵(Keyboard shortcuts for E Text Editor)
===============文件操作 File Operations===============Ctrl+N : 創建新文件; New fileDouble-Click tab bar (雙擊tab bar位置):創建新文件; New fileCtrl+O :打開文件; Open fileCtrl+S :保存文件;Save fileCtrl+Shift+S :保存為;Save asCtrl+W :關閉文件; Close fileCtrl+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 lineCtrl+Backspace :刪除到單詞開始(和切換輸入法衝突,建議使用ctrl+h) Delete to start of word (same as Ctrl+H)Ctrl+Delete : 刪除到單詞結尾;Delete to end of wordCtrl+U : 將單詞/選區 變為大寫字母Ctrl+Shift+U : 將單詞/選區 變為小寫字母Alt+G : 切換單詞/選區的大小寫;Inverse case on word/selectionAlt+Shift+D : 複製行/選區;Duplicate line/selectionCtrl+Alt+U : 單詞首字母大寫;Title caseCtrl+T : 顛倒單詞或者字母順序;Transopse, for swapping words or chars.Ctrl+Alt+R : 運行當前行/選區;Run current line/selectionCtrl+C : 複製當前行/選區;Copy (or: Ctrl+Insert)Ctrl+V : 粘貼;Paste (or: Shift+Insert)Ctrl+X : 剪切當前行/選區;CutCtrl+Z : 撤銷;UndoCtrl+Y : 重做;Redo. If there are multiple branches to choose from, undo history will be displayed.Esc : 單詞提示; Word completion.=========選擇 Selection=========Ctrl+A : 全選;Select allCtrl+Shift+arrow : 選擇整個單詞;Select entire wordAlt+Left-mouse : 豎選;column selectionCtrl+Left-mouse : 多選;Multi selectionShift+Home :選擇到當前行的第一個非空白字符,第二次空白也會被選中; Selects to the first non-whitespace char on the line, second time the white spaces will be selected as wellShift+Ctrl+Home : 選擇到文件開頭;Selects to the beginning of the documentShift+Ctrl+End : 選擇到文件結尾;Selects to the end of the documentShift+Ctrl+L : 選擇整行;Selects current lineShift+Ctrl+W : 選擇當前單詞;Selects current wordShift+Ctrl+Space : 選擇當前區域; Selects current scope. If you keep hitting it, it will cycle through the available scopes.=======摺疊 Folding=======F1 : 切換當前摺疊塊; Toggle current foldAlt+F1 : 打開摺疊塊並關閉其他;Open current fold and closes all othersCtrl+F1 : 摺疊所有;Fold allCtrl+Alt+F1 : 展開所有;Unfold allShift+F1 : 選擇當前摺疊塊;Select current foldLeft-mouse : Fold end or fold indicator: Select fold, twice to foldMouseover : 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 tabAlt+Ctrl+R/L-arrow : Next/previous tabAlt+Ctrl+Up-arrow : Go to header/sourceCtrl+L : 打開符號面板; Go to SymbolCtrl+G : 到某一行;Go to lineCtrl+F : 搜索;FindCtrl+G : 搜索下一個;Find nextCtrl+R : 替換;ReplaceHome : 移動光標到當前行首; Move cursor to the beginning of the lineEnd : 移動光標到當前行尾;Move cursor to the end of the lineCtrl+B : 切換光標到當前一對括弧頭或尾;Move cursor to the matching bracketCtrl+Home : 移動到當前文檔的開頭,光標同時定位到開頭;Move cursor to the beginning of the documentCtrl+End : 移動到當前文檔的結尾,光標同時定位到結尾;Move cursor to the end of the documentCtrl+Up/Down-arrow : 當前視窗移動向上/下一行;Scroll up/down, without moving the caretCtrl+1-8 :切換到某個tab; Go to tabCtrl+9 :切換到最後一個tab; Go to last tabCtrl+0 :調出切換列表; List open tabs====視圖 View====Ctrl+P :切換工程窗口; Show/hide Project PaneF5 : Symbol列表;Show/hide Symbol ListF6 : 修改面板;Show/hide Revision HistoryF7 : 歷史面板;Show/hide Undo HistoryF1 : 切換當前摺疊塊; Toggle FoldCtrl+F1 : Fold AllAlt+F1 : Fold OthersAlt+Ctrl+F1 : Unfold AllCtrl+Alt+P :預覽; Show/hide Web Preview========文檔 Document========Ctrl+M :創建標籤; Make milestone=======Bundles=======Ctrl+Shift+B : Show bundle editorCtrl+Alt+T : Select bundleEsc : Kill current running bundle command========Projects========Ctrl+P : Show/hide project paneCtrl+Shift+P : Switch focus between editor and project pane (opening it if needed).Arrow keys : Up/down and expand/close folderEnter : Open file in editorF2 : RenameF5 : Refresh project viewShift-F10 : Show context menu===============Mouse Shortcuts===============Double-click : Select wordTriple-click : Select lineAlt-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