Eclipse: Workspace Bookmark / Shortcut - eclipse

I need to switch between Worksspaces very often. The long pathnames make it difficult to find the right ws in the pull down menu.
Is there an Option or PlugIn to create bookmarks for my Worksspaces in Eclipse (in an view for example).
Or do you handle this problem?
regards

There is a shortcut already available in Eclipse > File (menu). Here is the screenshot:
Hope this helps!

Related

class view in eclipse

In Eclipse, is there a way to have a Package Explorer like view that shows the classes without having to open the files individually.
I have this project where many classes are written in same files, and that makes navigating them so annoying. Is there some sort of ClassView in Eclipse that disregards file names.
Regards
This question is currently almost 2 years old, but for anyone ending up here through a Google search (like me):
Eclipse offers a "Java Browsing" perspective which is probably what you want. To see this, go to Window -> Open Perspective, and select Java Browsing.
You can use the Outline view.
Window > Show View > Other. Filter by the word 'Outline' (it's under General folder)
window->show view->outline was helpful for me as this was the only window missing in existing perspective.
Yes you can use F3 key if you're seeing this class, o you can use Ctrl+Shift+T shortcut to open 'Open Type' and write in it the name class
Okay, it's been asked a long time ago. You may be looking for the Breadcrumb. Searching for it and got this question. Suddenly I did it unknowingly and shared here. There is a button beside "Save", "Print" buttons; "Toggle Breadcrumb". :)

Javadoc Tooltip with Content Assist in Eclipse

When i started to use Eclipse's Content Assist, Eclipse used to give me Javadoc help of item i focus in a tooltip box next to content assist. However, after a while Javadoc tooltip stopped working. I tried resetting preferences to default but no luck. What should i do?
p.s: Javadoc works when i highlight an element (i.e. a method).
I mingled with various options for 4 hours...even created a new workspace. Finally what worked for me was some preference changes.
Goto Preferences > Java > Editor > Content Assist, click on Restore Defaults.
Restart Eclipse and you are good to go.
You could try checking you have the latest version (and possibly reinstalling) xulrunner. That's Mozilla's platform independent GUI library, and as far as I'm aware it's used to display the javadoc, both content assist popups and in the javadoc tab. The likely cause of your problem is bugs/communication difficulties between eclipse and xulrunner.
I was facing the same problem here, and then, armed with Gaurav Kumar tip, I managed to solve it.
The problem here was that I had put a lower auto activation delay value. When I put it back to 200 and restarted Eclipse, the javadocs came back.
I solved the problem by changing Preferences > Java > Editor > Content Assist -> Auto Activation -> Auto activation triggers for Javadoc from "##" to "#".

Search and Replace only in open files (netbeans)

Anyone know if it's possible to search and replace in all opened files in netbeans? Can't seem to find the option if there even is one.
I'm using the Netbeans 6.9 PHP IDE
CTRL+SHIFT+H
This will open the Replace in Projects, where-in you can search and replace on files on all open projects, or on the selected project only.
Open the file you want the replacements.
Press Ctrl + H
And them at the bottom you will see
It's available in builds >= 7.4 from NetBeans. Not available in 7.3. I just got a status update message from NetBeans that they've added this feature.
Use Replace in Projects. Shortcut = CTRL+SHIFT+H
Select Open Documents
To search in open files press CTRL+SHIFT+F and in section scope select Open Documents.
Sure you can ... or at least you can do something very similar ...
Go to projects view and select multiple files (the files you have opened in this case). Then press CTRL+F and start searching in the selected nodes. It's not exactly 'opened files' but I think it's your best choice.
Hope that helps!
PD: CTRL + CLICK is a good method to select multiple files on Windows.
This seems impossible in netbeans 6.9 and it hasn't been introduced in Netbeans 7 either.
This is possible just the Rule mentioned.
Check Uncheck the files and hit replace button on left hand side.
Select your files you want to find and replace in Project view ( Window > Projects )
Go to Edit > Replace In Projects...
In Replace in Projects window select "Selection" from "Scope" dropdown menu
Find and replace will be committed on your selected files in Projects view.
This is the way I found.

Displaying full path of filename in tabs ~ Netbeans 6.8

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).

How to link opened file with project tree in NetBeans

I feel dumb asking this question, but I can't find solution to this myself.
When I open several files in editor and switch between them, I have problem finding currently opened file in project or files tree.
I used Eclipse before and every time I changed a tab with file, the project tree set focus for the same file. Is there a way to do something like this in NetBeans?
Just thought of adding what ax said:
The keyboard shortcuts in Windows are:
Select in Projects : Ctrl+Shift+1
Select in Files : Ctrl+Shift+2
The keyboard shortcuts in OS X are:
Select in Projects : CMD+Shift+1
Select in Files : CMD+Shift+2
As described in NetBeans "link with editor" feature, if you want the link to be permanent or persistent, use View | Synchronize Editor with Views. (In NetBeans >= 6.7.1, at least.)
from http://forums.netbeans.org/topic3732.html :
You can do this from the navigate menu, I believe. There are entries for
going to the file in the project tab or the file tab. I didn't see an
option that allows you to do this automatically, like there is in
Eclipse, but this menu entry allows you to do it upon request.
[edit]: also working: in the file > right mouse button > select in > projects | files | classes | favourites
[edit 2]: http://forums.netbeans.org/topic8420.html : This feature is not available till NetBeans IDE 6.5. This feature is added in the new version and may be available in NetBeans IDE 7.0M1 and after and you can find it in the View Menu.
Navigate->Select in Files or Projects