更新时间:2023-01-16 17:10:30
我不认为你可以。
这不完全是你以后,但你可以打开打开类型对话框,并在那里使用通配符。 Ctrl + Shift + T将打开对话框。
您也可以在打开类型对话框中使用类型名称中的大写字母。例如键入NPEx会引发NoPermissionException和NullPointerException。
I would like to know if there is any way to use wildcards when using content assist in Ecilpse. For example, today I wanted to find the various classes on the classpath that ended in 'Exception'. I tried the following combinations, but in each instance content assist only brought up classes or interfaces that started with 'Exception'
.Exception [cntl]+[space bar] ?Exception [cntl]+[space bar] #Exception [cntl]+[space bar] *Exception [cntl]+[space bar]
Please note I did try googling this, but didn't find any answers based upon the following search criteria 'eclipse wildcard content assist'.
Any assistance would be appreciated.
I don't think you can.
It's not exactly what you're after, but you can open the "Open Type" dialog and use wildcards there. Ctrl+Shift+T will open the dialog.
You can also use just the capitals from the type name in the "Open Type" dialog. For example typing NPEx will bring up NoPermissionException and NullPointerException.