How to create an Eclipse plugin [closed] - eclipse

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
i need a complete tutorial about Eclipse plugin.
My plugin has not a graphical interface, but i need to use his function insiede another plugin or java app. I use eclipse ONLY to load this plugin, but must work in eclipse.
It should be easy, but i don't know how to do this.

I often found Lars Vogel's tutorials really useful and simple. This tutorial may be a good start point but be sure to check out the complete list too.

Very well designed wizards are available in eclipse itself. You just say new->plug-in project, and then after going through the wizard steps you can choose from templates like "plugin with popup menu, or "hello world" and so on. So the answer is simply use wizard.

Both of the older answers are good. Eclipse now has a "cheat sheet" that helps with plugin development. In Eclipse, click Help -> Search, and search for “Creating an Eclipse Plug-in". Among the results here is a “Creating an Eclipse Plug-in" cheat sheet.
Clicking this starts a cheat sheet (wizard) in the UI. I found it very easy to use. The little question marks on the right side of the cheat sheet give additional helpful information.

Related

plugin for a new language [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am developing a development tool for a new language. I can't say the details of the language because the organization applied for patent. I am new to eclipse and plugin development. how can I create a user interface which is similar to cdt or jdt. The first module I have to complete is UI development. Please help me to find some good source which give the jdt ui code.
now i need to change file -> new . when click on new it should give the option to create any type of file i.e. user defined file also can create
If you're new to plugin development, I'd strongly recommend taking a look at Xtext:
http://www.eclipse.org/Xtext/
It is exactly what you are searching for: you give it the BNF of your language, and it gives you an Eclipse build with an editor, syntax highlight, content assist, validation & quick fixes, outlines, etc. (Of course, this is a bit simplified description but that's the idea behind the project.)
What you are asking for is very complex and quite a big task. I think you should start by creating a custom editor with syntax highlighting for your new language. This question may help you get started.

Good tutorials for the awe6 game framework? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Just recently I stumbled upon the awe6 game framework for Haxe and I want to give it a try, but the only "tutorial" on the site is a prebuilt FlashDevelop project template that also appears to be quite complex already.
I've tried to dissect the template but some things are quite weird and I can't figure out why the template seems to work, so I'd rather prefer a tutorial (or at least a very simple "Hello World" example) that sets everything up and runs without assuming a specific IDE. I've also tried Google but almost all of the results were leading back to the FlashDevelop template.
Are there any tutorials/examples/simple demos with source code for awe6 that are not burried in a IDE specific template and are step-by-step and/or otherwise easy to understand?
We are working on a suite of tutorials (and videos). In the meanwhile please see this very simple Hello World example which leads on to the templates (now also available as Linux bash scripts):
http://code.google.com/p/awe6/wiki/ExampleHelloWorld
This isn't exactly an answer, but the framework's author Rob Fell did a presentation a few weeks ago at the WWX conference:
slides
recording
Valerie Elimak's presentation has a couple of good examples http://workshops.elimak.com/awe6june12/

MVC Gui Design Plugin for Eclipse [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am searching for an Eclipse plugin which supports drag and drop functionality to build a GUI
and
supports immediate and automatic embedding within a MVC (model view controller) structure. Any ideas?
WindowBuilder is free, simple and not cumbersome. It also supports binding and synchronization of model pojo objects taking some of the MVC pains away.
I find it quite pleasant to work with as it does not places itself at toe forefront like most other similar editors will. It does not embed strange files that serve no other purposes than to serve the editor, rather it uses directly the java source file as it's backing persistence and it does so in a very clean way compared to say visual Studio with an MFC project.
It does have some quirks though, especially with Maven as some of the dependencies are sometimes hard to find. Personnaly I package them as a single jar and added it dynamically to the build through some clever hacks inspired largely by other members of the present community :-)
Give it a try, may not be the uber cadillac with shiny chromed everything but it does work well and stays out of the way when you don't need it.

Implement "Mark Occurrences" in new Eclipse editor [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am working on an eclipse plugin that implements a new editor. I would like to implement "Mark Occurences" wherein when the cursor is on one variable, all its occurances in the open editor are highlighted. Is there a way to implement this?
Thanks!
You need to implement your own Annotations and display them using your SourceViewer.
Maybe start reading about this here: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/editors_annotations.htm
I don't know if this is what wou want to implement, but there is already an Eclipse plugin that highlights all occurrences for a given text (not only at editor view but in the currently focused view (search results, console, Navigator, outline, etc.), and does incremental text search too. That includes, but is not limited to, variables.
I'm talking about Eclipse Glance.
I know it's been long but if you still want answers, you can refer this.

Use productivity tools in presentations [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I was wondering how people think about using productivity tools like Coderush or Resharper in live demos. Is it a don't and should someone only use the most default settings of the IDE? Or is it ok to speed things up a little during the demo? Also, should you explain you are using this tool during the demo?
I've seen a lot of presentations where people use these tools and personally I don't mind.
Make sure you tell people that are going to be using the tool and then announce the action that you are about to take. e.g. "I'll use Resharper to extract this method into the Foo class"
It really depends on what you want to demonstrate. This kind of productivity tool are usefull even for demos in order to avoid loosing time on basic technical problems. You may also take advantages of such demos to introduce the features of these tools...
I tend to use DevExpress Refactor! Pro, and GhostDoc, when I do code-related presentations. I try to make sure the audience knows what I'm doing by saying out loud what I'm going to do, but I have also built my own custom tool for this, which you can find a beta of here: LVK.ScreenKeys.
Basically the tool will pop up, in the upper right corner of the screen, yellow tooltip/toast-like windows showing the key stroke/sequence I invoked, and also a textual description of what it means, depending on the software it was invoked in.
Before I started using such a tool, I invariably had questions like "what did you do now", and if you don't want to use such a tool (there are others besides mine), I would consider not using more than a few functions of such tools.