[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Global autocomplete filename issue
From: |
Pavel Nedev |
Subject: |
Global autocomplete filename issue |
Date: |
Wed, 24 Sep 2014 14:17:20 +0300 (EEST) |
Hi guys,
First, thanks for the great software! I'm using it extensively and it is of
great help indeed.
As to the issue:
I notice that the autocomplete filename command returns as result not the full
names but from the matched string to the end of the name.
For example if you do
1) global -cP string
you would expect to get the file names containing the string.
I know that -P by default searches the whole file name for the string, not just
from the beginning. And this is working fine in
2) global -P string
for example. The whole file names are returned as result by 2). But 1) does not
do that.
Consider the following scenario:
You have the following files:
src/first_string_A.cpp
first_string_A.h
test/sec_string_A.cpp
string_C.h
text.cpp
Now command 2) (global -P string) result would be
src/first_string_A.cpp
first_string_A.h
test/sec_string_A.cpp
string_C.h
But command 1) (global -cP string) would give
string_A.cpp
string_A.h
string_A.cpp
string_C.h
IMO it should either run the completion from file name beginning or return the
full file names as 2) does
Thanks again!
Best Regards,
Pavel
- Global autocomplete filename issue,
Pavel Nedev <=