Notepad ++ Export full “Find Results” window
up vote
1
down vote
favorite
I have a large number of text files in multiple sub directories that I need to scan for a particular string and return the file names of any file that has this string inside. To do this, I have used the Find in File
feature to give me an output which tells me all the files that match as well as the line number (exactly what I want)
However, when I select all
and copy
, only the matching strings are copied, not the file names and Line x
part of the output.
Is there a way to export the full results (with file paths) of the Find Results
window in Notepad++?
notepad++ window
add a comment |
up vote
1
down vote
favorite
I have a large number of text files in multiple sub directories that I need to scan for a particular string and return the file names of any file that has this string inside. To do this, I have used the Find in File
feature to give me an output which tells me all the files that match as well as the line number (exactly what I want)
However, when I select all
and copy
, only the matching strings are copied, not the file names and Line x
part of the output.
Is there a way to export the full results (with file paths) of the Find Results
window in Notepad++?
notepad++ window
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a large number of text files in multiple sub directories that I need to scan for a particular string and return the file names of any file that has this string inside. To do this, I have used the Find in File
feature to give me an output which tells me all the files that match as well as the line number (exactly what I want)
However, when I select all
and copy
, only the matching strings are copied, not the file names and Line x
part of the output.
Is there a way to export the full results (with file paths) of the Find Results
window in Notepad++?
notepad++ window
I have a large number of text files in multiple sub directories that I need to scan for a particular string and return the file names of any file that has this string inside. To do this, I have used the Find in File
feature to give me an output which tells me all the files that match as well as the line number (exactly what I want)
However, when I select all
and copy
, only the matching strings are copied, not the file names and Line x
part of the output.
Is there a way to export the full results (with file paths) of the Find Results
window in Notepad++?
notepad++ window
notepad++ window
asked Jul 28 '17 at 14:47
Michael Bird
1064
1064
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39
add a comment |
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".
"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.
add a comment |
up vote
0
down vote
What is selected when you click Select all
is affected by where you click Select all
. If you right click on a line found and select copy
you will get only the lines found.
If you click on the file name and select copy
you get the full output.
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',
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%2f1235438%2fnotepad-export-full-find-results-window%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
up vote
1
down vote
In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".
"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.
add a comment |
up vote
1
down vote
In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".
"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.
add a comment |
up vote
1
down vote
up vote
1
down vote
In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".
"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.
In npp 7.5.6 there is a difference if you, after selecting lines of the find result list, use "right click" / "Copy", or of you use "CTL-C".
"right click" / "Copy" copies the lines without line numbers.
"CTL-C" copies the lines with line numbers.
answered Nov 28 at 12:17
K.Isbruch
111
111
add a comment |
add a comment |
up vote
0
down vote
What is selected when you click Select all
is affected by where you click Select all
. If you right click on a line found and select copy
you will get only the lines found.
If you click on the file name and select copy
you get the full output.
add a comment |
up vote
0
down vote
What is selected when you click Select all
is affected by where you click Select all
. If you right click on a line found and select copy
you will get only the lines found.
If you click on the file name and select copy
you get the full output.
add a comment |
up vote
0
down vote
up vote
0
down vote
What is selected when you click Select all
is affected by where you click Select all
. If you right click on a line found and select copy
you will get only the lines found.
If you click on the file name and select copy
you get the full output.
What is selected when you click Select all
is affected by where you click Select all
. If you right click on a line found and select copy
you will get only the lines found.
If you click on the file name and select copy
you get the full output.
edited Nov 28 at 14:32
answered Jul 28 '17 at 15:48
Michael Bird
1064
1064
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1235438%2fnotepad-export-full-find-results-window%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
Hmm. I can't repro this i.imgur.com/agCm9lE.png
– DavidPostill♦
Jul 28 '17 at 15:02
I fixed my own problem, I will add an answer.
– Michael Bird
Jul 28 '17 at 15:39