How to get rid of this highlighted part. It is not code but IntelliJ is trying to make this code more readable by suggesting this. It is super irritating
I expect code to be viewed in simple way
I disabled the inlay hints for everything from IntelliJ settings and Now issue is resolved
How do I stop IntelliJ Cursive from re-formating my Clojure code? I'll be staring at a function, realize where I missed a parenthesis, put it in, and BAM! my code is now all re-indented!
I DON'T WHAT IT TO DO THAT!
I like my code the way I laid it out!
I don't want Cursive's formatting help unless I ask for it!
I found something.Settings --> Editor --> Code Style --> Clojure...This last option may only be present if you've installed the "Cursive" plug-in for Clojure code.There is a HUGE list of indents and tab/spaces settings. I set everything to zero (0). That seems to be holding, so far.
so this is annoying me because I use tab to leave brackets etc and when I use auto-complete and a semicolon is being placed after the bracket this happens:
https://streamable.com/i9as2
as you can see in the first statement I'm having problems "jumping" over the semicolon while when I dont use the auto-completion in the second statement (and don't get the semicolon automatically) it's way easier to navigate through it with tab. I know that there is the shift-enter shortcut but I don't really want to develop a habbit of using it so often because I can imagine trying to do that when working with my other IDE's can become quite annoying. I searched through the options but did not find any option do disable that behavior. Does anyone know a way to get around this?
Second Tab press should jump after the semicolon, I've created a feature request for that.
It's already fixed and the fix will be available starting from 2019.2 IDE version.
When working with IntelliJ on a JavaProject it shows to use alt + enter to import a class for example, but this isnt working anymore. It worked in the past, but something must have changed, -the shortcut is still set,-other shortcut would work- i cant assign alt+enter manually, although if i reset it to default it gets set to it, any ideas how to fix my problem? btw my keyboard layout is german, but i dont think it is the problem because it worked in the past, my os is win 7. edited: when i am working within the IDE and i e.g. write Arrays.toString(a); and didn't import "java.util.Arrays" yet, the IDE says: " ? java.util.Arrays? Alt+Eingabe" (Eingabe = Enter in German) so when i assign a different shortcut it works, but with Alt+Enter it doesnt thanks in advance for any help.
"Well, it means IDE doesn't see the shortcut for some reason. Probably it's already used by some other application or the operating system. – CrazyCoder 25 mins ago "
i closed all applications and it turns out that, Facebook GameRoom, running in the background, somehow is the reason the shortcut doesn't work, i have no idea why, but thats the solution
many thanks to CrazyCoder
It was working earlier but it stopped working due to unknown reason,
One workaround is Try fn+Alt+Enter
I had the same problem
and it turned out to be the keyboard language in Windows, It wasn't english,
so just make sure you are on English
On my side, culprit is some VPN software called PulseSecure
fn + Alt+Enter+Shift worked for me (credits #ketankk).
My problem solved. just try :
LEFT Alt + Enter
LEFT Alt+Enter
Looks like some languages override Right Alt behavior, at least in case of Lithuanian Left Alt is working fine with Lithuanian enabled, Right does not, when switch to English, everything is fine again. Was pulling hair to figure out why out of nowhere it stops working, thanks
In my case hint is showing Alt + Shift + Enter, but Ctrl+Shift+Enter works for some reason oO
In my case, I mapped Alt+Enter to a system shortcut (for expanding the current window) and I forgot. So it might not be another program, but your past self-sabotaging you.
I have the same issue. Alt+Insert not working while I was trying to generate getters/setters for my POJO class.
I just added another shortcut for that "Generate" operation.
If you are using Intellij Idea, you can do that by following steps:
Go to File -> Settings -> Keymap.
On the search bar appeared, search for "Generate", you will find an entry to which assigned shortcut will be Alt+Insert.
Right click on this entry and select 'Add Keyboard shorcut'.
Now, type your own shortcut that you want. In my case, I used Ctrl+Shift+G.
It worked fine and now I am using my new shortcut for Generate operation.
I had the same problem while upgrading to a new IDE version. The cause was a plugin error in new IDE version, I resolved disabling/updating that plugin.
I'm using PHPStrom v 8.0.2
While i was hit command-Z to undo thing.
The editor jump around to somewhere but not to the cursor as illustrated image.
That makes me very annoyed.
Is this a bug or have i setting something wrong?
HERE IS HOW TO REPRODUCE
Edit any line
Place the cursor far... far away from the edit line
Hit command-Z to UNDO thing <-- The editor will jump to the edited line
Hit command-shift-Z to REDO thing, the editor jump back to the line in (2) <--- NO... IT SHOULD NOT
Seem like Jetbrains does fix this in PHPStorm v9 EAP.
But that program will expired after 30 days, Any where to implement this in PHPStorm v8.0.3 please?
One more thing, I can't find any keyboard shortcut key for auto indent for the whole document, please advise.
Best Regards,
This seems to be Intellij default behavior; it treats cursor movements as edit actions and as such they are being undone and redone.
See this post