I can't input certain characters on the PHPStorm Terminal - keyboard

I'm currently using JetBrains' PHPStorm IDE and I'm having problems using the embedded terminal with a Portuguese Keyboard (correctly set up on Windows). I can't input certain characters like "[", "{" or "]", which I can only access using the "Alt Gr" key, despite characters common too all keyboard layouts working just fine.
Is there any way to fix this? I'm forced to use the windows console to perform certain tasks because of this problem, which makes the IDE terminal a bit useless to me.

It's a known issue that is fixed already.
You will have to wait till next update (v2016.1.1) will be publicly available -- it's expected to be somewhere in a week time (no precise date for the moment, unfortunately).
In meantime you can either use English keyboard layout ... or keep using external console app.

Related

Windows 10: reset keyboard layouts possible?

Solved, see below!
Is there a way to reset keyboard layouts in general in Windows 10?
I messed up using Microsoft Keyboard Layout Creator some time ago, and I'm not able to fix it.
This is NOT something that can be fixed through anything in Language preferences, btw.
Last year, I was stupid enough to try to fix my keyboards on a "lower level".
I use the Norwegian and Korean keyboard a lot, sometimes also Japanese and Canadian French.
I have a hard time using symbols, like ";" - "'" - "~" etc, since these are placed differently on the various keyboards.
I looked for a solution, and found "Microsoft Keyboard Layout Creator". I tried to fix the keyboards, but it didn't work that well since it had problems with the Korean keyboard. I thus tried to change the Norwegian keyboard somewhat, so that I would be able to write more efficiently, without always checking what keyboard I was using (the Korean one also has the American one ingrained, with a simple push of Alt-Gr).
I also have tried to make a shortcut to go from Norwegian to Korean and back seamlessly, without scrolling through other keyboards as well (Win+Shift scrolls through all available ones).
I don't remember exactly what I did, but it didn't really work out, so I thought I deleted the customized keyboards, and went back to the regular ones.
But there was a problem: one of the keys, VK_OEM_3, the one to the left of "L" to be exact, (";" on a regular US kezboard) no longer worked in Norwegian when used in a regular way. At first, it changed keyboard every time I used it to write regularly. I had set it up to do this when pushed WITH another key (probably AltGr), but something was not right.
I managed to delete the customized keyboards, deleted and reinstalled the Norwegian keyboard from Microsoft, but lo and behold, the key no longer worked. I.e, it works when I push it down for a long time, maybe half a second, and then I get a lot of "øøøø". When using TeamViewer, it dosn't even help to hold the key in for a long time. And the digital keyboard certainly does not work.
I have tried to download other keyboards, and the key works well for A-Z and symbols that exist on a US keyboard.
Thus, the French keyboard, where it is an "M", works well. As does US and Korean keyboard layouts where it is an ";".
But it works as badly for Danish layout, where it is an "Æ" or German layout, where it is an "Ö". Both of these layouts were downloaded for the first time after I had messed up.
I have tried kbdEdit, that made me end up with a German keyboard layout I had a hard time to get rid of, even though I deleted it multiple times from "Langauge preferences".
I haven't learned kbdEdit well though, so it might work out.
But I'm afraid that it might not work, and that I
But what has happened here? I used a Microsoft program, and thought that would be safe enough, even though I was warned it might not work, since it's old. But messing up one key completely...
I have deleted all the new keyboards from the Registry (HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts), btw. But it's apparently on a lower level than this, since there are problems with all kinds of keyboards that have "extended Latin" letters on that place.)
What I wonder, is if there is a file that can be replaced with a standard file. I don't really want to reinstall Windows and my hundreds of programs, but I can hardly work in Norwegian the way things are now.
I have to check the phrases for eventual missing "ø", and when I remember the problem, it stops my flow since I have to push down for a long time and then delete the extra "øøø"s.
I finally managed to fix the problem:
Under registry keys, in my case in multiple locations, there is a map called SYSTEM\KeyboardLayout\Substitutes.
I deleted everything but the default one in all of these, and now it works!

Can I disable autocomplete with Alt+Tab on Qt Creator under Linux?

For the most part I very much like Qt Creator, but a few projects I'm working on require me to switch between my editor and my web browser for reference. Qt Creator is currently interpreting Alt+Tab to autocomplete, and then switching my window focus; this is a mild problem but it's really starting to get to me.
I've tried going to Tools→Options→Keyboard and searching for Alt+Tab, but found nothing. Is there a way to get it to selectively ignore the key combination without disabling autocomplete on the whole?
To complete the picture, I'm on Linux Mint 19.04 using XFCE desktop environment; or occasionally Maté. If I need to access something in system settings to do this I'm happy to; I just don't want to keep excessively second-guessing my code when I return to it.
Auto-complete is bound to Ctrl+Space by default, not Alt+Tab. In tools/options/keyboard, search for "CompleteThis" to see what it's bound to.
Maybe what you want is to disable auto-complete and use only manual-complete? That is, have the auto-complete list only show when you press ctrl+space, but never automatically. You can do that in options/text editor/completion.

