Drag files into NetBeans to open - netbeans

I updated my Netbeans from version 7.0 to 7.1.2. One of the first things I noticed is that I can no longer drag files from my explorer window into netbeans to open it. Does anyone know why I can no longer do so? Or if you know of a setting or something to get this to work as it did in the previous version that would be great. I have scoured the internet for a solution but have not been able to find and answer.
EDIT
I had updated my version of NetBeans and it had worked for a couple weeks but no I am no longer able to open files by dragging them onto the IDE.

Hate to say this, but on my Windows 7 box "it just works". Try upgrading your netbeans to a newer installation.

I found the solution to my issue. It looks like if NetBeans is run as administrator then you are no longer able to drag and drop file to open them in the IDE. Turning that off fixed the problem for me.
To do this in Windows 7: right click the Netbeans icon > Properties > Compatibility tab > Change Settings for All Users > unclick "Run this program as an administrator"

Related

Netbeans Updater Trouble

I've installed Netbeans IDE 8.2 at my PC. But I don't know why it also appears "Netbeans Updater" when I open it and every time I want to exit, it appears again and automatically open Netbeans too.
I've already choose "Never"at automatically check updates at Tools
How to solve this?

Installed a plugin on eclipse (mars), now eclipse won't start. How can I uninstall the plugin?

I installed a plugin for viewing json files, its the "json tool" by sweetlemonade.
Anyway, after installing it I tried to view a json file (very large file) which I thought the plugin might be able to handle. Well, eclipse crashed when I did this. Now I can't get eclipse to start again. It fails when it gets to "loading org.sweetlemonade.eclipse.json"
I've searched for other answers on here but the accepted answers include using "p2 director" to uninstall the plugin via command line. The only problem is the answer is for an old version of eclipse. I'm using eclipse mars and can't find an install for "p2 director" anywhere.
How can I uninstall this plugin manually and get eclipse to run again? I want to solve this without having to reinstall and lose my project setups.
Okay so I managed to solve this by navigating to
configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
and deleted the line responsible for the plugin:
org.sweetlemonade.eclipse.json,1.1.0,../../../.p2/pool/plugins/org.sweetlemonade.eclipse.json_1.1.0.jar,4,false
Then I ran eclipse again and it opened just fine. I saw the tab where eclipse previously tried to open the large JSON file was still open except now it has an "x" with the message that the json tool plugin couldn't be found. Since the issue was probably occurring because eclipse kept trying to restore that tab every time I opened it, I closed the tab then closed eclipse and re-added the line I deleted to the bundles.info file. Lastly, I reopened eclipse and uninstalled the plugin the proper way (since the plugin wouldn't be of any use to me).
It sounds to me like Eclipse autosaved your workspace with that file open; the autosave happens every 5 minutes by default. Rename that autosave file, found in _workspace_/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi, and relaunch.
You can then use the Help → About → Installation Details to uninstall the JSON editor if you so choose.

Right click in eclipse is not working?

