Chinaunix首页 | 论坛 | 博客
  • 博客访问: 638397
  • 博文数量: 85
  • 博客积分: 1306
  • 博客等级: 中尉
  • 技术积分: 990
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-28 11:23
个人简介

嵌入式视频行业。

文章分类

全部博文(85)

文章存档

2015年(7)

2014年(5)

2013年(41)

2012年(11)

2011年(1)

2010年(3)

2008年(17)

分类: LINUX

2013-04-06 17:37:14

  1. 1、完成代码:ctrl+\ //任何地方按下此组合键,均会提示相应的参考字段;
  2. 2、错误提示:alt + enter //顾名思义,当系统报错时,按下此组合可以查看系统提示;
  3. 3、自动完成字符串: ctrl+L ctrl+k //后者(Ctrl+L没用过)组合键自动打出字符串,每按一次打出一个新串,串序自下向上;
  4. 4、右键:修复自动导入
  5. 5、右键:格式化代码风格
  6. 6、导入所需包:ctrl+shift+i
  7. 7、格式化代码:alt+shift+F
  8. 8、注释/取消注释:ctrl+/,此功能支持多行注释,但首先需选中所要注释行
  9. 9、psvm+Tab 生成Main方法
  10. 10、sout + Tab //生成输出语句
  11. 11、ctrl+enter //增加空白行,光标不移动;
  12. 12、alt+shift+F //格式,不太懂什么意思,高手可以解释下;
  13. 13、alt+enter //不太会用;
  14. 13、Alt+insert //插入代码(包括构造函数,setter和getter方法等);
  15. 14、Alt+Shift+O //转到类;
  16. 15、Ctrl+Tab //在打开的源文件中进行切换;
  17. 16、Ctrl+O或Ctrlt+单击 //转到源,即按住Ctrl键然后单击某源就可以打开源代码;
  18. 补充几条:
  19. Shift+F6 //运行当前程序
  20. Ctrl+Shift+F5: //调试当前程序
  21. Ctrl+F //快速查找代码中的字符串
  22. Ctrl+Delete //也是一个比较常用的shortcut,大家可以试试;
  23. Ctrl+Shift+Right //向右逐个选中
  24. Ctrl+Shift+Left //向左逐个选中
  25. Ctrl+Shift+UP/DOWN //复制当前行到下一行,光标不动
  26. Ctrl+e//删除行

