Questions tagged [eclipse-plugin]

Eclipse is an OSGi extensible platform for tool integration. The extensions to Eclipse are Java plug-ins. Use this tag to ask about developing Eclipse plug-ins. Note that asking for plug-in recommendations is off-topic.

Eclipse isn't a single monolithic program, but rather a small kernel containing a plug-in loader surrounded by a multitude of Java plug-ins. This small kernel is an implementation of the OSGi R4 specification and provides an environment in which plug-ins execute.

Each plug-in contributes to the whole in a structured manner, may rely on services provided by another plug-in, and each may in turn provide services on which yet other plug-ins may rely.

Plug-ins allow the extension of Eclipse functionality in various ways:

  • Providing additional UI elements,
  • allowing working with new technologies,
  • enhancing an existing plugin functionality, and much more.

The Eclipse source code is readily available and can be integrated with Eclipse to make it easy to debug plug-ins.

Documentation

11636 questions
4
votes
1 answer

Override rename action in eclipse

I am new to eclipse plugin development. I am in the need of overriding the rename dialog for the files in a specific custom project. Say I am having a file "sample.abcd" in the custom project that has its own perspectives, natures and builders. So…
Logan
  • 1,331
  • 3
  • 18
  • 41
4
votes
2 answers

Suppress Errors in JavaScript validation

I'm currently developing an eclipse plugin. This plugin contains a project nature which depends on the javaScript nature of jsdt. Now at a few details the JavaScripts that the projects of my nature can contain are somewhat special. They can contain…
Chris
  • 7,675
  • 8
  • 51
  • 101
4
votes
3 answers

See all super classes in Java

Say you have a class A and a class B extends A and a class C extends B. Is there any IDE or any sort of plug-in for any idea, where in the file C.Java, on line Class C extends B I can see something like ( and Class A ) for example like a tooltip…
Koray Tugay
  • 22,894
  • 45
  • 188
  • 319
4
votes
2 answers

Where do an Eclipse's plugins log files go to?

I have an eclipse plugin which is failing. I developed/enhanced it based off of another plugin. When I deploy this plugin as an update site and install it into another instance of eclipse, it works initially (the view shows up). But as I try to…
Zombies
  • 25,039
  • 43
  • 140
  • 225
4
votes
1 answer

Creating a eclipse plugin with text hover

I would like to make a Eclipse plugin (text editor). I would "read" the text under the cursor and show a dynamical generated hover that depends on the text. Now I have the problem that I don't know how I can read the text and "add" the hover. It's…
phoenix
  • 49
  • 7
4
votes
1 answer

Eclipse Custom Content Assist Based on Default Java Content Assist results

I'm in the process of implementing a task tool. As a part of this I'm making an Eclipse plug-in to reflect certain code level issues. In the Eclipse plug-in my aim is to attach some visual aids to different Java elements according to their host…
J3lly
  • 148
  • 1
  • 9
4
votes
3 answers

How to reduce builder time in eclipse?

I am working with eclipse . When Eclipse restart / open , I am unable to work until the builder , building workspace or finished . How can I reduce this timing ? Please look at the screenshot . Sometimes my eclipse is hanged due to that . I am…
kannanrbk
  • 6,964
  • 13
  • 53
  • 94
4
votes
3 answers

Removing popUpMenus from CNF (Common Navigator Framework) in Eclipse

I have been partially successful at removing almost all the popUp menus from the Commons Navigator Framework simply by configuring the plugin.xml file. There are 2 menus that refuse to go: group.edit and group.reorganize. My plugin.xml config…
user157916
  • 463
  • 1
  • 5
  • 6
4
votes
1 answer

How to set selection in a TableViewer to a specified index?

I have a TableViewer in a view of my RCP application. The TableViewer has a List of objects as input. Is it possible to make a selection for a particular object using the index of the object in the List that I set as input to the TableViewer? For…
Rajath
  • 2,178
  • 6
  • 32
  • 38
4
votes
1 answer

Javascript minification when eclipse builds my Java EE application?

I am having Java EE application in which I was using ANT in order to do all my tasks. For the minification of JavaScript I was using YUI Compressor and its ANT plugin and used to compress my files during build. Now my problem is that I want to use…
Shiv Kumar Ganesh
  • 3,799
  • 10
  • 46
  • 85
4
votes
2 answers

How to prevent creation of .project files in Eclipse navigator?

In our Eclipse plugin are we managing some resources using navigator. For every folder in the navigator Eclipse is creating an .project file which leads to some problem in the code under resource management. One way is to filter .project file…
Govan
  • 2,079
  • 4
  • 31
  • 53
4
votes
1 answer

Will eclipse/osgi activators always be called at least once before code is accessed?

In Eclipse (3.3) I have a plugin User, depending on plugin Provider. Provider has an activator. On the Plugin Editor for provider it has a checkbox "Activate this plug-in when one of its classes is loaded". Checking/unchecking this will change a…
AntóinÓg
  • 511
  • 3
  • 19
4
votes
1 answer

Access project build path through an eclipse plugin

I need to programmatically check if a project's build path already contains a specified library. It's for a quick fix proposal, to know if this was already "fixed" and cannot be the problem. I have access to the current IInvocationContext, and…
Cedric Reichenbach
  • 8,970
  • 6
  • 54
  • 89
4
votes
1 answer

Race conditions in AnnotationModel? Error annotations lost in Reconciler

I have an Eclipse custom editor and I implemented 'report errors as you type', but every now and then my error squigglies (using JFace annotations) are not shown or linger after they should be removed. I am using MonoReconciler with my…
Iulian Dragos
  • 5,692
  • 23
  • 31
4
votes
1 answer

How to convert from JavaElement to its declaring ASTNode?

I read this article from Eclipse wiki (http://wiki.eclipse.org/JDT/FAQ#From_an_IJavaElement_to_its_declaring_ASTNode) but I still can not convert from a IMethod to its corresponding MethodDeclaration. I have an extension point which adds a popup…
EijiAdachi
  • 441
  • 1
  • 3
  • 15