Code::Blocks Find Window Closing - text

I was wondering if there is a way to keep the "Find" window open in Codeblocks IDE (I'm using v13.12 if that's relevant). I'm talking about the window that usually opens (in any IDE) when you hit 'cntrl + F'. In Codeblocks it keeps closing everytime I hit 'Find'. I would rather it stay open like in Eclipse, Notepad++, and so forth.

I normally use the "Find in files" function instead of the normal Find function.
When pressing Ctrl+F select the second tab in the window and you will find "Find in Files".
Normally I use the scope "Project files" which limits the search to the project only.
After a search you will be provided with all the results in the bottom log window in the tab "Search results". You can then easily click around on all matches and C::B will jump to the file and location.

Related

How to wrap the selected text with an open and close tag?

I thought there was a shortcut available to wrap the selected text with an open and close tag, in Aptana. I believe it was Ctrl+Shift+W.
This now closes out the file. Is this shortcut not available any more? Is there an alternative available?
No solution with shortcut (yet) but you can prevent closing all tabs by mistake.
Open 'Window' > 'Preferences' and choose 'General' > 'Keys'. Find the command "Close All" and select this command with the binding "Ctrl+Shift+w" and click the button [Unbind Command]. This at least does not close all your tabs when you accidentally hit Ctrl+Shift+w...
Open 'Commands' > 'HTML' and you are able to select "Wrap Selection in Open/Close Tag". Maybe this shortcut only works when editing .htm(l) files... I will look into this.
I assume we should be able to bind this shortcut to the command to wrap tags around selected text, but I haven't found that command (yet, hopefully). It is restricted to HTML bundle?

VS2012: Ctrl+F now synchronizes with Ctrl+Shft+F

In Visual Studio 2012, I want different context for Ctrl+F and Ctrl+Shift+F. However, when I enter data in the Ctrl+F dialog (in the upper right corner of the text editor), it synchronizes that information to the dialog shown by Ctrl+Shift+F. I don't want that. I want Ctrl+Shift+F to do a search in the Entire Solution for now and forever. How can I disconnect these dialogs? I'm using Resharper 7.1 and VSCommands11, if that changes things.
(And why does Ctrl+F take three seconds to show the dialog in the upper right corner? It bugs me when I press Ctrl+F and start typing only to find that it changes my source file.)
Open the options-window. (Tools->Options). In the tree on the left side select Environmend->Keyboard. There are two entries relevant for you:
Edit.Find is for the Search-Box at the right upper corner (Ctrl+F)
Edit.FindinFiles is for the SearchDialog (Ctrl+Shift+F)
Maybe any of your VisualStudio-Extension has set these Commands to other commands.
In my studio both searches are separated from each other. If I set Entire Solution in the Ctrl+Shif+F-Dialog, that does not affect the Ctrl+F-Dialog
Please try this: Tools/Options/Environment/Keyboard > click reset button

"Find and Replace" text box holds the cursor

context, Find and Replace "window" in VS2012 (rc)
Anyone know how to either alter the behavior or get back the old find and replace?
When you execute a search in the new "Find and Replace" you can press F3 to cycle through the results (same as old behavior). However, you have to click ESC to put the active cursor location in your code. With the old setup (if you have the search window auto-close) the cursor is already in the code. Pressing down without pressing ESC requests the history of searches dropdown list to open.
Basically, I just want the old search window, it worked perfectly.
Nope, this is the new search box, and the old one basically isn't available anymore. What you can do it file a bug report on the Connect site, but honestly it will probably be ignored because MS has decided that usability is not important for this new version of Visual Studio (in my own humble opinion)
Good luck!
As an alternate, I guess that you could make an extension that repeats the previous behaviour (like I am doing for all of my Macros) but that is kind of in the territory of overkill.
If you hit Ctl-Shift-F or Ctl-Shift-H, you'll open the Find/Replace in files dialog, which is very similar to Visual Studio 2010. Even though it says "find in files", you have the option of searching in selected text and the current document.
Taking the information above, I went into Tools / Options / Environment / Keyboard and switched the Ctrl+F and Ctrl+Shift+F hotkeys around.
I then dragged the "Find and Replace" window to the right and docked it as a tab (along with Solution Explorer, Properties, etc), as I haven't found a way to have it close automatically after starting a search.
I can now place the cursor anywhere in my document, press Ctrl+F, enter my criteria and press F3 to start the search.
Repeated F3's, even after moving the cursor, behaves just like the good-old-times! (but as bobobobo mentions, be prepared to curse if you accidentally start your search with ENTER instead of F3 :()

How to force IntelliJ to always search in "Whole Project"

I like to use the Find in Path function CTRL+SHIFT+F, that searches for text strings in several files.
One thing I often run into though, is that I search for something that I know exists in at least one file, I get zero results or I find just some of the files that contain the search term.
Then I realise that the Scope setting in the Find Dialog box has been set to Module or Directory for some reason rather that "Whole project" which is what I almost always want.
What fools me here is that this only seems to happen occasionally - often I'll have the scope set to Whole project like I want to, but sometimes it will be something else.
How does IntelliJ decide which scope to use?
Also, is there some setting that can be used to force IntelliJ to always select "Whole project" as the default?
Just collapse the project tab before: Command + 1 or Alt + 1
The default selection depends on the context which launched the search. If you have the project tab open with a folder/file selected it will search in that folder or the parent of that file.
To search by default just close that panel (this will make the context be the whole project) and press the search shortcut and it will be scope properly.
Not really a solution, but how to avoid using the mouse for this:
When the dialog is open, press Alth before pressing enter. This will cause the scope to be set to Whole project.

How do I open a new tab when searching in Aptana Studio 3?

Kind of a newbie question.
Sometimes I use the project-wide search feature, and my search results appear listed in the window below, along with the related hierarchy placement.
Let's say I double click a file. It opens. Fine.
However, if I double-click again on another file in the search results window, it will replace the file I just opened. It's impossible for me to open multiple search results, short of manually opening them from the project view.
It wasn't always this way - it worked when I first installed the program, but something changed about three days in and I can't do it anymore.
Thanks!
Go to Preferences > General > Search and uncheck Reuse editors to show matches.

Resources