Adding comonent to right of status bar (like position/locked/memmonitor

I'd like to add a component in beside the current row/col component at the right of the status bar (where the memory monitor, locked status, highlight config, etc. components live). This would function like the position component being on a per-file basis.

I can't find any reference to this component area in the OpenAPI.

6 comments

Hello Pete,

PH> I'd like to add a component in beside the current row/col component
PH> at the right of the status bar (where the memory monitor, locked
PH> status, highlight config, etc. components live). This would function
PH> like the position component being on a per-file basis.
PH>
PH> I can't find any reference to this component area in the OpenAPI.

There are no APIs for adding status bar components in IDEA 5.0/5.1.

Could you please describe in some more detail what would you like to show
in the status bar, so that we could better estimate the possibility to add
such an API in IDEA 6.0.?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

I'm looking at developing a plugin that tracks real lines-of-code (LOC) at various levels (i.e. excluding comments/blank-lines/multiline/etc. - I'm don't want a discussion on what denotes a LOC, that will be configurable).

One aspect of this is to show a component next to the row/col component that simply says something like

LOC: 1004

As you may see from another question I have posted I'd also like to be able to show the LOC in the project and package views. Other functionality would be to be able to take a snapshot at any time and then at a future time generate a diff to see where LOC has changed throughout the project.

0

Hello Pete,

PH> I'm looking at developing a plugin that tracks real lines-of-code
PH> (LOC) at various levels (i.e. excluding
PH> comments/blank-lines/multiline/etc. - I'm don't want a discussion on
PH> what denotes a LOC, that will be configurable).
PH>
PH> One aspect of this is to show a component next to the row/col
PH> component that simply says something like
PH>
PH> LOC: 1004

This is a very reasonable use of the status bar. :) Please file a JIRA request
in http://www.jetbrains.net/jira/, and we'll implement it in IDEA 6.0.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Nice one. You may be interested in the MetricsReloaded plugin, which does the sort of calculations you described (and a few hundred more). Currently it's batch-mode only, with tabular and graphical displays, but I really like the IDEA of optionally having metrics information in the status bar. I'm less certain about having it in the project panel, both for reasons of clarity and performance, but it's certainly worth considering.

Sixth and Red River Software
"Code with Grace and Verve"

0

ofcourse we'll want to be able to implement our own Hectors as well ;)

0

Please sign in to leave a comment.