AFAIK the only way to exclude a directory is to mark it as excluded in project structure, however, this would make IntelliJ totally ignore the directory - thus it will not appear in autocomplete options.AFAIK the only way to exclude a directory is to