So ,I am from Croatia and I use Redragod Kumara K552 keyboard and its croatian keyboard setting.On croatian keyboard, combination of keys to write left curly bracket is alt gr + b.It worked but suddendly it stoped working, but its weird because both keys are functioning normally except for that.i can still write right curly bracket using alt gr + n.It is a big problem because its slowing me down because i have to copy paste left bracket any time i want to use it.It bothers me most how long it takes to write CSS.Does anyone know how to fix this???
I just want to use my keyboard normally.
I want to know how I can write those two lines || in Eclipse and/or in Android studio. I never figured out how to do this i always copied them out of the internet- -> very uncomfortable.
That depends on your keyboard. On mine it is on the key on the lower left next to the left shift.
However if you don't find it, hold the Alt key and type 124 on the numerical keypad. At least under Windows that returns |.
The standard layout on an a macbook pro is not quite efficient if one wants to do a lot of programming. I want to change that with some small tweaks.
One of those would be: Change Caps Lock to be a key like cmd and ctrl. For example if I want to write '{' I want to press 'Caps + a'.
Is that possible?
I Want to get keystate for some key like shift. If I press "a" with shift to write "A" then by g++ program on linux how can I ensure that shift is also pressed while I press key "a".
Thanks in advance.
See the answer for this question: What is Equivalent to getch() & getche() in Linux?
It will give you the correct keycodes, i.e. 'a' if you press 'a' with shift depressed, 'A' if you press it with shift pressed, etc. Getting the state of the shift key alone is a different matter though, I'm not sure if there's an easy way to do that.
When I'm programming I often use copy and paste, which requires me to grab the mouse, highlight the text, and press CTRL + C (I'm using Windows BTW). Is there any hotkey or solution out there for a keyboard short cut that I could press and have it start copying each character I type? It would be such a godsend to get rid of that whole highlighting mess!
You can probably develop a quick application that does that in VB (via global hotkey listener). But for me, I am a keyboard shortcut nerd, and I use CTRL + Shift + ← /→ to navigate the caret through "words" (sometimes that means every non-alphanumeric token, but it varies on the IDE you're using) that I want to copy--It's much faster than Shift + ← /→. I also use this combination frequently: End, Shift + Home, CTRL + C, which is a quick way to select and copy the whole line.
I can see where you're coming from with the "toggling copy", but I think using the full extent of the keyboard, while primitive, is the best and most practical.
Shift + ← and Shift + → will select text forward and backup.
Most editors have a lot more (Ctrl - Shift + ← for selecting to next word boundary for instance) but depends on the application.
Depending on how long your code is, you can always do Shift + End, then CTRL + C to copy the line, providing that you're at the end of the line. Shift + Home would select the preceding line if you're at the beginning of the line, etc.