плагин дерева проекта для vim [закрыто]

Он отлично работает оракул

merge into table1 t1
using (select * from table2) t2
on (t1.empid = t2.empid)
when matched then update set t1.salary = t2.salary
30
задан BalusC 12 October 2011 в 04:51
поделиться

4 ответа

I have used the Project plugin for quite sometime. I've been fairly happy with it. I did make one modification to mine, so that I can generate tags over a whole project. It's fairly easy to add a new project to the Project window with the "\C" command inside the window. It will prompt you for certain parameters such as path, target directory, project name, and file types to include, then it will recurse the path to find all your files and then display them in the window. Be sure to save it!

The downside of Project plugin is that it only keeps track of files and does not track certain environment variables related per project. Not a big deal if you only have one project. The Project plugin can keep track of multiple projects in it's window by adding more, but you can't really "switch" between project environments seamlessly.

That is why I find SessionMan indispensable for project session management. Comes in handy when jumping back and forth between different code projects. I basically give each session a name similar to my project name. With each session, I map the project plugin command (:Project YourProject)) to a key where I can retrieve the project in each session. Also, it helps to keep your paths saved on a per session basis. This facilitates tag lookup for omnicomplete and tag navigation as well as the "gf" key combo for opening header files.

Those two plugins work great together.

There is a newer plugin called MyProjects, but the last I tried it had some window and buffer issues that I'm not used to. It also didn't work well with my session management plugin. It's still in early development.

EDIT: I also just found exVIM online. It looks interesting and might be up your alley. I may have to try it out myself. Note that there are multiple install options.

19
ответ дан 28 November 2019 в 00:04
поделиться

NERDTree with bookmarks does the job for me. It's popular and has been updated recently, whereas Project hasn't been updated in a few years.

Commands

:Bookmark proj1 " to bookmark a directory
:NERDTree proj1 " opens NERDTree with bookmarked directory set as tree root

Even has handy filesystem commands for creating/deleting files/directories etc

25
ответ дан 28 November 2019 в 00:04
поделиться

exVim может удовлетворить ваши требования. В нем есть окно проекта, в котором можно просматривать определенный каталог, а также полезный плагин для облегчения разработки.

Вот ссылка: http://code.google.com/p/exvim/

2
ответ дан 28 November 2019 в 00:04
поделиться

Found an interesting link here. It's primarily Python-focused, but I think it'll get you started.

0
ответ дан 28 November 2019 в 00:04
поделиться