[ANN] PropertiesEditor Plugin 1.5.1e

Changes:

  • Reported speed issue fixed

  • Reported caret jumping issue fixed

  • Reported tree issues fixed(not tokenable keys represented by one node)


More detailed plugin info:

PropertiesEditor plugin adds to core IDEA features ability to edit properties files
with almost same level of convenience like with native editors and supports:
highlighting, navigation, find usages, intentions, bundle editing mode and other IDEA wrapped standard
and properties files specific features.

List of PropertiesEditor features:
======================

-


Editor
-



- Properties files editing with syntax highlighting
- Customizable editor colors and fonts
- Splitting the current Editor pane (for parallel editing of two different files from bundle,
first file fixed, second can be chenged from bundle items)
- Error stripe error and warnings markers with navigation by mouse click to source
- View all key values in bundle(Shift+F4 anywhere in key)
- Quick code commenting/uncommenting, with a single key-stroke (supports line comments)
- Split key value(Ctrl+Enter on key value)

-


On-the-Fly Code Analysis
-



- Intelligent error highlighting
- Selected error description(Ctrl+F1)
- Intention actions indicator gives you reasonable suggestions on a suspicious code and
allows to fix common problems:

  • Fix escaping issues in property names and values(remove escaping or escape wrong character)

  • Fix duplicated properties issues(remove/comment selected duplication, remove/comment other duplications duplication)


-


Navigation tree
-



- Contains hierarchical(with selectable delimiter, '.' - by default) view of properties file keys
- Highlighting of not fully translated key(up to root) with navigation:

  • Next/Previous not fully translated key node(sibling) in tree (F2/Shift+F2)

  • Exact next/previous not fully translated propery navigation in tree(CtrlF2/CtrlShift+F2)

- Selected in structure tree key status visualization for bundle mode(under the tree):

  • Key status highlighting(red - bundle item where current key not present, black - where current key present,

greyed - selected tree node not key but just part of key name)

  • Select second editor from bunle item list

- Configurable autoscroll to source option
- Transfer focus to editor on double-click on key tree node
- SpeedSearch (IDEA feature)

-


Navigation
-



- Next/previous highlighted error navigation(F2/Shift+F2)
- Next/previous duplicated property(AltF2/AltShift+F2)
- Next/previous property navigation(AltDown/AltUp)
- Synchronized key navigation in editor(between splitted bundle item editors)

-


Search and Replace
-



- Project-wide usage search(file type aware search, progress display, search targets
selection etc) (Alt+F7 on property name)



TIA,
Dmitry

17 comments
Comment actions Permalink

I know plugin info looks so familiar but it only way I can collect all plugin features list.

:)

0
Comment actions Permalink

We're getting there!

Initial loading and editing was much faster (around 5-6 seconds).

But. I did a source control check-out and got the huge time of 100% CPU
again.

Attached is the log file with the check out, and then uncheck out which was
a lot faster.

Our source control is not in this office so it takes time to check the file
out, hopefully that's a clue for you.

Regards,
Amnon

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:33452772.1082410606041.JavaMail.javamailuser@localhost...

Changes:

>

  • Reported speed issue fixed

  • Reported caret jumping issue fixed

  • Reported tree issues fixed(not tokenable keys represented by one node)

>

More detailed plugin info:

>

PropertiesEditor plugin adds to core IDEA features ability to edit

properties files

with almost same level of convenience like with native editors and

supports:

highlighting, navigation, find usages, intentions, bundle editing mode and

other IDEA wrapped standard

and properties files specific features.

>

List of PropertiesEditor features:
======================

>

------
Editor
------

>

- Properties files editing with syntax highlighting
- Customizable editor colors and fonts
- Splitting the current Editor pane (for parallel editing of two different

files from bundle,

first file fixed, second can be chenged from bundle items)
- Error stripe error and warnings markers with navigation by mouse click

to source

