Netbeans autocomplete, search and other functionalities not working - netbeans

I am using Netbeans 8.2 in Ubuntu 16.04. Whenever I checkout a branch using git, the search, goto function definition and the universal search(ctrl+shift+f) etc breaks. But it works when I delete the project from Netbeans and add it again. But this method won't retain the last opened tabs. Could somebody please suggest me a fix?

Related

Problems creating a project with CodenameOne in Netbeans

Install Netbeans 12.6 on a Windows 10 machine. I was able to install the CodenameOne plugin with no problem. When creating a project I get the following error message:
Cannot invoke "org.openide.filesystems.FileObject.getFileObject(String)" because "folder" is null
I've been surfing the internet and can't find a way to fix it.
Thank you for your support.
This approach is no longer supported. The plugin is only used for legacy applications and no longer works in newer IDEs due to breaking changes in almost all IDEs.
Starting with Codename One 7.x we moved to maven projects which don't require the plugin and can be created in https://start.codenameone.com/
I have followed the instructions in the manual and it mentions as important:
"Before opening the project in NetBeans, you need to copy the contents of the tools/netbeans directory into the root project directory. These files are required by NetBeans to build, run, and debug the project correctly. "
But I can't find this folder in netbeans version 12.6.

IBM Worklight 6.0 - Copy/paste is not working

I am using IBM worklight enterprise edition in Eclipse Juno.
Sometimes cut, copy and paste keyboard shortcuts are not working in my workspace. At the same time the user is allowed to paste the copied content using mouse action Right click -> paste.
The clipboard contents are getting pasted in some other file other than where I am pasting it and makes me to search through all over the application where it is reflected.
Any solution to overcome this problem?
This is not a Worklight issue, but more Eclipse-related.
There are all sort of reports about it...
You can try these solutions:
http://www.jusuchyne.com/codingchyne/2012/12/copy-paste-feature-in-eclipse-juno-sr1/
Delete/Copy/Paste do not work in Eclipse Juno
Sometimes restarting Eclipse, creating a new workspace or using a freshly unzipped copy works too...

Cannot get CodeSniffer working in (any) Eclipse

i installed Eclipse then installed the latest PDT, then CodeSniffer from the official update site. After restarting eclipse, nothing changes. No validation at all. I can manually start PHP CodeSniffer on a selected file, but nothing happens.
Tried with Juno (4.2) and Kepler (4.3), even with Indigo. Nothing works. All the howto sites simply tell to install CodeSniffer from the update site, but it doesnt work.
Does anyone know how to get this working, so it prints warnings in my problem panel?
I installed it on command line as well using "pear install PHP_CodeSniffer". Calling it manually on command line works fine, but not in eclipse.
PEAR library is set to internal, selected Zend as Standard. PHP Exec is also set to my custom compiled one under /usr/local/bin.
I had to delete my .metadata and all settings, so i can start from scratch.
Had to add all my projects back again, but at least CodeSniffer was working.
So something was blocking it.

Drag files into NetBeans to open

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"

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.