Please provide a standard way to locate project root directory.

Many famous plugins (including: CtrlP, LeaderF, Fzf, YouCompleteMe, 
Gutentags, ALE)

require to identify the project root of current file. And they don't have 
standard to follow,

So, some of plugins take current directory as project root, some of them 
take the nearest 
ancestor directory containing .git or .svn as the project root. some of 
them seek the nearest
Makefile / CMakeList.txt ...

what a mess ?

And most of them have project-wide configurations like:

1. ALE: project-wide linting configurations.
2. YouCompleteMe: ycm_extra_conf.py, used to generate clang compiling flags 
(include dir, ...) for sources 
3. vim-clang: compile_commands.json
4. local_vimrc: _vimrc_local.vim
5. gutentags: gtags / ctags parameter config file.

These config files pollute my source tree. and can easily get committed to 
svn/git by accident. 

Consider supporting vscode's `.vscode` folder ? it can be used to locate 
project root (nearest parent dir containing .vscode).
And can be used to store many project-wide configs.

Or with a different name like `.vim` ??

benefits:

1. all plugins can have a standard to locate project.
2. all plugins can have a place to store project-wide configs.
3. possible for plugins to share information and collaborate together.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/e8aedd9a-92ed-4e96-9895-fd5cb21958c5%40googlegroups.com.

Reply via email to