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
3
votes
3 answers

How to write a Source code editor for custom Language in Rich Client Plateform?

I am building a tool for a custom language. It will have many components including a source code editor. What are the coponents I will need to build this editor. I would like syntax highlighting, outline and formating to start with. I have already…
Tasawer Khan
  • 5,994
  • 7
  • 46
  • 69
3
votes
3 answers

Save an Eclipse editor programmatically

I am developing a plug-in. On clicking a button, I'd like to call the save method of Eclipse or call the save button on Eclipse toolbar. What is the way to do it?
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
3
votes
1 answer

Add shortcut button to comment out code in Eclipse

Just wondering if there is a way to add a button to the eclipse editor - like in Visual Studio - in the "Java view" to quickly comment or uncomment out selected blocks of code?
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
3
votes
1 answer

Implementing horizontal line numbering in Eclipse RCP

I need a horizontal line numbering in Eclipse RCP application, do you have any recommendation where to start looking? Thank you for help.
Jarek
  • 7,425
  • 15
  • 62
  • 89
3
votes
4 answers

add an export wizard to eclipse RCP standalone Application

Hi I'm trying to add an export wizard, similar to the export wizard available in Eclipse to a standalone RCP Application. I put the following code in plugin.xml:
Protostome
  • 5,569
  • 5
  • 30
  • 45
3
votes
2 answers

What is the best way to learn Eclipse RCP? Does it feel different to only me?

I am used to structural programming (eg:C), OO programming(eg:Java), Scripting(eg:Javascript), Web (eg:HTML,JSP,Servlets,CSS) etc. Now, when I am getting started with Eclipse RCP plugin development, the whole thing gives a strange feel to me in…
Real Red.
  • 4,991
  • 8
  • 32
  • 44
3
votes
1 answer

Difference between IWorkbenchWindow and IWorbenchPage in Eclipse SDK

I still don't get what the difference is between the two. The eclipse docs just say that a window can have many pages, but when does that happen? Under what circumstances is the number of pages more than one?
pdeva
  • 43,605
  • 46
  • 133
  • 171
3
votes
2 answers

How to load an IFile and modify the same in eclipse plug-in development

I have an IFile shows the absolute path as /dynamic/WebContent/testing.html I want to make some changes in the above testing.html. It means I need to load the file, then need to modify it and then save it . What is the procedure to execute the…
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
3
votes
2 answers

How to set default answer button in java MessageDialog.openQuestion?

I am writing an eclipse plugin and I am using MessageDialog.openQuestion to pop up a question. The default answer is "Yes" but I want it to be "no". how do I do that?
Yass
  • 63
  • 4
3
votes
3 answers

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:

Recently I have imported a maven project in eclipse oxygen. My build are success but while in pom.xml in tag I am getting some error.The error is "Plugin execution not covered by lifecycle configuration: …
Ashok
  • 31
  • 1
  • 3
3
votes
1 answer

eclipse Command Line Shell plugin

Can anyone tell me which eclipse plugin this is? I've been searching all over the place but I can't find out what it's called. Thanks.
mark
  • 4,678
  • 7
  • 36
  • 46
3
votes
0 answers

Eclipse : Get URL of plug-in's install directory?

I am trying to revive an application which used this.getDescriptor().getInstallURL() and IPluginDescriptor to get the URL path. Issue:- IPluginDescriptor is not compatible with eclipse version 4.12 and later, so I need an alternative method to get…
Karan Gaur
  • 809
  • 7
  • 20
3
votes
1 answer

XText: use custom terminals definitions

I'm totally new to XText. When you define a grammar using XText you could specify a second grammar and use the definitions it declares as it is said here: grammar org.eclipse.xtext.example.Domainmodel with org.eclipse.xtext.common.Terminals In…
hara
  • 3,274
  • 4
  • 37
  • 55
3
votes
5 answers

How to refer a file from jar file in eclipse plugin

I have created an eclipse plugin and I wanted to deploy during eclipse runtime. I have below package structure. com.myplugin | ---resources | ---server.bat As part of the plugin job, "server.bat" file should be executed. I…
Sebastian
  • 61
  • 2
  • 9
3
votes
1 answer

How to delete IMarkers after editor closed ( or why isnt the IMarker.TRANSIENT property working)?

I'm writing a custom editor in Eclipse and just integrated custom error recognition. Now I'm facing a strange issue: I can add Markers to my editor that get displayed all fine, I can also delete them while the editor is running. What doesn't work:…
Jakob Sachs
  • 669
  • 4
  • 24
1 2 3
99
100