I've added a build.xml file to my project in order to control the "maven-ant-plugin".
However, Netbeans doesn't list that file in its "Project files" list (next to pom.xml, nbactions.xml, settings.xml, ...). So, I have to go via the "Files" tab and navigate to the project's root. Not impossible but not convenient. I'd like to have all those files grouped together in the "Project" tab.
Is there a way to have Netbeans displaying that build.xml file in the "Project files" list ?
Related
I'm using Eclipse Kepler and I'm unable to 1) hide the target folder and 2) to hide the duplicate src folder in project explorer.
In previous versions it was possible to filter the folders with a regex, but in Kepler I don't see an option to enter a regex in Customize View->Filters.
I checked "Java output folders" and "Maven build folder" but they are still visible.
For the duplicate src folder:
I would like to only see the top one (the one with the flattened layout)
Here's my build path:
Got it. Apparently the default view in Kepler is "Project Explorer". Switching to "Package Explorer" reveals the old functionality with the familiar "Filters" dialog. There I entered target,src et voila...
In eclipse the Open Resource window (Hot keyed to Cmd+Shift+R) to open a file by typing its name seems to show *.pyc files despite the Navigator view correctly hiding them.
Is there anyway to set this up to ignore PYC files?
I have looked at the following links and it appears that pydev may require a src folder underneath the main eclipse folder. I do not have that structure however the full project has been marked as a 'source' folder in Pydev - PYTHONPATH under project properties.
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/2183420
http://pydev.org/manual_101_project_conf2.html
I found the solution!
CMD+i on the project folder (or "right click" -> properties), then:
under "resources" -> "resources filters":
click "add"
choose "exclude all"
select "files and folders"
check "all children (recursive)"
type *.pyc in the text field at the bottom
ok
ok
\o/
I am using Eclipse/Texlipse plugin and if I create a new project Texclipse
automatically creates a folder called "Search Paths". You are not possible to do
a right click on that folder to get to the properties etc. I was wondering whether it is
possible to somehow hide that folder as it just includes the paths for the latex compilers etc.
The "Search Paths" folder is only virtual and is not created by TeXlipse on the file system. Furthermore, it is solely shown in the "Project explorer" view. You can use Eclipse's "Navigator" view instead, which is similar to the "Project explorer".
I have a deploy.launch file that I checked out with a project that does not include the Eclipse project in source control, it only includes the .launch files.
How can I add the existing .launch files to my Eclipse project without having to click "new external tools configuration" and then cut and paste the fields from the .launch file into the wizard to effectivly recreate the .launch file? I would much rather just, well, launch it.
File > Import... > Run/Debug > Launch Configurations
Just right click on the .launch file, select "Run As", and it's right there.
.launch files seem to get incorporated into the "External Tools" menu just by virtue of being present, although sometimes it decides it just won't bother.
You should be able to right-click > Run As on the .launch file.
How about:
Run-Icon-dropdown -> Organize Favorites -> Add
..opens a list with all .launch files associated with your project.
after adding, the files are available in the Run and Debug dropdowns.
In NetBeans when you go to Navigate -> Go to File you can search for files by filename. Is there a way to instruct NetBeans to ignore some files. It's picking lots of files from a tmp directory in my project which I never intend to open and it's just noise.
You can also add folders to the "Files ignored by the IDE" configuration.
Select Tools|Options and add the folder names to the regex.
NB: I have not yet confirmed that this achieves what is described.
In NetBeans 7 you go to "Project Properties" then to "Ignored Folders" and you just add your folders there.
You can configure include/exclude file patterns on a project by project basis. This feature will allow you to add an exclude pattern for your 'tmp' directory, which will stop 'Go to File' suggesting files contained in this directory.
To configure bring up the project properties (File -> Project Properties), select sources, and click 'includes/excludes' button. I.e.:
In my version of Netbeans (6.9.1 on Win 7), there is no button under Project Properties -> Source in which to enter exclusion patterns.
You have to go to Tools -> Options -> Miscellaneous -> Files and add the necessary file names or extensions under "files ignored by the IDE" in the Ignored Files Pattern field regexp.
For ignoring an entire folder, it is (in my version) on the project properties screen, but not under Sources; instead look at the "Ignored Folders" category.