Eclipse Plugin Development — Creating your first plugin

James Tapsell
Jrtapsell
Published in
1 min readMay 4, 2017

Creating a first plugin (an XML highlighter) using the examples provided

Previous: Setup

First open Eclipse
Then click File > New > Project
Expand Plugin-in Development
Select Plug-in Project and click Next
Give your plugin a name and press Next
Set your plugin details and tick the Generate an activator option, then press Next
Select Plug-in with an editor and press Next
Set the details for your editor, setting the file extension to demo
When asked about the Plug-in Development Perspective, answer yes

Click Run and then select Eclipse Application
Close the first tab and create a new general project
Create a new file called example.demo and write some XML to see your highlighter in action

You now have a basic text editor plugin working

--

--