Find in Workspace
Start typing in the Search text box to find all files, workspaces and text in files that matches the string.
example: MyVariable
example: MyClass
example: My*Component
example: ::FunctionName(*,*)
example: MyFile.cpp
example: MyWorkspace.10x_workspace
example: pretty much anything...instantly
Open Files From Disk
Start typing a file system path and auto-complete with tab
example: d:\MyProject\somefile...
Opening a workspace file:
Open a workspace file: start typing the name of the worksapce, use the up/down cursor keys to select
the workspace, hit enter to open the workspace.
example: MyWorkspace.10x_workspace
example: .10x_workspace to list all workspaces
Wildcards:
By default searches support the wildcard character *
example: My*Variable will match all variables that start with My and end with Variable
Space wildcard:
For file searches, space acts as a wildcard.
example: My File.cpp will match all files that start with My and end with File.cpp
Logical expressions:
You can use the logical operators AND and OR and AND NOT
example: apples AND oranges will match lines that have the words apples and oranges in (in any order).
example: apples OR oranges
example: apples OR oranges AND NOT bananas
WORD operator
End your search with WORD to match only full words.
example: my_variable WORD will match my_variable but not my_variable_1
CASE operator
End your search with CASE perform a case sensitive match.
example: MyVariable CASE will match all lines that contain MyVariable (casesensitive)
IN operator
Find text in files that match the path pattern
example: SomeText IN CoreLib Finds 'SomeText' in all files whose path contains CoreLib, eg Workspace\Libs\CoreLib\MyFile.cpp
example: SomeText IN .cpp Finds 'SomeText' in all files whose path matches the wildcard.
example: SomeText IN MyFolder\*.h
example: SomeText IN file1.cpp,file2.cpp Finds SomeText in file1.cpp and file2.cpp
NOT IN operator
Find text in files that do not match the path pattern
example: SomeText NOT IN CoreLib Finds 'SomeText' in all files whose path doesn't contains CoreLib
example: SomeText NOT IN My*Lib Finds 'SomeText' in all files whose path does not match the wildcard *My*Lib*
DEF operator
Attempt to find a class definition
example: MyClass DEF expands "MyClass DEF" to "class MyClass AND NOT ; CASE WORD"
Alt-Down | - Show history dropdown |
Down | - Show history dropdown (if text box empty) |
Alt-C | - Toggle match case |
Alt-W | - Toggle match word |
Ctrl-Backspace | - Delete to start of current word |
Ctrl-Home/End | - Select first/last match |
Tab | - auto-complete when entering path |
Escape | - close modal Search window |
To open the settings in the Search window click on the cog to the right. Click again to close.
There are more Search settings in the general .10x_settings file.
Pressing down in the text box when it is empty will show you old searches.
Search automatcally adds an implicit * wildcard to the start and end of the search string (eg *MyVariable*, so there is no need to add your own.
Search will only scan files whos extensions match those that are set in the settings. If you add a new extension in the Search window that is not in the settings it will be automatically added to the settings and the worksapce will the re-scanned.
Search will only show workspace files that have already been opened normally. When you open a workspace Search will remember it and show it in the search results.