Whenever i perform a file search in eclipse, it scans all files including .svn-base file.
Provided i am using * for file name patterns.
Is it possible to scan all files for searching but skipping the .svn-base file?
It is possible. But the search pattern is inclusive and not exclusive. You can click on Choose button and select the file types you wish to see in your search results.
You also have custom plugins for excluding .svn and .cvs directories during searches.
If you have Subclipse, the search filtering is included.
Note: since Eclipse Helios 3.6M3 (October 30, 2009), you can actually exclude resources from your project, making the search more precise as a result.
alt text http://download.eclipse.org/eclipse/downloads/drops/S-3.6M3-200910301201/images/resourceFilters.png
Related
How can I use 'search in path' for Eclipse Mars 2.0 to find a string pattern in either the name of a file and also find a string pattern in the name of a folder?
I have a folder named 'Personal Finance' in a git repo that I primarily use Eclipse to work with. When I search in file for 'Finance' the only search results that show up are in files themselves. Is there a way in Eclipse to search file names and folder names simultaneously?
Do not use Search dialog(Ctrl+H) for this. It searches inside the file content.
Use open resource dialog(Ctrl+Shift+R).
In the input pattern text box enter
<Folder/File NamePatter>/
For example:
*handler/
This will list all files which has handler string in their names and present under the folders which has handler string in their names.
*handler/*nature
This will list all files which has nature string in their names and present under the folders which has handler string in their names.
See this post for more details When typing in Open Resource dialog, is there a way to find files by directory instead of just the file name? also look into this bug and read all comments.
This may not interest to you but have a look on it:
In this blog you can find the details of a plugin which filters resource in package explorer view by name patterns. But now its limited to filter only projects. Go through this bug and this bug
I created a RoboHelp html help project that merges three projects into a master project. Indexes and search terms work fine in the Master.chm. However, this Master.chm gets merged into another "Super-Master" application that my application is a plug-in for. After that merge, the sub help .chms items do NOT appear in index and search does not find them. Is there a limited number of "levels" merged help will allow index/search to work? Or is it more likely there is some other problem (ie. Super project doesn't use Binary index) or something?
Mostly it's the binary index. Please check following list of general tips from Rob Chandler's website:
All CHM files should be installed to the same folder.
You can install any number of Slave CHMs but the Master CHM must always be installed if you want the slaves to reference the master
Table Of Contents.
Each project must enable the "Binary Index" in order for index merge to work.
A binary index will not be created if you select 1.0 as the version in the Compatibility box > Compiler tab > Project Options
dialog or if the Create a binary index check box is cleared.
Rick Stone reminded that the Master index must contain at least one index term in order for the merge to work.
Similarly "Binary TOC" must be disabled otherwise merge will not work.
Include HHC works recursively, so you can have groups of optional modules. I.E. HHC files including HHC files that include other HHC
files and so on.
Merging of Index and ALink keywords. This does not work recursively, because they do not know about the TOC inclusions. If
you want to have a unified Index or cross-module ALinks you have to
tell every CHM file which others might be available belonging to the
same project. Again: Do not merge yourself.
Another idea: If you have identical keywords from several files, HTML Help uses the <title> tags in the list of targets. We extended
the title of each topic with the title of the module itself (the
"book"), leading to: <title>This fine topic title (This fine book
title)</title>.
An include statement in a HHC file can refer to a standalone HHC file. The HHC file should be placed in the same folder as the CHM
files.
In Eclipse (CDT), is there a way to find all occurrences of a string in a single file? I can search the entire workspace easily enough using Ctrl-H, and can do "find-next" using Ctrl-F, but I want to be able to see a list of all matches for just one file.
It would be possible to do by setting up a custom file filter for each file I want to search, but that's very clunky. Eclipse should be able to work out which file I have open and just search that file.
This seems like it should be easy, but I can't find an appropriate option...does it exist?
Use CTRL+H and switch to File Search as you already mentioned, but set Scope to Selected resources. Now you can either search the current file, or selected multiple files and search all of them
I have an eclipse project stored in subversion that contains *.launch files. The problem is each time someone imports the project, the ordering of the external tools corresponding to the *.launch files changes. Where is the ordering stored? Is it possible to store that ordering with the project in subversion so that on each import, the ordering is the same?
It appears the display order of the *.launch files aren't random, but a derivative of alphabetically.
Example:
FixClassPathForTesting
Manual systemTest classpath
RunMeFirst
BAR-FullDeploy
BAR-Restart
FOO-FullDeploy
FOO-Restart
I don't know the rules, but it seems to group files if they have a common prefix and show those after non-prefixed files. (Notice "FixClassPathForTesting" is before "BAR-*")
There isn't a way to specify the desired ordering, but fiddling with the name of each *.launch file can result in the desired order.
Is it possible to exclude files from debugging in Eclipse?
There are my files which I have written and I am interesting in going through these files using debugger Step Over command.
But there are also many imported library files and Step Over goes into these files, which I'd like to avoid. So is there an option eother to specify which files to debug or which files to exclude?
If you're using a JVM based language (as you didn't specify), under Preferences, filter for Step Filtering.
You will see a list of packages. Add your packages to the list, and ensure Use Step Filters is selected.
Assuming it's an entire package you want filtered out, and you're using Java, this should do what you want.