≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #2073

Bug #2073: Command-t misses folders

Kind bug
Product Command-T
When Created 2013-03-24T14:00:26Z, updated 2013-03-27T01:36:09Z
Status closed
Reporter anonymous
Tags no tags

Description

I have the following src directory layout:

tsd.common
tsd.common.ini
tsd.common.stm

etc.

Under tsd.common in a subdirectory is a file located e.g. called Utf8String.hpp

The problem is that command-t doesn't show tsd.common in the file list and, if i enter Utf8String.hpp, this file won't be found. Only the folders tsd.common.ini and tsd.common.stm are appearing in the list.

Comments

  1. Greg Hurrell 2013-03-24T18:06:28Z

    Possible explanations:

    • your g:CommandTMaxFiles setting (which defaults to 10,000) may be too low relative to the size of your project, which causes Command-T to stop scanning files after it hits the limit
    • if you have self-referential symlinks (ie. a circular dependency), this could cause Command-T to hit the g:CommandTMaxFiles limit before it's seen all the files in the project, because the same files end up appearing at different paths again and again and again...; this is like a bug in the project structure akin to an infinite loop in code
    • your Vim 'wildignore' setting might be excluding the files you're looking for
    • the number of files in your project may be so large, and the paths so similar, that even though the match you're looking for is present, there are too many hits to fit in the visible area of the match listing; in this case the only fixes are to provide more characters in your query (to try to reduce the number of matches) or to increase the visible area of the match listing (with the g:CommandTMaxHeight setting)

    Some of the points above are addressed, if you'd like to know more (see :h CommandT).

  2. anonymous Created 2013-03-25T09:28:12Z, edited 2013-03-26T07:09:59Z

    Hello,

    thank you for the response. I already figured out to solve this problem. Increasing g:CommandTMaxFiles worked. I've > 30000 files in the source project.

  3. Greg Hurrell 2013-03-27T01:36:06Z

    Glad to hear you got it worked out.

  4. Greg Hurrell 2013-03-27T01:36:09Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets