How can I bulk search and find data with slight differences in different rows? - search

There is something I want to do; but i don't know if it is possible.
I want to know if I can do what I want to do with EmEditor or something else.
You can find an example of what I want below.
Example Picture:
• The data on the left does not have the full name.
• The data on the right are those with the full name.
I present a small video to express what I want clearly.
Please watch the video first and then see the sample files where you can try how to do what I want.
Sample Video
Sample Files
The file on the right contains much more data than the file on the left.
That's why the first thing that comes to mind is; so sorting is useless.
For example, the data in the 1st row of the data on the left; corresponds to row 2 of the data on the right.
So no one has the same row.
That's why sorting doesn't work; and I need to search the left side data one by one inside the right side data and find the full name.
FOR INSTANCE:
On the left: 10-infographic-solutions-part-1
On the right: 10-infographic-solutions-part-1-D5DADA
Instead of searching all of them one by one, I want to automatically find the left-hand data among the right-hand data.
I thought this might be possible with EmEditor; but I don't know how.
If this is possible I would like to know how.
Also, there is one more thing I want to know.
I have something to add to the end of each line; but I can't put a bulk cursor at the end of all of them.
How can I do this with EmEditor?
I hope I was able to express clearly what I wanted.
If there is anything that confuses you, please let me know.

You can use Advanced Filter to find multiple strings combined with Logical Disjunction (OR). To do this:
Open Missing Data.txt with EmEditor, select all (Ctrl+A), and copy all the text to the Clipboard (Ctrl+C).
Open Full Data.txt, and click the Advanced Filter button on the Filter toolbar.
Click in the list box of the Advanced Filter dialog box, and press Ctrl+V to paste the Clipboard contents to the list box.
While all the items in the list box are selected, make sure the Match Case, (None), and Logical Disjunction (OR) options are selected, but no other options are selected.
Click the Filter button.
You didn't write what you want to do after searches, but if you want to remove all the matched lines from Full Data.txt:
Click the Abort button if you are already filtering. Click Bookmark button, and Close to dismiss the dialog box.
Right-click on the left edge of the editor (or select Edit menu - Bookmarks), and select Delete Bookmarked Lines.
As for selecting the end of each line, you can drag Mouse while pressing Alt to make a zero-width vertical selection at right (or press Alt+E, E to make a vertical selection, and press End). See Multiple Selection Editing for more information.

Related

intelliJ -> is there any way to scope your search to be within a function

Very often while coding, I need to search for keywords which are common and happen throughout a large file, but I am looking for an instance within a function.
The default search functionality often gives me all results starting from the top. Is there any way/workflow to search only within a specific method/function or block of code?
Update
Do Ctrl + F
Then Ctrl + Alt + E
Type the text to search
On MacOS, it's cmd instead of Ctrl
Original Post
You can do it like this (mentioned keymaps are for Linux):
Let's take as an example the following code, where we will be searching for the word "key" inside the method "clear". As you can see there are many occurrences of that word (in red, highlighted the ones we want in our results, and in blue other occurrences, which we do not want to appear in our search results)
1- Select the area you want to limit the search scope to.
2- Press Ctrl+Shift+F. It will pop up a search window with the selected text pre-filled in the search box.
3- Select the options "Scope" and, in the combo next to it, "Selection" (if they are not selected by default)
4- Type the word(s) you want to search (in this example, the key word).
5- The results shown will be limited to the selected area. Notice how there are only 9 matches in the upper right corner ("Match case" option is checked), despite in the same file there are many other occurrences of the same word.
However, I was neither able to find a key combination in order to do this as a single action nor assign a new one. Also, notice how the search includes the text in the method documentation.
Tested using IntelliJ IDEA 2018.1.4 (Ultimate Edition), Build #IU-181.5087.20 on Ubuntu 18.04
Looks like we're finally getting this feature in IDEA 2019.3:
https://blog.jetbrains.com/idea/2019/09/whats-new-in-intellij-idea-2019-3-eap-2/ (Ctrl-F for subtitle "Ability to search in a selected area when using the Find action")
It’s now possible to search only in a selected area using the Find action (cmd+F / Ctrl +F). Simply select the code piece you need in the editor and invoke the Find action and the IDE will perform the search only in the selected area.
Screenshot from the article (was a GIF originally)
There is a way to search inside a method, however, it doesn't seem to work for other scopes.
When searching in file as usual, click "Find all"
You'll get a list of results in the bottom panel. If you enable "Group by file structure" (I had it disabled by default), you can get a list of matches for a particular method.
On IntelliJ in Mac:
In a file select the specific block in which we want to find
something
Press CMD + F
Press CTRL + OPTION + G
Notice that the cursor has automatically landed in the find toolbar's text field
Type in what is intended to be found
Press enter to move the cursor
to the first occurrence.

Sorting in SSRS on Detail View

I'm asking on behalf of a coworker for this question.
She is using Visual Studio 2012/SQL Server 2012.
In EXCEL how you can sort easily from A-Z, Z-A and stuff of the sort in real time, is there a way to be able to do that in SSRS? Say a user drills from main view into detail view...is there a way with the info they can sort/mess around with it prior to exporting to excel?
Yes there is.. Click on the header line for the column that you want to sort.. right click - Text Box Properties - Interactive Sorting then choose the Enable Interactive Sorting on this text box and then choose which field you want to sort by... when you run the report.. you will get an arrow next to the header that you can click to sort.. you can do this on multiple columns.. and if you wanted to sort by more than one column... you sort it by clicking on column one.. hold down shift and then the next column.. done.. the arrows do not print or export.. it's visible only on interactive view.

is there a shortcut to open filter>contains box in excel?

I use filters a lot.
Filter > contains option
But it is slow because everytime i need to do several clicks.
So, my question is, is there a shortcut to open filter, drop down, contains window?
Assuming you start with filtered data already, you need to have the header cell selected. From there: ALT+DOWN, F, A.
If the filter is not already created then throw in a CTRL+SHIFT+L at at the start.
If you are not in the header row, some combination of CTRL+ARROW keys can get you there. Ideally you have a block of data and can use CTRL+UP if you start in the correct column.

Disable or delete right click menus VBA

Whenever I right click on an excel sheet two menus come up: one with cut, copy, paste, etc. and one with font size, bold, italic etc.
I can customize the first one to have whatever command I want. The problem I have is that I want to DISABLE or DELETE the second one (the one with font size, bold, italic etc.)
I tried going through the entire CommandBars collection but couldnt find the one that I need to delete.
Any ideas on how to achieve this?
Apparently its very easy.
Application.ShowMenuFloaties = True
Although this does the job, I still dont understand how to manipulate that menu.

In PhpStorm :: tab rows reorder on click & jump on drag&drop

Handling the tabs right now is crazy !!
Often I use a split layout / workspace. Mostly I split vertically.
After a short time I have 10 tabs left, 10 tabs right
If I try to reorder a tab by dragging it, the tabs beneath it (the place I'd like to drop the tab) jump around and flicker.
If I click a tab (of a row) all rows reorder... what the * ? How to keep an overview like this.
I can't drag from one view to the other.
So my associated questions would be...
About 1. Am I doing something wrong ?
About 2. Are there some settings to disable this reordering ?
About 3. See edit
Sublime Text 2 for example does this all very naturally.
Edit
I found out that I can drag a tab from one side to another, BUT I need to drag it a little bit down first so the tab gets "loose"
There is no fix yet, these are known issues:
http://youtrack.jetbrains.com/issue/IDEA-22546
http://youtrack.jetbrains.com/issue/IDEA-84887
A workaround would be to use tabs on left/right or in single row options.

Resources