eclipse-jdt Questions
3
Solved
I am generating some classes with JDT. Afterwards I would like to format the whole ICompilationUnit, just as if I pressed Ctrl+Shift+F (Source > Format) in an open Editor without a selection.
Any ...
Conspecific asked 15/4, 2013 at 12:32
5
Solved
I'm looking for a shortcut to completely enable / disable all JAVA breakpoints (analogue of pushing the "Skip all breakpoints" button in Debug view ), not to enable / disable them on a row-by-row b...
Aidaaidan asked 8/11, 2011 at 16:38
1
I use JDT to compile my java classes. BatchCompiler returns a string but I need an array of problems/errors with their column and row information. compiler.compile(units); prints the error to its p...
Cupulate asked 6/6, 2013 at 19:57
1
Solved
I want to build Eclipse JDT Core from source code via Git. Naïvely, I cloned git://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git and tried to run mvn validate (the most basic of Maven phases) fr...
Fellowman asked 5/6, 2013 at 15:21
2
I encounter a strange situation that is currently not that clear to me:
When having the potential null pointer access warning enabled in Eclipse, I get warnings like in the following (the warnings...
Sperrylite asked 22/5, 2013 at 9:9
4
I have the IType object of a class. I want to know if the class is an abstract class or not.
Is there any method available in the IType or ICompilationUnit to determine the same (other than reflect...
Transmogrify asked 13/3, 2013 at 6:36
1
I started noticing these attributes in my .classpath file after running Maven -> Update Project... tool with Update project configuration from pom.xml option checked:
<?xml version="1.0" enc...
Elate asked 11/2, 2013 at 10:58
1
Solved
My current understanding is that JDT provides us two different interface and class hierachies for representing and manipulating Java code:
Java Model: provides a way of representing a java projec...
Meyer asked 29/1, 2013 at 22:52
1
I have a piece of code which is compiling inconsistently between Oracle JDK 7 and Eclipse JDT 7, but since I'm not sure about which compiler is making the mistake(s) I thought I should ask for opin...
Orchidaceous asked 20/12, 2012 at 21:13
4
Solved
I'm needing to install the eclipse JDT.Core plugin locally (eg download the file with site.xml etc), as opposed to installing it remotely due to the horrible firewall at work.
Can anyone suggest wh...
Reitz asked 31/3, 2010 at 5:44
1
The Call Hierarchy view in Eclipse JDT 3.8 seems to show only the references / callers from the own classes in the current project / working set.
Callers from jars / libraries are not shown any mo...
Ingram asked 14/11, 2012 at 10:16
3
Solved
First, a little background (or skip down a little if not interested). I'm irritated and confused! This should be a pretty simple use case, and indeed my code has been compiling just fine with the E...
Obau asked 21/11, 2012 at 20:47
2
Solved
I'm currently working on an Eclipse addon which would help me coding. Basically a library of String snippets.
When creating a new one, I'd love to give it an ID of sorts ClassName.MethodName.X.
G...
Zosima asked 12/3, 2012 at 13:9
1
Solved
My aim is to programmatically call the Refactor >> Rename Eclipse command for a method inside a Java Source File. Renaming a method as such should also apply the change to all the instances w...
Lucey asked 19/10, 2012 at 6:10
1
Solved
I've noticed many projects put the org.jdt.core jar in a lib folder because it's not available in a maven repository.
sbt, the build tool I'm using, can pull a dependency straight from a URL. Howev...
Hertz asked 20/10, 2012 at 15:54
2
Solved
Let's say I'm editing a line...
obj.fooBar(x, y, z);
I want to change the method name to fooSomethingElse, but keep most of the arguments. If I delete all or part of the name, and then use conte...
Kristiekristien asked 9/7, 2012 at 15:49
1
Solved
How can I load a .java file into a CompilationUnit? For example, lets say I have a A.java file in my current project. I would like to load it into a CompilationUnit and then pass it to the ASTParse...
Thermochemistry asked 23/6, 2012 at 4:31
5
Solved
I have a class with a graph inside. I iterate the graph and create a string that builds the graph, and then I just write that string into a Java file.
Is there a better way of doing this, i read ab...
Euphonious asked 23/4, 2012 at 14:8
9
Solved
Eclipse 3.5 added support for relative buildpath/classpath items, yet I cannot seem to find a graphical way to add relatively pathed items. The example in new and noteworthy (search the page for 'r...
Remindful asked 15/9, 2009 at 13:3
6
Solved
What I'm trying to do is this:
List<String> list = new
and then hit Ctrl+Space and get ArrayList<String>() (among others) to show up in the type proposal.
I thought I had this work...
Wojak asked 18/10, 2011 at 15:45
2
Solved
Eclipse autocomplete is not working and is always telling me merely "No Default Proposals".
This is true whether I try to autocomplete for code under java.util or in my own project.
I'm running ...
Flodden asked 14/8, 2010 at 1:25
2
Solved
I am developing m2e connector for out maven plugin, which actually generates some sources. I need to add generated sources(folder) to workspace as source folder.
I used JavaCore for edit .classpat...
Insuperable asked 3/11, 2011 at 11:7
2
Solved
I got a Java application, I want to provide user ability to compile Java source code (Using JavaCompiler interface)
If the user run the application on a JRE, my application should tell user that t...
Ejaculatory asked 20/10, 2011 at 9:7
3
Solved
Eclipse Helios periodically starts running a job which displays "Computing additional info". During this time, Eclipse is very sluggish, bordering on unusable. What does this job do? Can I shut it ...
Misbelief asked 12/3, 2010 at 11:23
2
My current attempt to browse the JDT source code in eclipse:
installing Eclipse Helios RCP version.
importing all plugins from installation as binary files into my workspace
It does not work.
Therapeutics asked 19/9, 2010 at 11:34
© 2022 - 2024 — McMap. All rights reserved.