You have a filepath completer:
"You'll also find that YCM has filepath completers (try typing ./ in a file) and a completer that integrates with UltiSnips."
Currently there doesn't appear to be a way to turn this off. This feature isn't useful to me personally and I'd like to be able to disable it. Is there an internal setting I can use to disable this or at least stop YCM from triggering when it hits the '/' character?
The closest thing you have is:
https://github.com/Valloric/YouCompleteMe#the-gycm_filepath_completion_use_working_dir-option
But this only deals with relative paths and not turning this off entirely...
btw. Thanks for developing this plugin, it's the VIM "killer-app"...
This sounds like a reasonable feature request.
+1
+1
+1, especially in Clojure where foo.bar/baz is an identifier.
We also need a way to turn this off per-filetype.
For XML it would be nice to still have the file completion, but not in case of a closing tag.
Is this feature still on the roadmap? I'm using YCM with VScode. Not being able to turn off filepath comletion makes it impossible to press enter (or tab) after a / or // in a C++ file without unwanted completion being inserted. The only workaround is to type a space or something after the slash before hitting tab/enter.
+1, any progress?
+1
+1
+1
This is a nightmare when writing HTML.
+1
5 years and counting
+1
Please.. please fix this.. My filesystem keeps popping up in every xml and html file I edit!
Feel free to use the filetype blacklist to prevent YCM working for XML files.
This is implemented by PR https://github.com/Valloric/ycmd/pull/1061. The html, jsx, and xml filetypes are blacklisted by default. If you have suggestions for other filetypes to blacklist, give a comment on the PR .
Most helpful comment
Is this feature still on the roadmap? I'm using YCM with VScode. Not being able to turn off filepath comletion makes it impossible to press enter (or tab) after a
/or//in a C++ file without unwanted completion being inserted. The only workaround is to type a space or something after the slash before hitting tab/enter.