[ANN] PropertiesEditor Plugin 1.0.5

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice in plugin configuration page)

  • Major improvements and bug fixes


Please use File associations with care!!! (I'll examine PLUS plugin and probaly will migrate to it implementation)

TIA,
Dmitry

21 comments
Comment actions Permalink

Did I mention you're great?

0
Comment actions Permalink

Cool.

Intentions are cool, Alt+F2 is cool.

Any idea why Intentions don't show up when Alt+Enter is pressed like in
other places?

Amnon

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry



0
Comment actions Permalink

I take my question back. It seems IntelliJ doesn't show the intentions on
Alt+Enter when the file is read only...

Amnon
"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:c494tq$ogv$1@is.intellij.net...

Cool.

>

Intentions are cool, Alt+F2 is cool.

>

Any idea why Intentions don't show up when Alt+Enter is pressed like in
other places?

>

Amnon

>

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read

notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry

>
>


0
Comment actions Permalink

Suggestion: In the intentions for a duplicate entry, add 'Remove other
duplicated entries' and 'Comment other duplicated entries'.

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry



0
Comment actions Permalink

No :( I'll investigate it.

TIA,
Dmitry

0
Comment actions Permalink

Hi,
How about File Associations? Any suggestions?

TIA,
Dmitry

0
Comment actions Permalink

Hi,
Thanks for your suggestions they all very useful. Keep generating this way.

TIA,
Dmitry

0
Comment actions Permalink

What do you mean?

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

Hi,
How about File Associations? Any suggestions?

>

TIA,
Dmitry



0
Comment actions Permalink

Another small issue:

Even when the file is changed and saved, the star that denotes "modified"
stays on the tab.

Amnon

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry



0
Comment actions Permalink

While using the properties editor I noticed that at least in my case an
entry either had redundant escaping of quotes or a path. Even if that's not
always the case, it might be useful to have the following intentions in case
of an error in escaping:
1. Remove all \ in entry
2. Escape all \ in entry
3. Remove all \ before the same character in entry
4. Escape all \ before the same character in entry.

Also, are you parsing the whole file on every change? can you describe in a
paragraph how you parse it? It seems that it is improvable, but I don't want
both of us or anyone else to waste time over suggestions of things you
already did...

Thanks again for a cool plug-in.

Amnon

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry



0
Comment actions Permalink

Hi,

I'll look at intentions, thanks.

After editing I'm reparse changed part with one enclosing property items before and after changed area. (It appear in latest build and may not work as I'm expected)

Reparsing seems fast, but may be delay in 0,5-1 second (don't remenber exactly) after stopping editing looks like slowdown? It's specified by default timeout.

TIA,
Dmitry

0
Comment actions Permalink

Hi,
I mean
"Apart from slowness when there are a lot of properties, is it possible to
integrate it more with IntelliJ in terms of:
1. icon of tab will be different than text files."

and

"Another request - settings for which files should be considered as property
files (or auto detection when opening text files)."

I think it implemented(partially) and need some feedback.

TIA,
Dmitry

0
Comment actions Permalink

Oh.

I am not fluent in InteliiJ-Pluginish...

What I meant was to set which files should be opened with the property file
editor.

If IntelliJ doesn't allow you to set the icon, then this is a request for a
new API...

Thanks,
Amnon

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

Hi,
I mean
"Apart from slowness when there are a lot of properties, is it possible to
integrate it more with IntelliJ in terms of:
1. icon of tab will be different than text files."

>

and

>

"Another request - settings for which files should be considered as

property

files (or auto detection when opening text files)."

>

I think it implemented(partially) and need some feedback.

>

TIA,
Dmitry



0
Comment actions Permalink

Sweet!

I'm still hoping to be able to navigate between (non-commented out)
properties with Alt-Up / Alt-Down someday :)

Also, having an option (button) on the tree to be able to sort
properties by name would be great!

Thanks,

Vince.

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

Changes

  • Large files editing speed improvements

  • Comment line action like in other editors

  • Split key value(Ctrl+Enter on key value)

  • Goto next/previous duplicated property (AltF2/AltShift+F2)

  • Intentions to fix escaping issues in property names and values

  • Intentions to fix duplicated properties issues

  • File extensions association with PropertiesEditor (carefully read notice

in plugin configuration page)

  • Major improvements and bug fixes

>

Please use File associations with care!!! (I'll examine PLUS plugin and

probaly will migrate to it implementation)
>

TIA,
Dmitry



0
Comment actions Permalink

Hi,
I'll translate ;) :
This feature implemented and I'm interested your opinion to implemention(have you look at plugin settings page?)

TIA,
Dmitry

0
Comment actions Permalink

Hi,
After second request it most probaly will be implemented :) Just interesting why simple Up down actions doesn't fit?

Tree navigation sorted by name after first parse and after editing order become broken :( But I'm hope in near future I'll address navigation tree improvements.

TIA,
Dmitry

0
Comment actions Permalink

After second request it most probaly will be implemented :) Just

interesting why simple Up down actions doesn't fit?

When you have a lot of comments between properties it
becomes more difficult to quickly navigate through all the
properties in a long properties file. The same way Alt-Up/Alt-Down
are a great way to navigate between methods in Java compared
to the slow up/down actions.

Thanks :)

Vince.


0
Comment actions Permalink

Dmitry,

it seems that PE 1.0.5 breaks the Java intention mechanism.

Without PE 1.0.5 installed, I can type:
StringWriter foo = |
and IDEA pops up the little blue box, alt-enter to import the class
and I can keep going.

With PE 1.0.5 installed, the little blue box pops up but alt-enter
does nothing (little blue box disappears briefly but comes back
without importing the class).

I think it used to work fine with 1.0.4

Does PE have anything to do with the Java editor anyways?

Thanks,

Vince.


0
Comment actions Permalink

Silly me...

There are so many icons there that I missed yours :)

If that's the only way you could do it (both for the highlighting and for
the file types) then I think you should ask JetBrains for APIs.

The way it is now is not consistent with the application, as there are File
Types settings and Colors and Fonts settings already that you should be able
to integrate to.

Thanks for doing this functionality, but it shouldn't stop here.

Imagine another plug-in writer doing some other hacks, etc. It could easily
cause plug-ins to clash with each other and cause each-other hacks to fail.

Until this is possible through normalized APIs, this is cool.

Amnon

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

Hi,
I'll translate ;) :
This feature implemented and I'm interested your opinion to

implemention(have you look at plugin settings page?)
>

TIA,
Dmitry



0
Comment actions Permalink

I thought I saw that too, but it seems that if the file is read-only,
IntelliJ doesn't respect Alt+Enter.

Amnon

"Vincent Mallet" <xmalletva@tripos.com> wrote in message
news:c4a545$q1s$1@is.intellij.net...

Dmitry,

>

it seems that PE 1.0.5 breaks the Java intention mechanism.

>

Without PE 1.0.5 installed, I can type:
StringWriter foo = |
and IDEA pops up the little blue box, alt-enter to import the class
and I can keep going.

>

With PE 1.0.5 installed, the little blue box pops up but alt-enter
does nothing (little blue box disappears briefly but comes back
without importing the class).

>

I think it used to work fine with 1.0.4

>

Does PE have anything to do with the Java editor anyways?

>

Thanks,

>

Vince.

>
>


0
Comment actions Permalink

Hi,
I'm just write wrappers for standard actions they substitute default functionality only in my editors.

Can you investigate this problem?

TIA,
Dmitry

0

Please sign in to leave a comment.