eclipse-jdt
Why is IJavaProject.findPackageFragmentRoots returning an empty array?
Every time I call IJavaProject.findPackageFragmentRoots(IClasspathEntry cpe) and pass it an IClasspathEntry of kind CPE_PROJECT, it returns an empty list. I paused the debugger and ran the following l[详细]
2023-01-09 04:25 分类:问答Eclipse Helios ignores breakpoints
Eclipse is driving me nuts right now. It\'s probably something trivial but I just don\'t get it. Whenever I like to add a breakpoint, the regular icons are crossed out in the editor and breakpoints vi[详细]
2023-01-06 09:14 分类:问答How to programmatically specify JRE javadoc location in eclipse?
You can manually set it via _Package Explorer / JRE System Library / rt.jar -> contextmenu -> properties[详细]
2023-01-04 07:00 分类:问答Break when exception is thrown
Visual Studio has an option to break开发者_StackOverflow automatically into the debugger when an unhandled exception is thrown, does Eclipse have similar functionality?You are able to define the preci[详细]
2023-01-04 01:53 分类:问答JDT ASTParser to get the value of a string field
Is there a way to use jdt ASTParser to get the value of a String field declared in a java file. Actually what I need is to resolve any possible dependencies from other classe开发者_如何学Pythons e.g.[详细]
2023-01-02 13:59 分类:问答Eclipse project artefacts in Maven repository
I want to use some of the libraries produced by the Eclipse project through Maven. I \'ve had a look at the main Maven repo and while it looks like that there are a few projects already imported, thei[详细]
2023-01-01 15:30 分类:问答Eclipse JDT: Call 'correct indentation' programmatically?
I am working on an Eclipse plugin that modifies Java code in a user\'s project. Basically the result of this plugin is that Java annotations are added to some methods, so[详细]
2022-12-31 23:05 分类:问答How to find an anonymous class or a local type using the JDT Java Search Engine?
I want to programmatically get the model of an anonymous class or locally declared type (i.e. an instance of IType) from the JDT Java Search Engine, known by fully qualified name. So far, I did well w[详细]
2022-12-31 16:15 分类:问答Is there a way to replace the Eclipse JDT's code completion list with a multi-level tree?
I know that the eclipse code completion widget ca开发者_如何学Cn be customized to add new suggestions and even to change the order.[详细]
2022-12-29 17:09 分类:问答Integrating Eclipse JDT Core into a new editor
I\'m building a Java IDE and am trying to implement autocompletion or intellisense. After looking around for something that will do most of the work for me (not reinventing the wheel etc) I\'ve pulled[详细]
2022-12-28 23:57 分类:问答