Stefan Falk
Stefan Falk

Reputation: 25555

Eclipse plugin development: Deliver tools (e.g. compiler)

I am going to change the title of this thread as soon as I find a better one..

What I am about to write is a plugin for Eclipse that allows one to create a new project for a specific microcontroller (it's not important which one).

I want this plugin to deliver some tools right on e.g. I want to configure the builder as such that all C files are compiled with SDCC.

Regarding to this project I would like to know

I am new to Eclipse plugin development so any further links to general tutorials regarding to that matter are welcome.

I already found www.eclipsepluginsite.com which was a great help so far.

Thanks for any information.

Upvotes: 1

Views: 109

Answers (2)

Gilbert Le Blanc
Gilbert Le Blanc

Reputation: 51565

How can I provide e.g. the SDCC compiler included inside my plugin?

You don't. You ask the user to provide you a link to the SDCC compiler.

Are there recommended libraries I should take a look at for plugin development?

agad already pointed you to the Vogella tutorials. I've used this book, Eclipse Plug-Ins, to learn Eclipse plug-in development.

Are there any tutorials that show how to configure a plugin such that there is a standard running configuration available (such that e.g. the project is built automatically and can be run by clicking the runner button)

You can take a look at the Eclipse class ImportOperation. It's found in the org.eclipse.ui.ide.source jar. Source jars are included with Eclipse RCP. This class does the actual work of copying objects from the local file system into the Eclipse workspace.

I tried to attach the source code, but an answer can only be 30,000 characters or less.

Upvotes: 1

agad
agad

Reputation: 2189

In my opinion the best tutorials are on Vogella site. I found there nearly all information I needed, when I developed Eclipse plugins.

Upvotes: 1

Related Questions