Resharper: 'contains' mode searching - resharper

Is it a way to set up Resharper to search inside names (instead from beginning) ?
Eg assume when pressing Alt + \ in dialog's results I can see
JohnSmith
JonnyBalboa
MariaSmith
I'm looking for all members contain 'Smith' substring - so I'm forced to use asterisk:
*Smith
But I want just enter 'Smith' without anything more (like in DPack)
EDIT
I've opened R# ticket for this. If anyone interested PLEASE VOTE !
UPDATE
'Contains' mode was implemented in R# ver 5. Works perfectly. Even better I dreamed - intellisence also supports that!
Try it and vote for it!
(RS v5. available here)

I don't believe this is available. You would always have to enter a '*' at the beginning.
If you feel that this is a feature you would use (personally I think I'd find it annoying as I usually search for items by prefix) then you can enter a suggestion on their issue tracking site:
http://www.jetbrains.net/jira/browse/RSRP
Not directly related to your question, but one way of searching for an exact match (i.e. not a prefix) is to include a space after your search term.

Related

M365 Lists Partial Word Search without Wildcard

Currently in M365 Lists, you can only do a partial word search using a wildcard. This also applies to SharePoint searches, but does not apply to most other M365 programs. I contacted Microsoft because, in earlier versions, it was a setting to enable or disable needing the wildcard. Microsoft says it cannot be done - need to use wildcard. I do know that when you start typing in the Search, it will bring up all records with whatever you type directly under the Search. If you pick one, it brings you up to another screen - again users not used to and not feasible. If you enter on the Search with a partial word, it brings up a blank list.
Issue - this is for a phone database that over 1500 people use. Current database does not require wildcard. So you can type kal and get all names starting with kal. To try to tell 1500 people how to do it (include wildcard), is just not feasible. I have asked Microsoft if we could add a field to top of list that we could code to search (without wildcard). Have not heard back yet, but it seems like it is first level support that is answering any support questions I have even when I ask to give it to someone higher up.
So, does anyone know how you can do a partial word search in Lists without the wildcard - either by changing the config of Search or creating a new field that will allow users to search? Welcome to all ideas. Thanks!

Can I replace Tab key as the trigger key in autokey?

I have recently started using Autokey on a Raspberry Pi. I have it installed and operating as expected. The one issue I have encountered for which I cannot find a solution is that I would like to use the backtick key to trigger text expansion.
I have used back tick key previously with other text expansion/hotkey utilities (namely I used it with AutoHotkey on a Windows machine for years). I prefer to have a trigger key to avoid any unexpected triggers. I am so used to using the backtick key that I hit it instead of Tab. I chose the back tick key a decade or more ago for this purpose because I seldom use it (whereas Tab I use constantly). That muscle memory is a hard thing to go against.
I cannot find this discussed anywhere in the documentation and had no luck searching for an answer around the webs. I dug around in the Autokey program files, but didn't find anything so far. Seems like choosing a custom trigger key should be doable.
I haven't been able to solve this in the way I mentioned in my question (setting the backtick key as the trigger rather than the Tab key). I have however come up with a simple work around.
In all of my abbreviations I include the backtick as the last character. Doing this in combination with using the 'trigger immediately (don't require a trigger character)' accomplishes what I was seeking to do.
I am still interested to hear if anyone knows how to do this more directly (changing a setting, rewriting part of the program, etc.).
AutoKey has an option to trigger expansions on all non-word characters. The problem is that it does not consider the backtick a non-word character. To change that, you would have to edit the source code and add the backtick to that list.
I'm not sure where that is in the source code, but if you ask on our Gitter page https://gitter.im/autokey/autokey , one of our developers or advanced users may be able to help you.
This still isn't exactly what you want, but it's closer.
You could also replace the tab key with the backtick key in the source code, but that sounds a bit more dicey and might have other side effects.

Search in Issues feature gone from GitHub?

Not sure when it happened, before the change or after, but I'm not able to find a search box for searching in issues anymore. Has it been relocated, or it's gone?
Any search you do in the main search field (preceded with "This repository") when you are in a GitHub repo page will return:
result in code
and issues
Note: The shortcut / will focus on the search field and search within the context of a repository.
Note: that shortcut doesn't work with a french keyboard on Firefox. And it only works if I type ':' (again on a French Keyboard) in Chrome. So your mileage may vary. With US locale, this should work fine.
Note that in 2022 (9 years later), there is a command palette, and you can customize the keyboard shortcuts.
When browsing a repository, you can use the "/" shortcut (just type the character) to easily search issues (as well as the code.) There are a lot of really helpful shortcuts (i.e. "gi", which transports you to a repos issues list.)
Type "?" to get a list of shortcuts for a particular context.

Tab behavior Resharper Intellisense Options

A product like Resharper has many settings, and I can't seem to find the right settings to get the exact behavior I desire from it.
The behavior I am trying to change is this:
Suppose the endresult I want is
but the line currently is
As you expect I start typing:
and after a tab I get this
but I wanted it to become
Does anyone know how I can change the Resharper settings in such a manner that my desired behavior is realized?
Thank you.
EDIT: Note that tab does perform the desired behavior in the default VS Intellisense.
In this particular case, here's what you should do:
Go to ReSharper > Options > Environment > IntelliSense > IntelliSense Behavior, and set Automatically insert parentheses after completion to Opening only.
Now, with the caret right before SomeMethod(), type in Math.Ab, and complete Abs with Enter, as correctly suggested by Rob H. You'll end up with Math.Abs(SomeMethod();
Finally, press Ctrl+Shift+Enter to invoke the Complete Statement, which in this case will insert the required parenthesis at the end of the statement, and put the caret on the next line.
Keep in mind though that this might not be the optimal solution provided that you probably have plenty of other usages of code completion that could conflict with this kind of settings change.
If that kind of similar code modification is required in multiple places, you should possibly create a search and replace pattern instead.
Hitting Enter instead of Tab will insert without overwriting, although you then end up with
Math.Abs()SomeMethod();

jqGrid search filter questions

Have two questions.
Make the search filter form non modal.
Allow searching by pressing enter key instead of having to press the Find button.
thanks.
sachin,
Your question seems to be more of a statement, but if you're looking for various options for jqgrid, take a look at:
http://www.trirand.com/jqgrid/jqgrid.html#
New in Version 3.5 > Integrated Search Toolbar
This allows you to interactively search and it respects the Enter key.
However, you lose operators... but I suppose you could modify the code that's given to add something similar back in (or bundle your operator in with the text....ie, user enters "> 400" rather than "400", but this poses security risks)

Resources