can anyone help me solve the issue that I have ?
in fact when I create a project on eclipse, the bin folder doesn't display and I am able to create a javadoc for my project. I need help please.
I don't know what the reason for your question but you can see the bin directory in Project Explorer (not Package Explorer). Here you click the triangle and select Customize View... and remove the click on Java output folders
To change this behaviour and hide the “.class” files you need to do the following.
Find your class output folder in the “Project explorer” window. This is usually called “bin” or “target” for Maven projects
Right-click this folder and click “Properties”
Tick the “Derived” checkbox and click “OK”
“.class” files will now be hidden in future.
Source: http://ayubmalik.co.uk/2011/12/hide-class-files-when-opening-a-type-or-resource-in-eclipse-ide/
If your Eclipse version doesn't allow you to show "Java Output Folders" as mentioned by nanda, then try the Navigator View (From the main menu: Window > Show View > Navigator). The Navigator View shows the bin folder.
Your question is a bit vague but try right clicking on the project and choosing build path, and see if the output directory for your java classes is set to bin. It may not appear in your unless you add some Java source code
Related
I have copied my src package structure from eclipse to intellij and it makes this structure within src folder:
How do I make it dz1.drugi so I can one click expand all to my classes?
Another question is how to select default project folder as it is "workspace" at \Users\{Name} for eclipse. Right now, when I create new project like this:
it saves it without workspace (or projects folder) at \Users\{Name}.
Click on the cog icon at the top-right of the explorer view, and check the "Flatten packages" option.
That said, If you get used to keyboard shortcuts top open classes and files, and navigate through recently opened files, you'll quickly see that you'll amost never use the explorer view anymore.
Project view has an option to compact empty middle packages, enable it. You can also use Flatten packages option. Actually, your question is a duplicate of this one.
IntelliJ IDEA remembers the last location you've used when creating a new project. Once you want to create another project, the location one level upper of the previous project directory would be suggested. So, create a project in C:\Users\someuser\workspace\myproject1 and IDE will suggest C:\Users\someuser\workspace\myproject2 for your new myproject2.
I'm new to eclipse. I was having a problem with one of my classes so instead of commenting the whole thing out, I right-clicked and clicked exclude. Now I don't know how to bring it back into the project. Wouldn't it make sense for there to be an "include" button right next to exclude? Thanks.
To see everything that is excluded, examine the whole build path in the UI with Project Properties' Build Path.
To access, Right-click on project, Choose Properties and select Java Build Path. You can now browse and remove any exclusions you no longer desire.
See this screenshot if it helps.
I use a maven standard directory layout for my projects.
The image Below is a typical project explorer view of a "not so minimum working example" of the view I want to customize.
As you can see, all the relevant folders are marked as source folders, so there is no need to show the src folder hierarchy as it is shown below the included libraries.
So the question is, how can I get rid of the redundant src folder showing, i.e. how to show only source folders and libraries?
I've playing around with filters and content configuration of the view but couldn't find the way to do it.
Click to the third right top button, then "Filters" and then check "Name filter patterns" and write "src". Then the second src folder is hidden.
This is actually not added twice it is because of the explorer view you are using, just change it to navigator view and your problem will get solved.
Check this post might help you more, it is not related to you answer but show how to select navigator view
Hope this will help you :).
The description in Andreas B.'s answer refers to the Package Explorer view. In Project Explorer view it's:
View Menu → Filters and Customization... → User filters → New → src → activate/check it → OK
I'm working on a new Eclipse workspace and my setup is very simple:
My source folder is named src, my classes folder is named classes and I have in my classpath also the classes from the build on the server located under server_classes.
When I use the Find Type option in Eclipse it shows me the .java files under src and the .class files under server_classes.
Is there anyway to instruct it ton exclude those files by default? (I want to keep them in the classpath - just not run into them by mistake when looking for a particular class)
When you open the Open Type window (ctrl-shift-t), at the top right there is a little black triangle. Click on that and select "Select Working Set..."
You can then create your own working set that only includes your source directory.
Open the Search Dialogue by pressing Ctrl+H, and select the "Java Search" Tab. The "Search In" Section should be self describing.
If you don't see a "Java Search" Tab press the Customize button.
I can't seem to find a way in the options to display the full path of the file at the title of the tab. I can hover over it to see it, but it would be nice to see it at a glance.
There is a SU question about it also, https://superuser.com/questions/88637/netbeans-how-to-view-file-full-path-in-window-title-or-somewhere-else
Does anyone have a solution for this to actually display it? I can see there is a custom .jar for it in the RC2 Netbeans, but that's probably way old now.
PS, I should mention that a path relative to the project would be ideal, as well as a full path. Either really :)
NetBeans 8.0.2
Tools > Options > Appearance > Document Tabs > Show full file path
The full path will appear only for the active tab (under the tabs), but you can also check "Show parent folder name in tab title" if you want to see the parent folder for every tab:
Try to use following netbeans plugin.
In Netbeans 6.9.1 (at least) you can open the Window/Properties window and pin it under the editor; this will contain the full path in the "All Files" property which is then visible at all times and always contains the current editor file's properties.
Starting from NetBeans 6.9 you can use the NetBeans extention "show path in title":
http://plugins.netbeans.org/plugin/42000/show-path-in-title
it's very helpful :D
You can also 'Select in --> [Project|Files|Favorites]. This opens the exposes the node for the file in the Projects, Files or Favorites explorer.
To do this, right click in the text editor for the file you are interested in; the 'Select in' item is near the bottom of the menu that appears.
Try using CTRL+TAB, you can find the path in status bar. This is not complete solution for your question but using keyboard (without using mouse atleast) you can find the path of the open file(s).