Add new Project View?

Hello guys,

I discovered IDEA last week. After two days working with it I love it a lot!
There are probably just a couple of things I used to have in SlickEdit which I miss in IDEA.
One of them is so called "package view", i.e. you see all project's sources in
packages tree. It's somewhat similar to what you see in Sourcepath view, but it shows
only project's files and it has only one root (all files are combined by their package).

I need this because for my projects I often have source files distributed among several
paths. I rememeber pretty good which package some particular class belongs to, but I don't
remember it's location on file system. So it seems very natural for me to see all my files
under their packages rather than under their paths.

I could not find this feature in IDEA, so I decided to write a plugin for this.
So the question: is it possible to add an additional view to those Project/Sourcepath/Classpath
using openapi? If possible then please how? And please tell me of any possible troubles
I may get into with this plugin.

If this is possible without any plugin please let me know as well :)) It sure will save my time.

Thanks!

--
Dmitry Skavish
http://www.jzox.com
http://www.flashgap.com

10 comments
Comment actions Permalink

This is certainly not an answer to you question but... Have you tried
Ctrl+N? I think it's easiest way to navigate to a class when you know the
name.

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Dmitry Skavish" <dmitry@jzox.com> wrote in message
news:ars62n$24b$1@is.intellij.net...

Hello guys,

>

I discovered IDEA last week. After two days working with it I love it a

lot!

There are probably just a couple of things I used to have in SlickEdit

which I miss in IDEA.

One of them is so called "package view", i.e. you see all project's

sources in

packages tree. It's somewhat similar to what you see in Sourcepath view,

but it shows

only project's files and it has only one root (all files are combined by

their package).
>

I need this because for my projects I often have source files distributed

among several

paths. I rememeber pretty good which package some particular class belongs

to, but I don't

remember it's location on file system. So it seems very natural for me to

see all my files

under their packages rather than under their paths.

>

I could not find this feature in IDEA, so I decided to write a plugin for

this.

So the question: is it possible to add an additional view to those

Project/Sourcepath/Classpath

using openapi? If possible then please how? And please tell me of any

possible troubles

I may get into with this plugin.

>

If this is possible without any plugin please let me know as well :)) It

sure will save my time.
>

Thanks!

>

--
Dmitry Skavish
http://www.jzox.com
http://www.flashgap.com

>


0
Comment actions Permalink

I have thought about this, too. I think the only way is to create
a new panel and reproduce the behavior and menu of the project view.
Not easy, but certainly doable (though any built-in actions that would
normally set focus to the project view would still go to the old one).

Dmitry Skavish wrote:

Hello guys,

I discovered IDEA last week. After two days working with it I love it a
lot!
There are probably just a couple of things I used to have in SlickEdit
which I miss in IDEA.
One of them is so called "package view", i.e. you see all project's
sources in
packages tree. It's somewhat similar to what you see in Sourcepath view,
but it shows
only project's files and it has only one root (all files are combined by
their package).

I need this because for my projects I often have source files
distributed among several
paths. I rememeber pretty good which package some particular class
belongs to, but I don't
remember it's location on file system. So it seems very natural for me
to see all my files
under their packages rather than under their paths.

I could not find this feature in IDEA, so I decided to write a plugin
for this.
So the question: is it possible to add an additional view to those
Project/Sourcepath/Classpath
using openapi? If possible then please how? And please tell me of any
possible troubles
I may get into with this plugin.

If this is possible without any plugin please let me know as well :)) It
sure will save my time.

Thanks!

--
Dmitry Skavish
http://www.jzox.com
http://www.flashgap.com



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

One of them is so called "package view",



I would say that this is one of idea's biggest holes. A plugin that
provides that functionality would be a huge contribution to idea (that's
my motivational speach ;)

0
Comment actions Permalink

One of them is so called "package view", i.e. you see all project's
sources in packages tree.


There is also an SCR to attempt to get IntelliJ to add this feature. You
can vote for it at:

http://www.intellij.net/tracker/idea/viewSCR?publicId=3132

In the meantime, I definitely think a plugin is a good interim step.
That being said, I have not seen any methods exposed for you to add it
to the project window's list of views. It seems it will have to be a
separate tool window.


~Mike

0
Comment actions Permalink

Maxim Shafirov wrote:

This is certainly not an answer to you question but... Have you tried
Ctrl+N? I think it's easiest way to navigate to a class when you know the
name.


It's a matter of convinience. For me it's much more convinient to have a package tree
and to select files from there.

--
Dmitry Skavish
-


Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

0
Comment actions Permalink

Mike Abney wrote:

>One of them is so called "package view", i.e. you see all project's
>sources in packages tree.

>

There is also an SCR to attempt to get IntelliJ to add this feature. You
can vote for it at:


I did with my 50 points. I hope it will do the trick :)

