A while ago, Ctrl+V stopped working in Intellij IDEA. Neither the shortcut nor Edit > Paste works. It's really weird, since "Paste Simple" still works fine, so does Ctrl+C and Ctrl+X.
I've seen a lot of suggestions to solve this problem, but most of them are somehow related to the Vim Emulator for IntelliJ, which I don't use. I tried to play around with the Keymap, but could not get it to work.
I'm using Intellij 2017.2.5 on Windows 10. Maybe I screwed it up myself somehow, but I wish to fix it, because it's really painful to work without Ctrl+V.
You can try alternatives:
Ctrl + Shift + V for Windows or Linux
or
You might try Ctrl+INS for copy and Shift+INS for paste and
see if they work. They are the traditional cut and paste and have been
around a lot longer than Ctrl+c/Ctrl+v
I had the same problem, I regularly reboot so I always have a back-up of my settings. When I reimported them and updated the plugins I could paste again without issues.
Back-up your settings from a working state File>>Manage IDE Settings>>Export Settings and use >> >>Import Settings to apply them.
If you don't have a back-up you can try it, but you might be backing up the problem as well. In that case you will have to reset to defaults and reset the IDE to your liking.
My OS is Ubuntu 18.04, and i had this problem before. An effective solution for my IDE is to set the Keymap to Default, which is file>setting>Keymap.
Related
When I open the Eclipse IDE the window titles don't show text properly, not all but most texts related to the IDE are jagged and glitchy, anyone knows what might be the issue?
Things I have tried:
Restarted Eclipse multiple times (both closing and opening, and also; File -> Restart)
Changed the fonts
Updated the IDE and everything within it to the latest version:
Version: 2021-03 (4.19.0)
Build id: 20210312-0638
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 15.0.1
Changed the appearance(s)
Changed the encoding(s)
Restarted the computer
Also I'm using the Windows 10, and OS and Drivers are updated to the latest version at the time of posting this problem
I searched in/with Google, Stackoverflow, and other search engines with different wording, and all there was were issues with in-editor text rendering/formatting (As you can see in the picture other texts appear fine, like the project itself)
P.S. I don't have the issue with other IDEs I use; like Android Studio (IntelliJ), although I've seen the same issue on Android Studio which used to get fixed with a simple restart, which later they patched the bug as well, so idk if I'm missing something or not, any help would be appreciated
Ok, I've found a solution or a way around it, I now am pretty sure it is an IDE's bug
It seems to be a problem with the theming option, what I did was changing the themes to see whether it's gonna get fixed or not, and what I missed was I didn't check all the themes! One appears to be fixing the issue and that is the "Classic" theme only, the only one that works currently
Here's where to find it:
Window -> Preferences -> General -> Appearance -> Theme (dropdown menu) -> Classic
Note: Even disabling theming won't fix the problem for some reason, only selecting "Classic" seems to be working at the moment, hopefully they will fix it soon
When I use IntelliJ for Java or WebStorm for HTML/CSS I get this change (I think that that is the best way to say it): it basically removes my file tree from the left side of the screen and forces it up which makes me unable to find and open/edit files easily, sometimes I cannot even edit the files at all. (See the picture)
This has been really annoying since it forced me to use NetBeans instead of IntelliJ.
I hope someone is able to help me with this so I can use IntelliJ again.
To open the Project view, press Alt-1 (or Cmd-1 if you're using Mac OS X).
So I just downloaded the newest eclipse version and I noticed I don't have autocomplete. I went to the preferences and enabled them. I restarted eclipse and when I got back - still no autocomplete. I went to the preferences again and the checkboxes I checked were unchecked now. I tried doing it again without restarting - the moment I do something like
Button btn = new Button();
btn.
and I press control + space I get No default proposals. When I go to check the settings again the checkboxes get unchecked again(by themselves). I added the source code from the jdk too. Still no success. I tried to download it again a few times. Each time to no success. I tried placing the eclipse folder in tons of different places - first it was in the program files folder (I run on windows 10 64), then I moved it to a non system drive it still didn't save. I tried creating a ton of new workspaces all at different places on my harddrive and still nothing worked. I tried looking for people with the same problem as mine but most say they fixed the problem by updating - I can't update because I just downloaded the newest Eclipse version. Anyone has any idea how to fix this?
Well sorry if you just found this on Google because my solution is just as dumb as most of the solutions out there. After the 2nd reinstall I decided to try again tomorrow as it was getting late. Next morning everything worked. I didn't even turn off my PC so not a restart fix.
The autocomplete of eclipse is not working now and I searched for hours but I couldn't find an answer to solve it. I haven't used it for long time then the first thing after opening it was to install SWT and windows builder even though I had swing installed. What I mean is, it is may possibly be because of some conflict caused by swt and swing(I read something about a conflict but I don't if this is possible).
Strange thing is it doesn't show anything when I press ctrl+space but when I go Edit-> Content Assist -> Default(it says Ctrl+Space nearby it), it shows things needed to be shown/works as desired.
public class Dsada {
String sssss;
public Dsada(){
sss //pressing ctrl+space is not working,Edit->ContentAssist->Default works fine
}
}
The solution is not to tick/untick some stuff under Windows->Preferences->...->Content Assist-> Advanced. I checked if "ctrl+space" is hijacked by some other thing which is not and checked keyboard language which is English(Those are suggested in mkyong).
I read something about a bug but I couldn't understand. I tried to delete eclipse and re-install again but I guess some settings just stayed in the machine so that it didn't work.
This is recurring for me. I'm using Eclipse 2019-03 in Windows 10.
The steps below work for my case, and does not require a restart.
Window->Preferences->Java->Editor->Content Assist->Advanced
The following options are de-selected, and when I set them the autocomplete worked as before. No restart needed.
1. Java Non-Type Proposals
2. Java Proposals
3. Java Type Proposals
4. Java Proposals (Task-focused)
I don't know what's triggering this but it only happens after I've created a new project. Usually doesn't. It simply doesn't happen often enough for me to notice a pattern to follow up on more.
Clearly this problem occurs with a variety of causes, so review the other answers to see if they match your case.
The hot key combination ctrl+space might be conflict with other settings in system if you are using windows.
Try modify this combination like alt+/, i always use this one since the first time i knew eclipse. It works well.
Hope it works for you.
Window->Preferences->Java->Editor->Content Assist->Advanced
The following options have to be selected, then the autocomplete worked . No restart is required.
Java Proposals (must be selected, not sure the follows)
Java Non-Type Proposals
Java Type Proposals
Java Proposals (Task-focused)
I was facing the same issue. If you use OS X Eclipse Ctrl+Space shortcut can be interfering with OS X system's "Selecting previous input source" using Ctrl+Space shortcut as default.
It is necessary to
edit System Preferencies/Keyboard/Shortcuts/Input Source and uncheck the "Selecting previous input source" or change the shortcut on something else. Eclipse should work after that even without restart.
I faced hot key problem with use Ctrl+Space. I tried to fix the issue first by Windows->Preferences->...->Content Assist-> Advanced and selected
Select the proposal kinds contained in the 'default' content assist list:
Other Java Proposals,
List item
SWT Template Proposals
Template Proposals
Type Proposals
but didn't help.
Therefore, I tried another solution. There would be multiple languages on your computer which could be eating up your Ctrl command. To solve this Go to Control Panel -> Region and Language -> Keyboards and Languages (tab) and then Change Keyboards.
You’ll see a list of languages installed – remove any that you don’t want (click the language and then click the Remove button) until you only have the ones you want left. That fixed it for me, but you can also check the Advanced Key Settings tab to make sure that none of the keyboard short-cuts that are set include Ctrl-Space.
Once you’ve done that, Ctrl-Space should work nicely!!!!
I had the same Problem on Ubuntu 14.04. The problem for me was that ibus used Ctrl+Space as a shortcut. I solved it by starting the program ibus-setup and chaning the shortcut to something else than Ctrl+Space.
Go to Windows >> Preferences » Java » Editor » Content Assist. Then Check the Auto activation triggers for java, Add this in the text box .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Recently, I also faced this issue. When I install neon version eclipse.
By (1) deleting respective class, (2) restoring defaults appearance and (3) restarting eclipse, solved the problem for me.
Hope it will help someone.
Go to Preferences » Java » Editor » Content Assist » Advanced. Make sure Other Java Proposals is ticked/checked.
I checked windows has no conflict of ctrl+space (of eclipse autosuggestion) with windows.
This is mere configuration issue of eclipse. reinstallation would fix it.
Thanks.
I select all the parameters in Preferences -> Java -> Editor -> Content Assist -> Advanced.
It help me and resolve the my problem.
Cltr+space work using this step.
Saving my work and restarting Eclipse solved this for me. I hadn't shut down Eclipse in a while, maybe weeks.
I had the same problem (MacOS Monterey, Eclipse 06-2022). Turned out it works with pressed fn button.
For Mac user, you can try : Preferences -> Java > Editor > Content Assist and then :
tick the field "Enable auto activation"
in the field Auto activation trigger for Java, you can input the text alphabet ".abcdefghijklmnopqrstuvwxyz"
I was working on eclipse two days ago, and closed it properly.
Now, when I'm trying to start it, I get the splash screen popping for a blink of an eye, then disappearing.
I get:
no error message, and
no error is logged in the <workspace>\.metadata\.log file (the last errors logged there are from two days ago).
Apparently, the problem isn't with the workspace, because I changed the SHOW_WORKSPACE_SELECTION_DIALOG argument in <eclipse>\configurations\.settings\org.eclipse.ui.ide.prefs to true, and it doesn't even get as far as showing the dialog.
There's only one thing I can recall I did before it stopped working - I have installed a plugin for UFT Java Extensibility SDK from HP.
Needless to say uninstalling it didn't help.
Is there any other log I can hope to find helpful?
Or anything else I can do to get it to work?
EDIT:
I was just trying to start another instance of eclipse I have (adt-bundle-windows-x86-20130219), and got the same outcome.
EDIT:
I added Java & QTP to the title in order to help others who bumps into the same issue.
If the JRE is somehow the issue, try installing a JDK (not a JRE), in a non-default path (for instance, C:\Prog\Java\JDK1.7.0_xx), and make sure your eclipse.ini explicitly reference that JDK.
-vm
C:/Prog/Java/jdk1.7.0_21/jre/bin/server/jvm.dll
(you can use '/' even on Windows in an eclipse.ini file)
The problem was indeed with Java (Thanks Arne). Re-installing the jre didn't help, so I also tried to deleted the JAVA_OPTIONS and JAVA_TOOL_OPTIONS enviroment variables, which solved the problem.
Later, I found this discussion which seems related to my problem: http://h30499.www3.hp.com/t5/Unified-Functional-Testing/Environment-variables-JAVA-OPTIONS-and-JAVA-TOOL-OPTIONS-is/td-p/5855995.
I will look more deeply into it later, when I will start using HP's plugin, but I hope this thread can help others who run into trouble with eclipse after installing this plugin.