How to have "Find in Files" results automatically expanded - delphi

Simple question, (Easy points!)
In Delphi 2010 (with updates 4 and 5) "Find in Files" shows the results with the tree closed for each file. I have to click on a plus-sign to open each file's results.
I know there's a way to configure the IDE to automatically show the results with all the trees open, but for some reason (fatigue on my part?) I'm unable to find where to set that option.
Tom
Edit on year later: I re-asked this question here: Auto-expanding the results of "Find in Files" int the Messages windows and got a good answer:
"[Use the] Group results by file" checkbox on the Find In Files dialog.
Somehow I'd overlooked that! I'm posting this edit so that other readers in the future find it here.

I couldn't find anything like what you are asking about, in the Options. Perhaps you confused that with something else, but maybe I overlooked the option (too).
Anyway, there's a keyboard shortcut, Ctrl+Shift+Numpad +, to automatically expand all the tree items in the Message box tree view (when it is focused). Similarly, Ctrl+Shift+Numpad - collapses them all.

Not directly answering your question; but I was often frustrated by this, until I found the excellent Grep Search that is included with GExperts
It includes an option to 'Expand all matches after searching'. It also fixes many other shortcomings with the Delphi 'Find in Files'. I highly recommend it.

Related

ServiceHub.Host.CLR.x86.exe pegging a core, existing answers do not apply

This post serviceHub.Host.CLR.x86 taking a lot of memory and CPC says disabling analysis and "code lens" will make ServiceHub.Host.CLR.x86.exe from taking up gobs of CPU time. With VS2019 (16.7) I see no way to disable analysis ... the indicated option only has "Current Document", "Open Documents", and "Entire Solution" as radio buttons. Nothing anywhere to disable. So while it claims to be a solution for 2019, it's not a solution for my 2019.
So far every search has led to that same information, either here or in a number of other places, rather than something that applies to my situation.
Does anyone know how to keep ServiceHub.Host.CLR.x86.exe from squandering piles of CPU time for literally no ROI?
Thanks!...
Try clearing these options:
Options -> c# -> IntelliSense, "Show items from imported namespaces" and "Automatically show completion list in arguments".
I can't yet confirm whether this works for me, but I got it from James Rowell's comment close to the end of this post.

Is there anyway to change the color of the toolbar in notepad++?

