简体   繁体   English

Netbeans快速进口

[英]Netbeans fast imports

I am using Netbeans and am trying to use the fast import quick keys(Alt+Shift+I) but when I do this the box displays No "Classes Found". 我正在使用Netbeans,并尝试使用快速导入快速键(Alt + Shift + I),但是在执行此操作时,此框显示“未找到类”。 any ideas? 有任何想法吗? I have have updated everything in the hope that this was the issue, but alas nothing has changed. 我已经更新了所有内容,希望这是问题所在,但是可惜没有任何改变。 i have also gone through the options - keymaps, and my setting are the same as the guy next to me. 我还浏览了选项-键盘映射,并且我的设置与我旁边的人相同。

"Alt + Shift + I" fixes selected class's import. “ Alt + Shift + I”修复所选类的导入。 When there is no selection Netbeans tries to fix the import for the element, the cursor is on. 当没有选择时,Netbeans尝试修复该元素的导入,光标将打开。

Use Ctrl + Shift + I to fix all imports for the whole file. 使用Ctrl + Shift + I修复整个文件的所有导入。

Alt+Shift+I is using for Fixing selected class's import . Alt + Shift + I用于修复选定类的import For example if you are using SimpleDateFormat . 例如,如果您使用SimpleDateFormat When cursor in SimpleDateFormat you can check fix selected class's import. 当光标SimpleDateFormatSimpleDateFormat您可以检查修复所选类的导入。 If class not imported you can import. 如果未导入类,则可以导入。
在此处输入图片说明

If you use Alt+Shift+I in non-classes you get <No Classes Found> . 如果在非类中使用Alt + Shift + I ,则会得到<No Classes Found> For importing class you must click. 要导入课程,必须单击。 If you want to import two or more you can use Ctrl-Shift-I . 如果要导入两个或多个,可以使用Ctrl-Shift-I For more information see this: Netbeans ShortCuts 有关更多信息,请参见: Netbeans ShortCuts

使用Ctrl + Shift +我将导入所有必需的软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM