Copy from browser paste to netbeans not working - copy

Copy from browser paste to netbeans not working. How could this be happen?
When I try to paste notepad, it is working, but when try to netbeans it is not working? I am in shock

Try to make an empty copy (Ctrl+C without selection) within Netbeans and then try again to perform copying from browser or another application.
It works for me after many solutions I tried.
This bug report
also suggests adding
-J-Dnetbeans.slow.system.clipboard.hack=false
to the netbeans_default_options in netbeans.conf, but it did not work for me.

This Problem is known for over 10 years now and still not fixed.
See https://netbeans.org/bugzilla/show_bug.cgi?id=88161
Workaround: Restart the IDE.

It looks like the NetBeans IDE assumes that what a developer does with other applications (clipboard operations) is not relevant to NB. The only time that NB does not apply this assumption is when the clipboard is empty. The NB clipboard must first be emptied by cutting or copying nothing (similar to previously posted answers). There is no menu item; there is no shortcut to clear the NB clipboard.
This problem still applies to NB 12.0 as of 2021/5/18.

Selecting text and dragging into the Netbeans still works if you are lazy to restart.

I'm facing the same problem. If you use cut (ctrl+x) and paste (ctrl+v) instead of copy (ctrol+c) it works.

Stop NB and run NB with Administrator privilege, it works!

Press Windows+R
type %appdata%
Go to local folder in AppData (you might be in Roaming folder go back one)
Go to Netbeans folder
And delete Cache folder.

Related

All I get is "Client/Server JS Editor"

In XPages, when I try to open a .js or .jss file, I often get just the tab wirh "Client/Server JS Editor" and nothing else, i.e. the file doesn't load. From the Navigator Eclipse view, I can open the same .js or .jss file using any other editor without problems. And then, it sometimes works, but I don't know yet when it does and when it doesn't. The other Editors are okay by the way, .lss opens nicely.
This behaviour I get for a few weeks now. Since it started I reinstalled Notes a few times, I upgraded to FP8, I also reinstalled Windows10 and Windows10 upgraded me to the Creators Update (with the fix, in the end). There's nothing that explains to me why the file doesn't show up on the screen.
Anyone familiar with this? Could you please tell me how to repair this?
Thanks!!
It's a bug introduced with FP8 that is fixed in FP8 Interim Fix 1. See this document for download options for FP8 IF1.
As a workaround you can do a clean/rebuild of the nsf and then use the SSJS editor.

Editing hidden files in Netbeans

I currently have hidden files displaying in netbeans 7.3.1. I can even open the files and make changes but when I try to save I get an (Access is Denied) message.
Just to check I tried opening the same file in notepad, attempted the same thing and the save was successful.
I assume it has to do with a permission issue between netbeans and the file on my windows system.
I'm running Windows 7 x64 SP1
I cannot just run netbeans as administrator.
I can't seem to find anything online about this, every link that comes up has to do with simply displaying hidden files in netbeans which I have done already.
The files I downloaded began with a . (.header.html, etc) which I know usually means hidden. In order to proceed my work I manually removed the dot assuming it would allow me to edit the files. It did not, so I went ahead and checked the file properties and apparently it was still considered hidden. I then unchecked hidden and saved and was able to edit the files in netbeans perfectly fine. I wanted to see if I can keep the . and have the hidden field unchecked and it works perfectly fine.
I know the . signifying hidden is more or less linux specific, but in every version of windows I've used it seemed like the . had the same effect. What happened was I copied these files from an older computer (windows xp) so the file must have retained the flag but in windows 7 the . has no influence. I just checked to confirm by creating a file .test.html and the hidden flag was not triggered.
Hope this helps someone in the future.
You can try to remove the hidden file privilege from the files that you want to edit. In the menu bar click organize from there select folder and layout options. Now You will see a lot of options click the ones that say to display hidden files.

Why can't I save file in Eclipse Juno?

Sometimes I cannot save a file in Eclipse Juno.
The File->Save option is greyed out and Ctrl+S does not work. What's going on?
This is a known issue in Eclipse Juno:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=396418
As a workaround, use 'Save All': Shft+Ctrl+S
Try: Save as. It will tell you what is a problem in your code. Probably you did "copy-paste" and some characters cannot be mapped using "US-ASCII" encoding characters.
You can also restart your Eclipse.
If you didn't use that "Save all"-workaround that was mentioned you will of course lose all your unsaved progress.
By restarting Eclipse you will be able to use the "normal" save again (until it is greyed out again...for me this happens like once per day)

Create a folder using the file explorer in NetBeans 7.3

I am kind of new to NetBeans and am having trouble understanding the project explorer. I am in a HTML project with existing sources, and I can do everything just fine. Except that I can't figure out how to create a folder using the file explorer.
It seems to me like there should be a folder button, but there's not, and I cant figure it out.
EDIT:
I did find that if I copy a folder that I create somewhere else and then press Ctrl+V (paste) it puts it in there, but I don't want to have to do that.
I am pretty sure this is not a question for SO. However, since you have asked it, go to "other". A window will open. From there go to "other" (again) then select "folder"... That should do it.

Workspace dialog is not coming

When I'm launching my eclipse application, the workspace selection dialog box is not coming. When I checked the settings in preference pages, the check box was selected for "Prompt for workspace on startup". Has anybody come across this situation?
If you wish to use another workspace than the default - or what have become the default - you can specify the -data <path> argument at start-up in the shortcut. I usually have a shortcut for each of my important workspaces - for the current set of active customers - and have linked these to my desktop.
Having said that, I don't know why you have the problem you have. The Prompt for workspace at startup setting usually works fine for me...
Yeah i think i know what you're talking about, i had this problem once, when i checked the box the problem got resolved, i would try unchecking the box, then closing eclipse, then open it up again and check the box and close it again, then see if the problem persists, if it does i have a way around it, if you want to switch to a different workspace then you can go to file-> switch workspace -> and then a recent workspace or select other to manually select a directory.
Hope that helped!
John
start eclipse using eclipse -clean
It will work.
Thanks to some comment on the eclipse issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=134412