VS Code keyboard layout change

I am using Visual Studio Code with English keyboard layout switched in Windows when programming, but when I am using my computer for general use I use Slovak keyboard layout. Sometimes it can get ridiculous when I switch from one to another multiple times in one minute. Is there a setting (or a plugin) that could set the keyboard layout in VS Code to English while Windows layout is still set to Slovak?
I will summarize for you the solution to this, hope it is still helpful for you or any other looking for this answer:
you have to press Ctrl+Alt+P
then in the display that will appear at the top, write the language you want in case it does not appear
once this is done, VSC will ask you to restart.
once restarted is done it should be fine.
It is the way to do it without changing windows configuration as you will see in ther similar posts.
Hope it helps

How to insert an "—" direclty from my Keyboard without numberpad?

I have searched all corners of the internet, yet to find an answer to my simple question:
How to place, directly from keyboard input, the Em-Dash "—" character onto a code editor such as Notepad++ or Dreamweaver using modern notebooks (such as a dell xps 13" 2015, win10 64bit) without:
any extended keyboard numbpad, obviously;
any third party automation scripting softwares;
any charactermap insertion tools such as windows charactermap
How? Thanks!
I imagine you're asking about how to do it in Windows here.
I assume you know how you'd do it if you had a numeric keypad (Alt + 0151 if as it seems you are on the 1252 code page).
See also Insert Unicode characters via the keyboard? , in order to use the unicode value (Alt + +2014) .
This is an at least related question: How to emulate numpad on a PC laptop?
Possible solutions:
Most notebooks do have an hidden "numpad", accessible through the Fn key (see for example https://www.dummies.com/computers/pcs/the-hidden-numeric-keypad-on-your-laptop/ ).
I couldn't find out for sure if the Dell XPS 13 specifically does, but it is very likely.
This Me and My Dell manual (Using numeric keypad on a laptop) seems to explain its usage for all Dell laptops.
Use copy and paste (copy the character from some place and paste in the editor). A clipboard manager might help you if you choose to go this way.
You might also use some third-party software to have that character emitted when you press a key or shortcut, but I guess that is included in your "third party automation scripting softwares" prescription.
Use the unicode combination! I now found out that with that one you can use indifferently both numbers from the keypad and normal ones !
Unfortunately it still requires the numpad's "plus" (add) key, so you need to be able to type at least that.
See Insert Unicode characters via the keyboard? or https://en.wikipedia.org/wiki/Unicode_input to learn how to enable the combination, if it is not already enabled.
If there indeed exist laptops with no numeric keypad support unfortunately the Windows developers didn't fully anticipate for that; it probably wouldn't take much and wouldn't have negative repercussions for Windows to support the insertion via the normal numeric keys (or the normal + for the Unicode combination), but for now it's not supported (as far as I know).
It would be a bad mistake on the part of the laptops' developers to not include any way to type the numpad keys, though, as they are required by many programs.

how to type single quote in J gtk terminal under Windows 7

I just started programming J. Now I want to type
text=: 'hello world'
text
in the gtk terminal, which when run should display:
hello world
But when I type the single quote character it renders as ´, not as ' in the gtk terminal. And then when I run the program the interpreter says "spelling error".
Now the only way I can put a ' in the terminal is by typing it in notepad and pasting it in the gtk terminal. I find that cumbersome.
Now my question is:
Is there an easier way to type a ' in the gtk terminal?
I have Windows 7 64 bits version, also 64 bits version of J, version j64-701.
I just encountered this problem as well, and it appears that this is caused by a keyboard setting (controlling whether quotes appear directly or can be used to make é, ë and the like).
This setting can be changed in almost all Windows applications by pressing Left Alt + Shift. After using this combination, the single quotes appeared correctly for me.
HTH.
I've faced exactly the same problem and I found out that it happens in every software that uses GTK+ (Pidgin, GIMP, Geany, etc), if you have set your keyboard to English-International, when you press the single quote(')/double quote(") key, what you get is acute accent(´)/diacritic(¨).
The best solution to me was, adding the English-US keyboard to the list of available keyboards in Windows (yes, this solution is for windows but you can easily do something similar in any SO you are facing the same problem).
And when I want to input an [ ' ], I just press the default combination LEFT CONTROL + SHIFT to toggle between keyboards.
Long shot, but I'm guessing it's a keyboard thing. My French keyboard has a funky layout, and yours (I'm guessing Dutch?) might have one too. I guess I'm lucky, under Vista 64, I get single quotes, with the right key.
I think it's a bug of the specific version of J. I will ask this question to the support of the producers of J.

Resources