My right click is not working in eclipse.I tried to work on servlet so i downloaded javaEE to work and used yesterday (Aug 13 2014) after i didn't used my eclipse which I am using regularly today i started working on the android in my regular eclipse.When i started working on the project my right click not working in package explorer. Also in Window --> show view showing blank.
These are the different trials i have done.
restarting the eclipse.
Change the work space.
restarted the computer.
But the problem is not solved.
Restart Eclipse with a "-clean"
Open a command prompt (click Start, Run... enter "cmd"), then go to the directory where you have Eclipse installed with "cd ", and then run "eclipse -clean".
I had similar symptoms recently. Turned out it was caused by the Subversion server being unavailable - once that was restarted I was able to right-click. My environment was Eclipse Luna with Subclipse.
So worth checking that any connected source control systems are operational. Hope that helps.
You may try clearing SOCKS proxy if your company using a proxy server.
Window → Preferences → Network Connections → Select SOCKS → Click on
Clear (Make sure you have proxy server listed in it).
Turn on error view in Eclipse: Window -> Show View -> Other. Search for Error
There you'll most likely find errors in the log, which will tell you which plugin prevents the menu from opening.
For example, I found:
java.lang.NullPointerException at
de.anbos.eclipse.easyshell.plugin.commands.DefineCommands.createContributionItems(DefineCommands.java:49)
at
org.eclipse.ui.internal.menus.ContributionFactoryGenerator.compute(ContributionFactoryGenerator.java:72)
at
org.eclipse.e4.ui.workbench.renderers.swt.ContributionRecord.mergeFactoryIntoModel(ContributionRecord.java:271)
Fixing EasyShell plugin config solved the problem for me
This happened to me, but only in the "SVN Repositories" window (so I couldn't check out anything). Using the right-click button on the keyboard worked (had to connect an external keyboard with such a button to my laptop).
I had this problem with STS and I went to the STS folder where I started STS and opened eclipse.exe instead of STS and this fixed the problem. I was able to use the Right click for my project.
This fixed my problem "temporarily ONLY"
I was facing the same issue and went to Preferences-> Network Connections and changed the Active Provider from Direct to Manual. This resolved my issue.
I had the similar problem.
Later I found that I have installed one plugin name "ContextQuickies" from market place which is causing this problem.
I have uninstalled it and restarted eclipse which solved my problem.
My environment was Eclipse Kepler.
Steps to uninstall:
Help->Install Software->Already Installed -> This will open new window from there you can Uninstall the plugin and restart.
Hope this helps
I just ran into this issue. I simply restarted eclipse since I had it open for days.

Eclipse Juno: Windows "Open File" dialog box does not work

I recently move to Eclipse Juno from Indigo. Although Juno works perfectly as far as my needs the windows "Open" dialog box does not load for some reason. For example, File/Open File does not work.
This is a problem across all places where we need to include a file like adding external JARs or any other place where files need to be added from a windows directory.
"Include Directory" does work where I need to get the directory included but the issue is only with file dialog box.
I have a Windows 7 64 bit and it’s a Eclipse with Java & CDT plug-in.
Reinstalling eclipse would be a last resort as I would need to re-configure 40+ projects again as we have a very peculiar setup here.
I did try to research this but hardly could find more details.. Any pointers to fix this issue will be greatly appreciated.
Edit:
Just wanted to add that tooltip does not work up when I hower mouse on the different icons/files ect, not sure if this is related but just wanted to mention.
Also, I tried updating my eclipse to Kepler but it still does not work, I am now wondering if my Windows 7 has something to do with this..?
I was able to finally resolve this based on research done in this Eclipse bug. My work machine still has java 1.6.0_26 and this release has a bug related to AWT.
I changed the eclipse's java version to 1.6.0_45 and this issue was resolved. I used -vm parameter in eclipse.ini file in to tell eclipse to use a different version.

Eclipse failed to response under Fedora 12

i tried fedora12 yesterday, but i find eclipse doesn't work. at first i thought this problem is related to SELinux, but after i turn off selinux, i still can't
create a project, i press the "next" or "finish" button, there is no response. well the "cancel" button works. there is no error popup, or error logs.
i tried eclipse -debug -console; but there is no log output when i click the button. it is so weird, is this happened to anyone before?
environment: fedora12, JDK 1.6.0_17, eclipse Galileo.
computer: t400.
This is a bug due to a change introduced in GTK 2.18, see Bug 291257. The current workaround is to export GDK_NATIVE_WINDOWS=true before to run Eclipse. I actually use the following startup script:
#!/bin/sh
export MOZILLA_FIVE_HOME=/usr/lib/mozilla/
export ECLIPSE_HOME=/opt/IBM/eclipse
export GDK_NATIVE_WINDOWS=true
$ECLIPSE_HOME/eclipse $*
I can't install plugins from update sites, either.
In a blank eclipse install, adding a new update site (es: jboss tools) using the keyboard works; also, it's possible to select a release to install from the available software list.
The new plugin gets installed, but won't appear in perspectives (es: jboss devel) after restart.
After that, adding new update sites and trying to install their releases won't work, the available software list remains empty.
Using Fedora 12 Eclipse 3.5..
By the way, "Fedora Eclipse" rpm is screwed at the moment, it won't install a single file
SOLUTION:
Eclipse 3.6 fix those problems http://download.eclipse.org/eclipse/downloads/
Just add helios update site
There seems to be an incompatability with gtk/gdk shipped with F12. You can tell eclipse to use the native GDK and it should correct these problems:
GDK_NATIVE_WINDOWS=1 ./eclipse
You can also add -DGDK_NATIVE_WINDOWS=1 to your eclipse.ini file. That should help if you switch workspaces.
it's a bug, the keyboard works. try it.