I've created a plugin from wizard "Plugin with a mutli tab Editor".
Problem: In Project Configuration if I set the File Extension
field to html
, the plugin not works. If I leave it mpe
(pre-inserted field) or I insert another unknown file extension, then it works.
What can cause this problem and how can I activate the plugin for html files?
EDIT: Ok, I'll try to describe step by step my problem.
I create a new Plugin Project
I set project name:
...and the project properties
I create a plugin using template "multi page editor"
Now, I must choose the class names and File Extension (mpe is pre-inserted from eclipse, I leave it for now).
Ok. Eclipse generate all files and a project that works. So, if I test it:
and I create a test project with a test.mpe files
I can see 3 tabs (because 3 tabs are configured in template code) and a default icon on file name test.mpe on Project Explorer. The plugin WORKS!
Now... I close all and I repeat EXACTLY all steps, I using HTML
instead of MPE
, I test it and... there is no tabs and there is no icon.
Why? And How can I solve it?
extensions
attribute ofextension->editor
tag inplugin.xml
file. If I insert, for example "rrr" or another unknown extension, then it works. – Luca Rainonehtml
still not works. With other extensions (r1t
,mpe
etc) then it works. – Luca Rainone