How to start the search process in Visual Studio Code - visual-studio-code

I can see the search form panel in left side, but, how can I start the search process? there is a field to put the text that I am looking for, but I don't find a button or icon to press and start the search process, I don't want to try pressing the enter button because I don't know if pressing enter will search or it will replace (since there is also a "replace" field)
Regards

Enter will start the search, don't worry. If I remember correctly
Ctrl+alt+enter does the replacement for all and you also have to
confirm before the replacement – FreshD
thanks, I also noticed a small triangle to hide the replace field

Related

Enter Key in Find dialog makes new line instead of jumping to the first result

After hitting CTRL+F (or CMD+F) my find-dialog opens in the top right corner with focus on the input.
Usually, after I enter the search term, I hit enter to jump to the first result. Unexpectedly, this creates a new line in the search input.
I tried looking in the settings, but no luck. I remember that it wasn't that way when I first installed VS Code.
How can I solve this, so that it jumps to the first found result?

Is it possible to delete numbering <ol> in tinymce

I wanna to delete numbering in tinymce . Is it even possible ?
When I write 1. then press enter it automaticaly add 2. I dont want it
If you press Enter a second time the number goes away and you exit the list. What behavior would you want while in a list and pressing Enter once? The creation of the next list element is standard behavior across word processors and rich text editors.

Eclipse - How to disable "direction" on find/replace dialog

In eclipse, when using the CTRL+F dialog, it is a bit annoying to search for some word in a file and having to select the direction you want to search (forward or backward) or having to put the cursor focus at the top of the file to search forward.
Is it possible to disable this direction option and search for words just like Chrome does? (when searching in Chrome, if you reach the last coincidence and press next again, it will go back to the first one immediately).
In the Find/Replace dialog in the section Options there is the checkbox Wrap search for that.
The Wrap search option of the Find/Replace dialog is also applied to the Find Next (Ctrl+K) command.
Alternatively, you can use Incremental Find (Ctrl+J) which is a Find without a dialog: in the Incremental Find mode the entered search string is displayed in the status bar and by hitting Ctrl+J again you go to the next match. On the last match you have to hit Ctrl+J twice to go to the first match.

How to enable "live search" in eclipse?

In Komodo Edit, an input field is available in the toolbar. When I type text in it, it highlights matching search results. Is there something like this in Eclipse, either directly or via a plugin?
As TK Gospodinov has already mentioned, there is an Incremental option in Find/Replace (Ctrl+F) dialog.
There is also a special key binding for Incremental search in Eclipse (and personally I use it more frequently). From Eclipse Tips and Tricks:
Use Edit > Incremental Find Next (Ctrl+J) or Edit > Incremental Find Previous (Ctrl+Shift+J) to enter the incremental find mode, and start typing the string to match. Matches are found incrementally as you type. The search string is shown in the status line. Press Ctrl+J or Ctrl+Shift+J to go to the next or previous match. Press Enter or Esc to exit incremental find mode.
If you'd like to have search functionality in a toolbar, you may be interested in the eclipse-glance plugin, which allows you to use the incremental search function in a toolbar by pressing Ctrl + Alt + F while in any text area.
This feature is already available in eclipse. No need to install any plug-in.
Press Ctrl+F, and the Find pop up appears.
Now check the incremental checkbox, and then your texts will be found as you type. No need to hit return.
OR
Use Ctrl+J and you can activate the live search, just that there wont be any UI visible, but you can see the status in eclipse status bar at the bottom.
Press Ctrl+J, start typing the text you want to search for. Press esc to go back to edit mode
The closest thing to the functionality you are asking about is the 'incremental search' mode, which is triggered by checking the 'Incremental' checkbox in the Options group on the Find/Replace dialog in Eclipse (Ctrl+F from the code editor). This will make it start highlighting matches as you type, and if they are keywords, Eclipse will highlight other occurrences (references) in the code editor. Matches inside strings or Javadoc will not be highlighted, however, unless it happens to be the first match after your cursor's position inside the editor.
One similar thing (not the same) is just enabling "mark occurences", then selecting function name, variable etc.

How to cancel search highlight in Eclipse

When I search something in Eclipse, the search items stay highlighted for some time. How do I remove this after I have found what I was looking for?
Remove your matches in the search view, that will remove the highlighting. I.e., click the button with the two X's in the search view.
If you cannot see that view, navigate to window -> show view -> Search
AFIAK, the search result view has a toolbar button to clear the search results. This removes the highlighting in the editor.
An alternative way is to run a search that will yield no results. For example file search, containing text - leave this field empty, files - some stupid extension like ".qwe".
For people concerned that https://stackoverflow.com/a/3545215/6012102 removes search results from history.
Select the search from history, press "Run the current search again" (2 rotating arrows icon). This will run the search and you will get all the results back (this brings back the text highlight as well unfortunately).
Disable Preferences->General->Text Editors->Annotations->Search Results->Text as.
For a single instance, delete the line and undo it: Ctrl+DCtrl+Z. This is faster than the other answers, and worked when they failed (for some buggy JSP I had).