{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1791","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1791/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1791/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1791/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1791","id":118188210,"number":1791,"title":"Git-project wide ycm_extra_conf.py","user":{"login":"m3m0ry","id":3260155,"avatar_url":"https://avatars.githubusercontent.com/u/3260155?v=3","gravatar_id":"","url":"https://api.github.com/users/m3m0ry","html_url":"https://github.com/m3m0ry","followers_url":"https://api.github.com/users/m3m0ry/followers","following_url":"https://api.github.com/users/m3m0ry/following{/other_user}","gists_url":"https://api.github.com/users/m3m0ry/gists{/gist_id}","starred_url":"https://api.github.com/users/m3m0ry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3m0ry/subscriptions","organizations_url":"https://api.github.com/users/m3m0ry/orgs","repos_url":"https://api.github.com/users/m3m0ry/repos","events_url":"https://api.github.com/users/m3m0ry/events{/privacy}","received_events_url":"https://api.github.com/users/m3m0ry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-21T10:29:12Z","updated_at":"2015-11-21T12:43:54Z","closed_at":"2015-11-21T12:43:54Z","body":"It's not an issue, it's a feature!\r\nFirst of all, i am amazed, how good this plugin is. I have set it up properly. Yet i miss one little feature. This could be done with some global extra_conf, yet i don't know enough python (yet). There are three options already given:\r\ng:ycm_confirm_extra_conf , which allows you to automatically confirm the loading of a config.\r\ng:ycm_global_ycm_extra_conf, which sets the fallback config\r\ng:ycm_extra_conf_globlist, which allows you to set a globlist to limit your search for the config file\r\n\r\nSince we all usually work in a version control system like git (svn, hg, *), it would be nice to be able set a git-wide .ycm_extra_conf.py\r\n\r\nWhat i mean is an option, which executes following when it's set:\r\nif (there is no config file in current directory)\r\n{\r\n    if(go one directory upwards if it is still the same git-repo)\r\n        recursion yay :)\r\n     else\r\n        fallback to global/ask for confirm (depends on other settings)\r\n} else\r\n    load this file\r\n\r\nI am aware, that it is (probably) possible (if python wouldn't be new to me) to set a global ycm_extra_config, which does exactly that, but i think it might also be a nice feature\r\nSo...\r\n1) Does someone has this feature as as a python script?\r\n2) What do you think of this feature?"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/158635786","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1791#issuecomment-158635786","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1791","id":158635786,"user":{"login":"m3m0ry","id":3260155,"avatar_url":"https://avatars.githubusercontent.com/u/3260155?v=3","gravatar_id":"","url":"https://api.github.com/users/m3m0ry","html_url":"https://github.com/m3m0ry","followers_url":"https://api.github.com/users/m3m0ry/followers","following_url":"https://api.github.com/users/m3m0ry/following{/other_user}","gists_url":"https://api.github.com/users/m3m0ry/gists{/gist_id}","starred_url":"https://api.github.com/users/m3m0ry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3m0ry/subscriptions","organizations_url":"https://api.github.com/users/m3m0ry/orgs","repos_url":"https://api.github.com/users/m3m0ry/repos","events_url":"https://api.github.com/users/m3m0ry/events{/privacy}","received_events_url":"https://api.github.com/users/m3m0ry/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T12:43:54Z","updated_at":"2015-11-21T12:43:54Z","body":"Exactly, i feared that response :)\r\n\r\nAs i said i thing that it is possible to implement it in the global configuration. I will try that. Thank you anyways."}}