[ANN] PropertiesEditor Plugin 1.0.4

Change notes

  • Goto declaration by property name or value(based on resolve class name by text)

  • Find usages improvements(file type aware search, progress display, search targets selection etc)

  • Small improvements and minor bug fixes


TIA,
Dmitry

0
19 comments
Avatar
Permanently deleted user

Dmitry Kashin wrote:

Change notes

  • Goto declaration by property name or value(based on resolve class name by text)

  • Find usages improvements(file type aware search, progress display, search targets selection etc)

  • Small improvements and minor bug fixes


TIA,
Dmitry

I have a couple of largish property files that contain up to 4000 keys.
They are very slow to work with, due to reparsing after the smallest change. I press a key, and wait a couple of seconds before i
can press another key.
Could you perhaps make parsing faster, or delay parsing until x milliseconds after change, much like IDEA itself does?

/Kreiger

0
Avatar
Permanently deleted user

This looks very promissing.

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.
2. In Colors and Fonts settings there will be a tab for property files just
like there is for Java, text, etc. so that it will be possible to change the
syntax highlighting in property files.

Other requests:
1. When there's a duplicated symbol, can you show all duplicates or allow
for an intention to delete duplicates?
2. When there's the escaping error, can you have an intention to remove it?

Kudos for this very useful plug-in,

Amnon

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

Change notes

>

  • Goto declaration by property name or value(based on resolve class name

by text)

  • Find usages improvements(file type aware search, progress display,

search targets selection etc)

  • Small improvements and minor bug fixes

>

TIA,
Dmitry



0
Avatar
Permanently deleted user

Another request:

In Properties Editor it seems that the bottom indicators and tools (e.g.
read only lock) are not available and it would be nice to have them.

Amnon

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

This looks very promissing.

>

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.
2. In Colors and Fonts settings there will be a tab for property files

just

like there is for Java, text, etc. so that it will be possible to change

the

syntax highlighting in property files.

>

Other requests:
1. When there's a duplicated symbol, can you show all duplicates or allow
for an intention to delete duplicates?
2. When there's the escaping error, can you have an intention to remove

it?
>

Kudos for this very useful plug-in,

>

Amnon

>

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

Change notes

>

  • Goto declaration by property name or value(based on resolve class name

by text)

  • Find usages improvements(file type aware search, progress display,

search targets selection etc)

  • Small improvements and minor bug fixes

>

TIA,
Dmitry

>
>


0
Avatar
Permanently deleted user

Hi,
Unfortunately it's not possible in OpenAPI for now.

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hi,
Now delay exists by probably it's slow and I'll increase it. May be I'll rework parser.

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hi,
Can you send it to me? Artifical files not so good :(

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hi,

Adding to system settings not possible now as a access to it from Open API.
Icon probably will be added.

Intentions most likely will be added. What fix you suggest for remove escaping error remove all error or just escaping flag symbol?

TIA,
Dmitry

0
Avatar
Permanently deleted user

There are 2 things that might translate to bad escaping:

1. Escaping that is not needed or erroneous (e.g. \").
2. An entry that contains a path (i.e. requires that the \ will be escaped).

I think that the intension should contain a solution to both cases if they
can't be differentiated and the relevant one if they can be.
For example, if the escaping is \", it surely doesn't belong to a path and
thus the intension should be "remove escape character".
Understanding if something is a path or not is a little trickier but might
still be possible. The initial intension (before the smarts to understand
the difference between the 2 cases is added) is just to have "remove escape
character" and "escape \". The 1st one would delete the backslash and the
second will double it.

Amnon

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

Hi,

>

Adding to system settings not possible now as a access to it from Open

API.

Icon probably will be added.

>

Intentions most likely will be added. What fix you suggest for remove

escaping error remove all error or just escaping flag symbol?
>

TIA,
Dmitry



0
Avatar
Permanently deleted user

Dmitry Kashin wrote:

Hi,
Can you send it to me? Artifical files not so good :(

TIA,
Dmitry


I can. What's your e-mail-address?

/Kreiger

0
Avatar
Permanently deleted user

Hi,
You can find it in plugin descriptor. Not published here, sorry spammers :(

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hi,
Autodetect pathes is not so obvious even for human :)
Intention invoke is longer than just press \ or backspace but anyway I'll implement this feature by 2 separate intentions.

TIA,
Dmitry

0
Avatar
Permanently deleted user

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

Amnon

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

Hi,
Autodetect pathes is not so obvious even for human :)
Intention invoke is longer than just press \ or backspace but anyway I'll

implement this feature by 2 separate intentions.
>

TIA,
Dmitry



0
Avatar
Permanently deleted user

Hi,
Probably it will be extensions enumeration, and additionally if file not registered I'll try load it as Properties file and if it successfully open it in custom editor. But second part must be optional as I see.

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hm, there aren't many differences with a simple text editor :( What about the SunONE's way of editing properties + multiple languages support ? That's what a properties editor should look like. Sorry, but it looks totaly useless for me.

0
Avatar
Permanently deleted user

It becouse of weather :))
I find them good anyway! :)


0
Avatar
Permanently deleted user

Hey Dmitry,

it would be nice to have the caret jump to the
right property in the file when clicking on a property
name in the property tree. Right now the editor
scrolls to the property but the caret doesn't move.

Thanks,

Vince.


0
Avatar
Permanently deleted user

Hi,
Thanks for suggestion now I understand what's wrong with navigation ;) Of course will be implemented.

TIA,
Dmitry

0
Avatar
Permanently deleted user

Hi,
Is it mean that focus must be transfered to editor? Where to place caret in line?

TIA,
Dmitry

0
Avatar
Permanently deleted user

Is it mean that focus must be transfered to editor? Where to place caret

in line?

Actually, I think it already works..

When clicking on the property name in the tree, the caret should
move to the beginning of property name in the editor. If it is a
dotted propety, then it should move before the property name
itself, i.e.

Click on "someproperty" under com/intellij/ in the
tree, have the caret go to:

com.intellij.|someproperty = foo

The focus should stay on the tree though. Pressing tab or
ESC should give focus back to the editor with the caret
on the right position.

Now, being able to go back to the tree from the editor with
shit-tab or something would be useful.

Thanks,

Vince.


0

Please sign in to leave a comment.