First of all: Thanks a lot for this really cool tool. I think this will
help me use eclipse, as eclipse itself is way to sluggish for me.
Unfortunately I am not sure about the best practice using eclim.
Specially in the ProjectTree I seem to have some problems:
- Using "H" gets me to the home-directory. I can use "C" to change into
any existing subdirectory, which works ok. But If I am inside a
directory managed by eclipse, "C" gives me the error-message "Not a
directory or directory may have been removed.". Did I do something
wrong? The directory definitely exists.
- Is there a button in the ProjectTree to get back to the root-Directory
of the current open project?
- What is the best practice to create a new subdirectory from within the
ProjectTree? I didn't find a key to create a new subdirectory. The best
I found would be using "s", creating the directory in the shell, and
then refreshing the directory via "R". But this seems very complicated.
- What is the best practice to create a new file in a given directory.
There doesn't seem to be a key to create a new file in the ProjectTree.
Only possiblity seems to be to use "C" to change to the given directory (which
doesn't work at the moment inside a project) and then open a new file via ":e
newfile.ext".
I tried to find the answers to this questions using the documentation on
the eclim homepage. But I didn't find anything. Maybe some sort of HOWTO
or Tutorial would be cool. Maybe I could write one myself later. Right
now nevertheless I don't know the answers! :)
Thanks in advance.
Greeting
--
cu
--== Jerri ==--
Homepage: http://www.jerri.de/ ICQ: 54160208
Public PGP Key: http://www.jerri.de/jerris_public_key.asc
This is definitely a bug. I'm surprised no one has reported it before
now. I'll get this fixed fairly soon.
> - Is there a button in the ProjectTree to get back to the root-Directory
> of the current open project?
There currently isn't but there probably should be. I'll add this to
my todo list.
> - What is the best practice to create a new subdirectory from within the
> ProjectTree? I didn't find a key to create a new subdirectory. The best
> I found would be using "s", creating the directory in the shell, and
> then refreshing the directory via "R". But this seems very complicated.
>
> - What is the best practice to create a new file in a given directory.
> There doesn't seem to be a key to create a new file in the ProjectTree.
> Only possiblity seems to be to use "C" to change to the given directory (which
> doesn't work at the moment inside a project) and then open a new file via ":e
> newfile.ext".
My intention for ProjectTree is for it to be a read only view into
your project. It's not really designed as a full replacement for the
tree found in eclipse. It's more of a convenience to help visualize
and navigate the project. However, having shortcuts to create
directories and files is a very reasonable request, and I can't think
of any real reason not to have those features. I'll add that to my
todo list.
> I tried to find the answers to this questions using the documentation on
> the eclim homepage. But I didn't find anything. Maybe some sort of HOWTO
> or Tutorial would be cool. Maybe I could write one myself later. Right
> now nevertheless I don't know the answers! :)
I'd love to have more guides or tutorials, and of course contributions
are very welcome. I think one of the things that has made writing a
good tutorial difficult is that vim is such a flexible tool that
everyone seems to have their own take on it and their own usage
patterns and workflows. So aside from showing users how to create a
project and listing the abundance of available commands, the rest is
kind of just using vim as you normally would. I'd like to document
my usage patterns, but I'm afraid that it will just end up as a huge
hunk of text that people just aren't going to want to spend time
reading. I think screencasts are probably the best approach and I've
been meaning to put one together, but I just haven't had the time.
I'm certainly open to ideas on how to make eclim more approachable.
The eclim site could certainly use a visual overhaul as well. If any
web developers have any interest in taking a crack at that, I'd be
immensely appreciative.
--
eric
Thanks a lot for your reply. So I think my questions already did help a
little. Thats great. I would love to contribute to eclim, but
unfortunately I think I don't have enough free time to share.
> > directory managed by eclipse, "C" gives me the error-message "Not a
> > directory or directory may have been removed.". Did I do something
> This is definitely a bug. I'm surprised no one has reported it before
> now. I'll get this fixed fairly soon.
Great. I already check all configuration and wondered what I might have
done wrong.
> My intention for ProjectTree is for it to be a read only view into
> your project. It's not really designed as a full replacement for the
> tree found in eclipse. It's more of a convenience to help visualize
> and navigate the project. However, having shortcuts to create
> directories and files is a very reasonable request, and I can't think
> of any real reason not to have those features. I'll add that to my
> todo list.
I really would love this feature, as the projecttree is very helpful
especially for very deep directory trees. And in my opinion: Only those
deep trees force us to use tools like eclipse. Shortcuts to create new
subtrees and files would be great.
> kind of just using vim as you normally would. I'd like to document
> my usage patterns, but I'm afraid that it will just end up as a huge
> hunk of text that people just aren't going to want to spend time
> reading.
Don't understimate the force. IMHO people using vim tend to also be
interested in reading large and complicated textes. I am very interested
in the usage patterns of other people using vim. There always seems to
be some trick I didn't know vim was able to do. I would love to read
your huge hunks of text. :)
> I think screencasts are probably the best approach and I've
> been meaning to put one together, but I just haven't had the time.
Screencasts are great for beginners. There already are some very good
ones about the basic vim usage. I don't know If they are really suited
for more complicated patterns?! Which doesn't mean, that I would not
like to have some! :)
> I'm certainly open to ideas on how to make eclim more approachable.
Some tutorials on different use cases would be great. eclim has a lot of
functionalities it seems, which I only know about from the documentation
right know. Unfortunately I don't know if I already understand those
possibilites.
Greetings and again thanks for your prompt answers