I have tried changing the background color of toolbar in notepad++. I am not been successful so far. Frankly speaking I am not so liking the toolbar color and would like to have a dark background to the toolbar. Is there anyway I can do the same? Thanks in advance
Take a look at this question on Superuser. I haven't tested it, but I think it can help.
below there's the hack (as explained in the link):
The themes, as you guessed, can't do this (they only handle what's in
the text editing window). To change the colors you'll have to make
some very simple changes (since it's only changing color values) to
the source code (download from the site or GitHub).
Extract the file Find the elements whose color you'd like to change,
and change them. All colors I've seen are denoted RGB(xx,xx,xx)
Rebuild (see /readmeFirst.txt once you've extracted) I've just glanced
at these files, but I'm definitely going to work at this a little
tomorrow and I don't mind giving you my results once I've solved it.
Anyway, what I've seen at a glance is that you'll want to look in
/PowerEditor/src/ScitillaComponent/DocTabView (I think)
/PowerEditor/src/WinControls/TabBar
/PowerEditor/src/WinControls/ToolBar That's all I noticed that might
be of interest so far, but again, I'll look at it more tomorrow and
get back to you.
Edit: the official makefile will give some errors, because
/PowerEditor/src/Parameters.h references files incorrectly. Here are
the two I fixed so far:
#include "TinyXml/tinyXmlA/tinyxmlA.h" (line 33)
#include "TinyXml/tinyxml.h" (line 37)
Change those lines in Parameters.h to what I've written to deal with
them. Don't worry about the warnings ("extra tokens after #endif") -
they're just comments.
Edit 2: I'm using VS2012, in which the build process results in
numerous errors. I won't post them here unless someone eventually asks
about them, in which case I'm happy to do so. I should have a working
build up soon!
Edit 3: It seems Notepad++'s provided VS project file was created with
an earlier version of Visual Studio, and in updating the files, Visual
Studio 2012 creates many problems, so if you go that route, use
VS2010.
Edit 4: I didn't make it obvious in Edit 3, but I gave up after
realizing just how difficult it was going to be to get around the VS
errors. I imagine the code has changed significantly since I wrote
this answer as well; unfortunately I didn't note the version, but I'm
sure it was the latest available at time of writing this answer,
which, according to "All versions", was probably either 6.4.1 or
6.4.2. However, I hope this is a useful starting point for anyone else who reads (this answer has received consistent attention since
writing).
As far as I see into details of creation of the user interface elements (buttons, toolbars etc.), the answer is that toolbar color cannot be changed until developer explicitly built such a feature into the application. And N++ has no such a feature if you check its settings.
You can achieve changing of toolbar color by standard way: override toolbar painting routine after you grabbed N++ sources. Then compile custom Notepad++.exe which reflects your change.
If you feel toolbar coloring would be useful not only for you, but for number of users, consider registering a feature request for Notepad++ as many people (including me :)) already did for various features of N++.
Go to Settings> Preferences
Then select Enable dark mode.
Then you have the option to pick colors for the dark mode and can even set custom colors

How to set an SPSS model nugget to be automatically placed on palette only?

This is a very very trivial question. However, it's impossible to find the answer online so far.
Allow me to describe what happens -
In SPSS Modeler, when a model (CHAID in this case) is run, it generates a nugget and the nugget is automatically placed on the stream, connected with the CHAID model and the node upstream. In addition, this nugget will appear in the palette on the right hand side of the window.
What I want to do -
I would like the nugget not to be placed in the stream and only appear in the palette.
What the problem is -
I have noticed in the past that the nugget created sometimes are placed in the palette only, sometimes in both the palette and the stream. I don't know what is controlling this behavior, and changing a couple of items in the "User Options" didn't seem to help.
Appreciate your help!
Actually, I've found out the answer to my own question. I'll put it here just in case somebody else may find it useful (though it turned out to be quite trivial).
In Modeler 15, the setting is done in "User Options" by the check box "Add Model to Stream".
In Modeler 16, the above doesn't not work (even this option exists). The real control is in "Stream Properties".

Sublime Text 2 (or other) syntax highlighter for NetLogo

Does anyone know of a syntax highlighter, ideally for Sublime Text 2, for NetLogo? I'd rather not write my code directly in NetLogo and prefer to use editors I'm more used to, but I can't seem to find a syntax highlighter for it.
There is the NetLogo syntax on PackageControl.io.
Also, as you see can see on the NetLogo resources page, there is one for VIM and one for BBEdit. There is also a plugin for Pygments.
If you ever want to try rolling your own or improve another, this NetLogo wiki page might be useful.
There is one floating around for notepad++.
I downloaded it a while ago, but I can't seem to find the link for you right now. Someone posted it in yahoo groups, and it is a user defined language you have to import into Notepad ++. I wish I had the link for you, I'm sorry I can't be of more help.

Multiple Search Results Tabs From Mulltiple "Find In Files" Actions

In Delphi 7 when i ran multiple Find In Files searches each search result would generate a separate tab. We've since upgraded to Delphi 2010 and now when i run multiple Find In Files searches each time one is fired off it replaces the tab instead of creating a new one with the results of the successive search. Is there a way to get the old functionality back, a setting somewhere?
Thank you,
Brian
In the Find in Files dialog, there is an option "Display results in separate tab". Make sure that is checked, and the behavior should be what you want.
You can look into using a vertical grid for that. DevExpress' VerticalGrid can duplicate that functionality.

Resources