- View all key values in bundle(Shift+F4 anywhere in key)
- Quick code commenting/uncommenting, with a single key-stroke (supports

line comments)

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

>

------------------------
On-the-Fly Code Analysis
------------------------

>

- Intelligent error highlighting
- Selected error description(Ctrl+F1)
- Intention actions indicator gives you reasonable suggestions on a

suspicious code and

allows to fix common problems:

  • Fix escaping issues in property names and values(remove escaping or

escape wrong character)

  • * Fix duplicated properties issues(remove/comment selected duplication,

remove/comment other duplications duplication)
>

---------------
Navigation tree
---------------

>

- Contains hierarchical(with selectable delimiter, '.' - by default) view

of properties file keys

- Highlighting of not fully translated key(up to root) with navigation:

  • Next/Previous not fully translated key node(sibling) in tree

(F2/Shift+F2)

  • * Exact next/previous not fully translated propery navigation in

tree(CtrlF2/CtrlShift+F2)

- Selected in structure tree key status visualization for bundle

mode(under the tree):

  • * Key status highlighting(red - bundle item where current key not

present, black - where current key present,

greyed - selected tree node not key but just part of key name)

  • Select second editor from bunle item list

- Configurable autoscroll to source option
- Transfer focus to editor on double-click on key tree node
- SpeedSearch (IDEA feature)

>

----------
Navigation
----------

>

- Next/previous highlighted error navigation(F2/Shift+F2)
- Next/previous duplicated property(AltF2/AltShift+F2)
- Next/previous property navigation(AltDown/AltUp)
- Synchronized key navigation in editor(between splitted bundle item

editors)
>

------------------
Search and Replace
------------------

>

- Project-wide usage search(file type aware search, progress display,

search targets

selection etc) (Alt+F7 on property name)

>
>
>

TIA,
Dmitry






Attachment(s):
idea.log
0
Comment actions Permalink

- Project-wide usage search(file type aware search,
progress display, search targets
selection etc) (Alt+F7 on property name)


Well... now it only lacks support for shift-f6 (rename on a global project basis)! ;)

This plugin is quickly becoming one of the best IDEA plugins, very good job, Dmitry.

0
Comment actions Permalink

Hi,
Actually this feature exist very long time and lack of feedback on it and some others was the reason of plugin description creation. :)

TIA,
Dmitry

0
Comment actions Permalink

Are you saying that replace exists?!? alt-f7 is only for searching, isn't it?

(btw.: issues with a. properties that override a=foo ones, and delete them even when a.b=bar is written do already exist., but I can definitely live with it ;)

0
Comment actions Permalink

Hi,
I mean Alt+F7 of course renaming is dangerous.
It was bug report? Can you provide more detailed example.

TIA,
Dmitry

0
Comment actions Permalink

Why is renaming dangerous? I was thinking about a "global rename" for the property: I constantly find myself using ctrl-shift-r to do global replaces, the functionality should do the same thing, but without the need to insert the original property name (only the new name should be inserted).

Yes, it is a bug report, but I've already told you about it: if you write
a.
the label in the tree for "a" gets emptied, and when I add the next part and change it to
a.b=foo, the label is not rewritten in the tree ("a" remains without label).

Also, playing a little bit with situations where I press enter in the middle of a property name such as a.b.c=foo, thus creating situations such as "a." and "b.c=foo", then erasing one of the two, often causes missing properties in the tree: sometimes if I readd the property which I've erased, the property does not appear anymore in the tree.

0
Comment actions Permalink

Hi,
Same property names can be in different files.