点击(此处)折叠或打开


  1. abbrev-debug-line
  2. Debug Filename and Line Number

  3. adjust-caret-bottom
  4. Move Insertion Point to Bottom

  5. adjust-caret-center
  6. Move Insertion Point to Center

  7. adjust-caret-top
  8. Move Insertion Point to Top

  9. adjust-window-bottom
  10. Scroll Insertion Point to Bottom

  11. adjust-window-center
  12. Scroll Insertion Point to Center

  13. adjust-window-top
  14. Scroll Insertion Point to Top

  15. all-completion-show
  16. Show All Code Completion Popup

  17. annotations-cycling
  18. Annotations Cycling

  19. beep
  20. Beep

  21. build-popup-menu
  22. Build Popup Menu

  23. build-tool-tip
  24. Build Tool Tip

  25. caret-backward
  26. Insertion Point Backward

  27. caret-begin
  28. Insertion Point to Beginning of Document

  29. caret-begin-line
  30. Insertion Point to Beginning of Text on Line

  31. caret-begin-word
  32. Insertion Point to Beginning of Word

  33. caret-down
  34. Insertion Point Down

  35. caret-end
  36. Insertion Point to End of Document

  37. caret-end-line
  38. Insertion Point to End of Line

  39. caret-end-word
  40. Insertion Point to End of Word

  41. caret-forward
  42. Insertion Point Forward

  43. caret-line-first-column
  44. Insertion Point to Beginning of Line

  45. caret-next-word
  46. caret-next-word

  47. caret-previous-word
  48. caret-previous-word

  49. caret-up
  50. Insertion Point Up

  51. collapse-all-code-block-folds
  52. Collapse All Java Code

  53. collapse-all-folds
  54. Collapse All

  55. collapse-all-javadoc-folds
  56. Collapse All Javadoc

  57. collapse-fold
  58. Collapse Fold

  59. comment
  60. Comment

  61. complete-line
  62. Complete Line

  63. complete-line-newline
  64. Complete Line and Create New Line

  65. completion-show
  66. Show Code Completion Popup

  67. copy-selection-else-line-down
  68. Copy Selection else Line down

  69. copy-selection-else-line-up
  70. Copy Selection else Line up

  71. copy-to-clipboard
  72. Copy

  73. cut-to-clipboard
  74. Cut

  75. cut-to-line-begin
  76. Cut from Insertion Point to Line Begining

  77. cut-to-line-end
  78. Cut from Insertion Point to Line End

  79. default-typed
  80. Default Typed

  81. delete-next
  82. Delete Next Character

  83. delete-previous
  84. Delete Previous Character

  85. documentation-show
  86. Show Documentation Popup

  87. dump-view-hierarchy
  88. Dump View Hierarchy

  89. expand-all-code-block-folds
  90. Expand All Java Code

  91. expand-all-folds
  92. Expand All

  93. expand-all-javadoc-folds
  94. Expand All Javadoc

  95. expand-fold
  96. Expand Fold

  97. fast-import
  98. Fast Import

  99. find-next
  100. Find Next Occurrence

  101. find-previous
  102. Find Previous Occurrence

  103. find-selection
  104. Find Selection

  105. first-non-white
  106. Go to First Non-whitespace Char

  107. fix-imports
  108. Fix Imports

  109. format
  110. Format

  111. generate-code
  112. Insert Code

  113. generate-fold-popup
  114. Generate Fold Popup

  115. generate-goto-popup
  116. Generate Goto Popup

  117. generate-gutter-popup
  118. Margin

  119. goto
  120. Go to Line...

  121. goto-declaration
  122. Go to Declaration

  123. goto-help
  124. Go to Javadoc

  125. goto-implementation
  126. Go to Implementation

  127. goto-source
  128. Go to Source

  129. goto-super-implementation
  130. Go to Super Implementation

  131. in-place-refactoring
  132. Instant Rename

  133. incremental-search-backward
  134. Incremental Search Backward

  135. incremental-search-forward
  136. Incremental Search Forward

  137. insert-break
  138. Insert Newline

  139. insert-date-time
  140. Insert Current Date and Time

  141. insert-tab
  142. Insert Tab

  143. introduce-constant
  144. Introduce Constant...

  145. introduce-field
  146. Introduce Field...

  147. introduce-method
  148. Introduce Method...

  149. introduce-variable
  150. Introduce Variable...

  151. java-next-marked-occurrence
  152. Navigate to Next Occurrence

  153. java-prev-marked-occurrence
  154. Navigate to Previous Occurrence

  155. jump-list-last-edit
  156. Last edit

  157. jump-list-next
  158. Forward

  159. jump-list-prev
  160. Back

  161. last-non-white
  162. Go to Last Non-whitespace Char

  163. make-getter
  164. Replace Variable With its Getter

  165. make-is
  166. Replace Variable With its is* Method

  167. make-setter
  168. Replace Variable With its Setter

  169. match-brace
  170. Insertion Point to Matching Brace

  171. move-selection-else-line-down
  172. Move Selection else Line down

  173. move-selection-else-line-up
  174. Move Selection else Line up

  175. org.openide.actions.PopupAction
  176. Show Popup Menu

  177. page-down
  178. Page Down

  179. page-up
  180. Page Up

  181. paste-formated
  182. Paste Formatted

  183. paste-from-clipboard
  184. Paste

  185. redo
  186. Redo

  187. reindent-line
  188. Re-indent Current Line or Selection

  189. remove-line
  190. Delete Line

  191. remove-line-begin
  192. Delete Preceding Characters in Line

  193. remove-selection
  194. Delete Selection

  195. remove-tab
  196. Delete Tab

  197. remove-trailing-spaces
  198. Remove Trailing Spaces

  199. remove-word-next
  200. remove-word-next

  201. remove-word-previous
  202. remove-word-previous

  203. replace
  204. Replace

  205. run-macro
  206. Run Macro

  207. scroll-down
  208. Scroll Down

  209. scroll-up
  210. Scroll Up

  211. select-all
  212. Select All

  213. select-element-next
  214. Select Next Element

  215. select-element-previous
  216. Select Previous Element

  217. select-identifier
  218. Select Identifier

  219. select-line
  220. Select Line

  221. select-next-parameter
  222. Select Next Parameter

  223. select-word
  224. Select Word

  225. selection-backward
  226. Extend Selection Backward

  227. selection-begin
  228. Extend Selection to Beginning of Document

  229. selection-begin-line
  230. Extend Selection to Beginning of Text on Line

  231. selection-begin-word
  232. Extend Selection to Beginning of Word

  233. selection-down
  234. Extend Selection Down

  235. selection-end
  236. Extend Selection to End of Document

  237. selection-end-line
  238. Extend Selection to End of Line

  239. selection-end-word
  240. Extend Selection to End of Word

  241. selection-first-non-white
  242. Extend Selection to First Non-whitespace Char

  243. selection-forward
  244. Extend Selection Forward

  245. selection-last-non-white
  246. Extend Selection to Last Non-whitespace Char

  247. selection-line-first-column
  248. Extend Selection to Beginning of Line

  249. selection-match-brace
  250. Extend Selection to Matching Brace

  251. selection-next-word
  252. selection-next-word

  253. selection-page-down
  254. Extend Selection to Next Page

  255. selection-page-up
  256. Extend Selection to Previous Page

  257. selection-previous-word
  258. selection-previous-word

  259. selection-up
  260. Extend Selection Up

  261. shift-line-left
  262. Shift Line Left

  263. shift-line-right
  264. Shift Line Right

  265. split-line
  266. Split Line

  267. start-macro-recording
  268. Start Macro Recording

  269. start-new-line
  270. Start New Line

  271. stop-macro-recording
  272. Stop Macro Recording

  273. switch-case
  274. Switch Case

  275. to-lower-case
  276. To Lowercase

  277. to-upper-case
  278. To Uppercase

  279. toggle-case-identifier-begin
  280. Switch Capitalization of Identifier

  281. toggle-comment
  282. Toggle Comment

  283. toggle-highlight-search
  284. Toggle Highlight Search

  285. toggle-line-numbers
  286. Toggle Line Numbers

  287. toggle-non-printable-characters
  288. Toggle Non-printable Characters

  289. toggle-toolbar
  290. Toggle Toolbar

  291. toggle-typing-mode
  292. Toggle Typing Mode

  293. tooltip-show
  294. Show Code Completion Tip Popup

  295. uncomment
  296. Uncomment

  297. undo
  298. Undo

  299. word-match-next
  300. Next Matching Word

  301. word-match-prev
  302. Previous Matching Word

阅读(2238) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~