10 comments
Comment actions Permalink

May be something should be done in the Plug-in API that would provide an
easy way to test for version compatibility?

I am thinking about an API usage registration or another kind of hand shake
that could make IntelliJ know that a plug-in is compatible or not.

Another way of looking at it would be to have an easy and consistent way to
do a unit test of a plug-in in terms of API usage.

Yet another way would be to put versions on different interfaces of the API
including the knowledge of backward compatibility breaks, so that IntelliJ
and the plug-in will see that "hey, I am using version X and you are using
version Y and Y is not backward compatible with X".

There can be 3 levels of backward compatibility:
1. Plug-in usage of interface X with version V will work out of the box.
2. Plug-in needs to be compiled if it uses interface X version V or lower.
3. Plug-in needs code changes if it uses interface X of version V or lower.

If such information is available, either the plug-in or IntelliJ can warn
and disable what needs to be disabled.

I acknowledge that we are in an EAP and that any versioning or mechanism
like that might be too much of an overhead for the EAP process, so we might
just need to step carefully :)

Regards,
Amnon

p.s. The plug-in works great now with 2013!
p.s.2 It would be great if I could ask the plug-in to analyze the usages of
all the entries at once and suggest to remove the unused ones instead of
having to check every entry by itself.

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:511258.1083093214024.JavaMail.itn@is.intellij.net...

Changes:

>

  • One more try to support of Pallada 2013(thanks to Maxim Mossienko)

>

TIA,
Dmitry



0
Comment actions Permalink

I have an entry that is used in an XML.

I can go to that XML through CtrlShiftN (Go To File).

The Properties Editor plugin doesn't find it in the XML.

Am I doing anything wrong?

Thanks,
Amnon
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:511258.1083093214024.JavaMail.itn@is.intellij.net...

Changes:

>

  • One more try to support of Pallada 2013(thanks to Maxim Mossienko)

>

TIA,
Dmitry



0
Comment actions Permalink

Hi,
Is it under source root ot just in project?

TIA,
Dmitry

0
Comment actions Permalink

Hi,

Re: p.s.2
Something like safe delete of unused entries?

TIA,
Dmitry

0
Comment actions Permalink

Yes.
"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:28233950.1083127301623.JavaMail.itn@is.intellij.net...

Hi,

>

Re: p.s.2
Something like safe delete of unused entries?

>

TIA,
Dmitry



0
Comment actions Permalink

It is not under the source root, only under project root.

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:29436145.1083127212737.JavaMail.itn@is.intellij.net...

Hi,
Is it under source root ot just in project?

>

TIA,
Dmitry



0
Comment actions Permalink

I have set the XML file directory to be a source directory and now when I do
a search on an entry in the property file I see the search go through the
XML files but it is still not found.

The entry that I am searching (for example) is CPU_MONITORTYPE_ID
An excerpt from the XML file is:
1.0 CPUMonitor ServerMonitor CPU_DESC_ID CPU_MONITORTYPE_ID What could be wrong now? Also another suggestion - if I could put the cursor on the entry in the XML or Java file and do something like "Search usages as property entry" and have the plug-in search the known property files for this entry and then the rest of the code would be very cool... Anyway, please help me get searching in XML files working (searching in Java files works very well). Thanks, Amnon "Amnon I. Govrin" ]]> wrote in message
news:c6oboi$crn$1@is.intellij.net...

It is not under the source root, only under project root.

>

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:29436145.1083127212737.JavaMail.itn@is.intellij.net...

Hi,
Is it under source root ot just in project?

>

TIA,
Dmitry

>
>


0
Comment actions Permalink

Hi,
Your files must be under content roots. Just add directory with your files as content.

TIA,
Dmitry

0
Comment actions Permalink

Hi,
Search in XML fixed and will be available in next build(will be ready very soon I'm hope if it urgent I can release it after your request)

Second part very hard to implement for now cause now files lazy loading used and this request implementing require parsing of all properties files. I'm not ready for it yet.

TIA,
Dmitry

0
Comment actions Permalink

OK, I am now waiting for the update to try it again :)

Amnon

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:28692233.1083182342072.JavaMail.itn@is.intellij.net...

Hi,
Your files must be under content roots. Just add directory with your files

as content.
>

TIA,
Dmitry



0

Please sign in to leave a comment.