How to quick search files in whole workspace (Visual Studio Code)
I'm asking for a method similar to Ctrl+P but that searchs in all workspace (but not in ignored foldres like node_modules
or .git
folders).
Ctrl+P searchs in recent opened list.
I am searching some way to type a file name (in a quick search way) and search files in all folders of the workspace (ignoring ignored folders).
Search by file name not by content.
vscode
|
show 1 more comment
I'm asking for a method similar to Ctrl+P but that searchs in all workspace (but not in ignored foldres like node_modules
or .git
folders).
Ctrl+P searchs in recent opened list.
I am searching some way to type a file name (in a quick search way) and search files in all folders of the workspace (ignoring ignored folders).
Search by file name not by content.
vscode
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16
|
show 1 more comment
I'm asking for a method similar to Ctrl+P but that searchs in all workspace (but not in ignored foldres like node_modules
or .git
folders).
Ctrl+P searchs in recent opened list.
I am searching some way to type a file name (in a quick search way) and search files in all folders of the workspace (ignoring ignored folders).
Search by file name not by content.
vscode
I'm asking for a method similar to Ctrl+P but that searchs in all workspace (but not in ignored foldres like node_modules
or .git
folders).
Ctrl+P searchs in recent opened list.
I am searching some way to type a file name (in a quick search way) and search files in all folders of the workspace (ignoring ignored folders).
Search by file name not by content.
vscode
vscode
edited Oct 14 '18 at 13:44
Emilio Platzer
asked Oct 14 '18 at 12:31
Emilio PlatzerEmilio Platzer
277417
277417
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16
|
show 1 more comment
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16
|
show 1 more comment
2 Answers
2
active
oldest
votes
short answer
Ctrl+P is the way for search file names in the current workspace or project.
but
- recently opened files are shown above.
- the quick search found files recently opened and files that are in the workspace or project but are not ignored
- ignored files may be ruled by
.gitignore
if insettings.json
"search.useIgnoreFiles"
istrue
.
That means that sometimes ignored files are found and sometimes not.
the solution to the question
- Change
settings.json
and set"search.useIgnoreFiles": false
. - Use Ctrl+P to search.
refs:
- https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options
- https://daveredfern.com/2017/hide-or-exclude-folders-and-files-from-search-in-visual-studio-code/
add a comment |
"search.useIgnoreFiles": false
What I found in VSC: There do not exists any real working "search file in folder explorer" !!
It works only advanced "Recently opened". It means: What you create, move inside VSC you can see in "search" result. But if you move, create something outside VSC you actually, won't see it in "search" result, like never existed.
Prove:
You cant't "search" anything what was installed like libraries before you browse it physically in in vsc file explorer...
You can run into problems if you don't know how this feature work. It could cause problems, with the behavior of App, if there is file or not!
Also answers there are pretending search should be marked as dangerous, deprecated...
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1366650%2fhow-to-quick-search-files-in-whole-workspace-visual-studio-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
short answer
Ctrl+P is the way for search file names in the current workspace or project.
but
- recently opened files are shown above.
- the quick search found files recently opened and files that are in the workspace or project but are not ignored
- ignored files may be ruled by
.gitignore
if insettings.json
"search.useIgnoreFiles"
istrue
.
That means that sometimes ignored files are found and sometimes not.
the solution to the question
- Change
settings.json
and set"search.useIgnoreFiles": false
. - Use Ctrl+P to search.
refs:
- https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options
- https://daveredfern.com/2017/hide-or-exclude-folders-and-files-from-search-in-visual-studio-code/
add a comment |
short answer
Ctrl+P is the way for search file names in the current workspace or project.
but
- recently opened files are shown above.
- the quick search found files recently opened and files that are in the workspace or project but are not ignored
- ignored files may be ruled by
.gitignore
if insettings.json
"search.useIgnoreFiles"
istrue
.
That means that sometimes ignored files are found and sometimes not.
the solution to the question
- Change
settings.json
and set"search.useIgnoreFiles": false
. - Use Ctrl+P to search.
refs:
- https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options
- https://daveredfern.com/2017/hide-or-exclude-folders-and-files-from-search-in-visual-studio-code/
add a comment |
short answer
Ctrl+P is the way for search file names in the current workspace or project.
but
- recently opened files are shown above.
- the quick search found files recently opened and files that are in the workspace or project but are not ignored
- ignored files may be ruled by
.gitignore
if insettings.json
"search.useIgnoreFiles"
istrue
.
That means that sometimes ignored files are found and sometimes not.
the solution to the question
- Change
settings.json
and set"search.useIgnoreFiles": false
. - Use Ctrl+P to search.
refs:
- https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options
- https://daveredfern.com/2017/hide-or-exclude-folders-and-files-from-search-in-visual-studio-code/
short answer
Ctrl+P is the way for search file names in the current workspace or project.
but
- recently opened files are shown above.
- the quick search found files recently opened and files that are in the workspace or project but are not ignored
- ignored files may be ruled by
.gitignore
if insettings.json
"search.useIgnoreFiles"
istrue
.
That means that sometimes ignored files are found and sometimes not.
the solution to the question
- Change
settings.json
and set"search.useIgnoreFiles": false
. - Use Ctrl+P to search.
refs:
- https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options
- https://daveredfern.com/2017/hide-or-exclude-folders-and-files-from-search-in-visual-studio-code/
answered Oct 15 '18 at 21:52
Emilio PlatzerEmilio Platzer
277417
277417
add a comment |
add a comment |
"search.useIgnoreFiles": false
What I found in VSC: There do not exists any real working "search file in folder explorer" !!
It works only advanced "Recently opened". It means: What you create, move inside VSC you can see in "search" result. But if you move, create something outside VSC you actually, won't see it in "search" result, like never existed.
Prove:
You cant't "search" anything what was installed like libraries before you browse it physically in in vsc file explorer...
You can run into problems if you don't know how this feature work. It could cause problems, with the behavior of App, if there is file or not!
Also answers there are pretending search should be marked as dangerous, deprecated...
add a comment |
"search.useIgnoreFiles": false
What I found in VSC: There do not exists any real working "search file in folder explorer" !!
It works only advanced "Recently opened". It means: What you create, move inside VSC you can see in "search" result. But if you move, create something outside VSC you actually, won't see it in "search" result, like never existed.
Prove:
You cant't "search" anything what was installed like libraries before you browse it physically in in vsc file explorer...
You can run into problems if you don't know how this feature work. It could cause problems, with the behavior of App, if there is file or not!
Also answers there are pretending search should be marked as dangerous, deprecated...
add a comment |
"search.useIgnoreFiles": false
What I found in VSC: There do not exists any real working "search file in folder explorer" !!
It works only advanced "Recently opened". It means: What you create, move inside VSC you can see in "search" result. But if you move, create something outside VSC you actually, won't see it in "search" result, like never existed.
Prove:
You cant't "search" anything what was installed like libraries before you browse it physically in in vsc file explorer...
You can run into problems if you don't know how this feature work. It could cause problems, with the behavior of App, if there is file or not!
Also answers there are pretending search should be marked as dangerous, deprecated...
"search.useIgnoreFiles": false
What I found in VSC: There do not exists any real working "search file in folder explorer" !!
It works only advanced "Recently opened". It means: What you create, move inside VSC you can see in "search" result. But if you move, create something outside VSC you actually, won't see it in "search" result, like never existed.
Prove:
You cant't "search" anything what was installed like libraries before you browse it physically in in vsc file explorer...
You can run into problems if you don't know how this feature work. It could cause problems, with the behavior of App, if there is file or not!
Also answers there are pretending search should be marked as dangerous, deprecated...
edited Jan 22 at 14:31
answered Jan 17 at 15:18
user3032525user3032525
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1366650%2fhow-to-quick-search-files-in-whole-workspace-visual-studio-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What about (1) Menu Edit, Find in Files (Ctrl+Shift+F) to search the Currently open Folder, or (2) Go to Explorer (Ctrl+Shift+E), right click the folder and select "Find in folder".
– harrymc
Oct 14 '18 at 13:17
"Find in Files" search a text in the content of the files. I am looking for a way to search files by file name. I will edit the question to be more accurate.
– Emilio Platzer
Oct 14 '18 at 13:39
I don't know how to search only for a file-name in Visual Studio Code. Why don't you use a product that excels in such searches like Everything.
– harrymc
Oct 14 '18 at 13:50
The problem of using a general product (like TotalCommander) is that it doesn't knows about VSC configurations (i.e. excluded folders). Ctrl P exists (search file names in recent file opened), then the existence of a search in the whole workspace or project sounds possible (and it will be more comfortable).
– Emilio Platzer
Oct 14 '18 at 14:55
I'm not sure you will get many hits in the excluded folders, and you can also exclude them in Everything.
– harrymc
Oct 14 '18 at 16:16