http://www.intellij.net/tracker/idea/viewSCR?publicId=3132

>

In the meantime, I definitely think a plugin is a good interim step.
That being said, I have not seen any methods exposed for you to add it
to the project window's list of views. It seems it will have to be a
separate tool window.


That's a pity. It certanly should be among the project's views. Anyway I
think I will look into this soon and I hope with some results.

--
Dmitry Skavish
-


Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

0
Comment actions Permalink

That's a pity. It certanly should be among the project's views. Anyway I
think I will look into this soon and I hope with some results.


I remember a few requests for adding custom views into Project window. It's
not difficult for us to add this functionality. However, implementing a
really functional view is not an easy task to do. One can start to implement
its own view in a separate tool window and we will add possibility to
incorporate it into the Project window as soon as it becomes more less
functional.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Dmitry Skavish" <dmitry@jzox.com> wrote in message
news:artnfr$inc$1@is.intellij.net...

Mike Abney wrote:

>

>One of them is so called "package view", i.e. you see all project's
>sources in packages tree.

>

There is also an SCR to attempt to get IntelliJ to add this feature. You
can vote for it at:

>

I did with my 50 points. I hope it will do the trick :)

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=3132

>

In the meantime, I definitely think a plugin is a good interim step.
That being said, I have not seen any methods exposed for you to add it
to the project window's list of views. It seems it will have to be a
separate tool window.

>

That's a pity. It certanly should be among the project's views. Anyway I
think I will look into this soon and I hope with some results.

>

--
Dmitry Skavish
-----------------------
Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

>


0
Comment actions Permalink

Another somewhat related feature is the ability to modify the current views
by modifying the appearance of elements displayed in them: change its
color/font or add modifier icons (a la eclipse) to element views based on
the its state (errors, checked in/outofsync, special framework element type
with a different icons,...). I filed this related SCR
http://www.intellij.net/tracker/idea/viewSCR?publicId=4327

Jacques

"Valentin Kipiatkov" <valentin@intellij.com> wrote in message
news:arvjtp$c52$1@is.intellij.net...

That's a pity. It certanly should be among the project's views. Anyway I
think I will look into this soon and I hope with some results.

>

I remember a few requests for adding custom views into Project window.

It's

not difficult for us to add this functionality. However, implementing a
really functional view is not an easy task to do. One can start to

implement

its own view in a separate tool window and we will add possibility to
incorporate it into the Project window as soon as it becomes more less
functional.

>

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>
>

"Dmitry Skavish" <dmitry@jzox.com> wrote in message
news:artnfr$inc$1@is.intellij.net...

Mike Abney wrote:

>

>One of them is so called "package view", i.e. you see all project's
>sources in packages tree.

>

There is also an SCR to attempt to get IntelliJ to add this feature.

You

can vote for it at:

>

I did with my 50 points. I hope it will do the trick :)

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=3132

>

In the meantime, I definitely think a plugin is a good interim step.
That being said, I have not seen any methods exposed for you to add it
to the project window's list of views. It seems it will have to be a
separate tool window.

>

That's a pity. It certanly should be among the project's views. Anyway I
think I will look into this soon and I hope with some results.

>

--
Dmitry Skavish
-----------------------
Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

>

>
>


0
Comment actions Permalink

I remember a few requests for adding custom views into Project window. It's
not difficult for us to add this functionality. However, implementing a
really functional view is not an easy task to do. One can start to implement
its own view in a separate tool window and we will add possibility to
incorporate it into the Project window as soon as it becomes more less
functional.



Is there any chance we can see some example of workable non-trivial view?
Or may be even sources of one of the standard views? It would simplify
the development a lot!

By the way you did a great tool guys! :)

--
Dmitry Skavish
-


Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

0
Comment actions Permalink

Is there any chance we can see some example of workable non-trivial view?


Unfortunately, haven't seen it yet. I hope plugins providing such views will
appear soon.

Or may be even sources of one of the standard views? It would simplify
the development a lot!


Well, in fact standard views use some of yet unpublished APIs. However, it
seems to be possible to implement something like our Project View by use of
Open API + PSI API (unpublished yet, but not scrambled and available for
use, see www.intellij.org). This is non-trivial task though.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Dmitry Skavish" <dmitry@jzox.com> wrote in message
news:as0qk0$nel$1@is.intellij.net...

I remember a few requests for adding custom views into Project window.

It's

not difficult for us to add this functionality. However, implementing a
really functional view is not an easy task to do. One can start to

implement

its own view in a separate tool window and we will add possibility to
incorporate it into the Project window as soon as it becomes more less
functional.

>
>

Is there any chance we can see some example of workable non-trivial view?
Or may be even sources of one of the standard views? It would simplify
the development a lot!

>

By the way you did a great tool guys! :)

>

--
Dmitry Skavish
-----------------------
Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

>


0

Please sign in to leave a comment.