About bug report:
It must be fixed in last build :( Do you really use 1.5.1e? 'a.' not tokenized and not intersected with 'a.b' in this build(I'm hope so).

TIA,
Dmitry

0
Comment actions Permalink

Nice plugin, thanks!

When I view a properties file, the normal details in the status bar disappear. That is, I no longer see any line/column info, read-only indicator, insert/overwrite setting, etc. Is this a known issue?

thanks,

chris

0
Comment actions Permalink

Hi,
Yes and not resolvable with current OpenAPI :(

TIA,
Dmitry

0
Comment actions Permalink

Hi Dimitry,

According to the download dialog version maximum, the plugin should work
with 4.1, but although it works for me on 4.0.3, it does not on 2002. I
just get a blank gray area in the editor.

Thanks,
Jon

0
Comment actions Permalink

About bug report:
It must be fixed in last build :( Do you really use
1.5.1e? 'a.' not tokenized and not intersected with
'a.b' in this build(I'm hope so).


Uhm... I updated today, so I think so... but I'll check tomorrow (I'm not on my development pc right now).

0
Comment actions Permalink

Same property names can be in different files.


Ah, ok, this could be dangerous, of course, but so is doing a global rename in files, which is anyway possible: shouldn't the plugin offer it as an option? Anyway it's not a big deal.

0
Comment actions Permalink

Hi,
It compatible with latest EAP version 2008.

TIA,
Dmitry

0
Comment actions Permalink

Oh, well-- I'll have to wait until a new EAP release since 2008
introduced new problems for my project compared to 2002.

Thanks,
Jon

Dmitry Kashin wrote:

Hi,
It compatible with latest EAP version 2008.

TIA,
Dmitry

0
Comment actions Permalink

Is there anything new about the slowness issue?

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

We're getting there!

>

Initial loading and editing was much faster (around 5-6 seconds).

>

But. I did a source control check-out and got the huge time of 100% CPU
again.

>

Attached is the log file with the check out, and then uncheck out which

was

a lot faster.

>

Our source control is not in this office so it takes time to check the

file

out, hopefully that's a clue for you.

>

Regards,
Amnon

>

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:33452772.1082410606041.JavaMail.javamailuser@localhost...

Changes:

>

  • Reported speed issue fixed

  • Reported caret jumping issue fixed

  • Reported tree issues fixed(not tokenable keys represented by one node)

>

More detailed plugin info:

>

PropertiesEditor plugin adds to core IDEA features ability to edit

properties files

with almost same level of convenience like with native editors and

supports:

highlighting, navigation, find usages, intentions, bundle editing mode

and

other IDEA wrapped standard

and properties files specific features.

>

List of PropertiesEditor features:
======================

>

------
Editor
------

>

- Properties files editing with syntax highlighting
- Customizable editor colors and fonts
- Splitting the current Editor pane (for parallel editing of two

different

files from bundle,

first file fixed, second can be chenged from bundle items)
- Error stripe error and warnings markers with navigation by mouse click

to source

- View all key values in bundle(Shift+F4 anywhere in key)
- Quick code commenting/uncommenting, with a single key-stroke (supports

line comments)

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

>

------------------------
On-the-Fly Code Analysis
------------------------

>

- Intelligent error highlighting
- Selected error description(Ctrl+F1)
- Intention actions indicator gives you reasonable suggestions on a

suspicious code and

allows to fix common problems:

  • Fix escaping issues in property names and values(remove escaping or

escape wrong character)

  • * Fix duplicated properties issues(remove/comment selected

duplication,

remove/comment other duplications duplication)
>

---------------
Navigation tree
---------------

>

- Contains hierarchical(with selectable delimiter, '.' - by default)

view

of properties file keys

- Highlighting of not fully translated key(up to root) with navigation:

  • Next/Previous not fully translated key node(sibling) in tree

(F2/Shift+F2)

  • * Exact next/previous not fully translated propery navigation in

tree(CtrlF2/CtrlShift+F2)

- Selected in structure tree key status visualization for bundle

mode(under the tree):

  • * Key status highlighting(red - bundle item where current key not

present, black - where current key present,

greyed - selected tree node not key but just part of key name)

  • Select second editor from bunle item list

- Configurable autoscroll to source option
- Transfer focus to editor on double-click on key tree node
- SpeedSearch (IDEA feature)

>

----------
Navigation
----------

>

- Next/previous highlighted error navigation(F2/Shift+F2)
- Next/previous duplicated property(AltF2/AltShift+F2)
- Next/previous property navigation(AltDown/AltUp)
- Synchronized key navigation in editor(between splitted bundle item

editors)
>

------------------
Search and Replace
------------------

>

- Project-wide usage search(file type aware search, progress display,

search targets

selection etc) (Alt+F7 on property name)

>
>
>

TIA,
Dmitry

>
>
>


0
Comment actions Permalink

OK, trying now...
"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:c64am9$nb$1@is.intellij.net...

Is there anything new about the slowness issue?

>

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

We're getting there!

>

Initial loading and editing was much faster (around 5-6 seconds).

>

But. I did a source control check-out and got the huge time of 100% CPU
again.

>

Attached is the log file with the check out, and then uncheck out which

was

a lot faster.

>

Our source control is not in this office so it takes time to check the

file

out, hopefully that's a clue for you.

>

Regards,
Amnon

>

"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:33452772.1082410606041.JavaMail.javamailuser@localhost...

Changes:

>

  • Reported speed issue fixed

  • Reported caret jumping issue fixed

  • Reported tree issues fixed(not tokenable keys represented by one

node)

>

More detailed plugin info:

>

PropertiesEditor plugin adds to core IDEA features ability to edit

properties files

with almost same level of convenience like with native editors and

supports:

highlighting, navigation, find usages, intentions, bundle editing mode

and

other IDEA wrapped standard

and properties files specific features.

>

List of PropertiesEditor features:
======================

>

------
Editor
------

>

- Properties files editing with syntax highlighting
- Customizable editor colors and fonts
- Splitting the current Editor pane (for parallel editing of two

different

files from bundle,

first file fixed, second can be chenged from bundle items)
- Error stripe error and warnings markers with navigation by mouse

click

to source

- View all key values in bundle(Shift+F4 anywhere in key)
- Quick code commenting/uncommenting, with a single key-stroke

(supports

line comments)

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

>

------------------------
On-the-Fly Code Analysis
------------------------

>

- Intelligent error highlighting
- Selected error description(Ctrl+F1)
- Intention actions indicator gives you reasonable suggestions on a

suspicious code and

allows to fix common problems:

  • Fix escaping issues in property names and values(remove escaping

or

escape wrong character)

  • * Fix duplicated properties issues(remove/comment selected

duplication,

remove/comment other duplications duplication)
>

---------------
Navigation tree
---------------

>

- Contains hierarchical(with selectable delimiter, '.' - by default)

view

of properties file keys

- Highlighting of not fully translated key(up to root) with

navigation:

  • * Next/Previous not fully translated key node(sibling) in tree

(F2/Shift+F2)

  • * Exact next/previous not fully translated propery navigation in

tree(CtrlF2/CtrlShift+F2)

- Selected in structure tree key status visualization for bundle

mode(under the tree):

  • * Key status highlighting(red - bundle item where current key not

present, black - where current key present,

greyed - selected tree node not key but just part of key name)

  • Select second editor from bunle item list

- Configurable autoscroll to source option
- Transfer focus to editor on double-click on key tree node
- SpeedSearch (IDEA feature)

>

----------
Navigation
----------

>

- Next/previous highlighted error navigation(F2/Shift+F2)
- Next/previous duplicated property(AltF2/AltShift+F2)
- Next/previous property navigation(AltDown/AltUp)
- Synchronized key navigation in editor(between splitted bundle item

editors)
>

------------------
Search and Replace
------------------

>

- Project-wide usage search(file type aware search, progress display,

search targets

selection etc) (Alt+F7 on property name)

>
>
>

TIA,
Dmitry

>
>
>

>
>


0

Please sign in to leave a comment.