VSCode - Ctrl + Alt + L adds weird character. Need to get rid of it - visual-studio-code

I seem to have enabled an awkward mode in my VS Code editor that i cant seem to backtrack.
I initially set my Ctrl + Alt + L keybinding to format the code in my editor. Which it initially did. After that - I don't know - I must have pressed some set of keys (maybe shift + something, but I'm not sure), and now whenever I use that key bind. It instead enters a tiny dot like character.
'royalblue̥̥̥̥', <- Like that.
I don't know what this character is and how it came. But I can't get rid of it.
How do I get rid of it?
UPDATE: The issue seems to have been solved, I don't know how. Apparently, when I restarted my machine, the issue was gone (maybe others who come across this can try doing the same). I am, however, keeping this question open, in case someone encounters this and can't get rid of it. Perhaps, an answer may arise and we can finally find out what the issue was all along.

I can confirm that this is due to keyboard language setup. My machine's language was set to English (India) and this same issue started since then. I switched to English (UK) and it got fixed.
I am not sure if this issue is specific to English (India) keyboard language, though. I have English (US) and Urdu (India) keyboard languages as well and I don't face this issue with them.

Related

VSCode Type Hint toggle display

How can I toggle on and off the display of Type hints in VS Code? For example, I've got the code .remoteOf(ClassServiceClient.class) and what I see is .remoteOf(CLAZZ:ClassServiceClient.class) but I can't actually select or seem to interact with the CLAZZ word.
How do I toggle this on and off? It seems useful in certain situations, but it just makes me think I typoed something.
I'm sure this has been asked before, but I haven't been able to come up with a word that seems to describe this feature.
This feature is called Inlay Hints and can be found under the Editor section.
After this, I've gone from displaying clazz:#Log4J2 to #Log4J2, and have enabled the option to display this hint by holding down a set of keys, ctrl + alt by default on Windows.

sublimetext is combining letters

I am using sublime text 3 portable under ubuntu. I must have hit some sort of shortcut, because all of a sudden, sublime text is combining letters to some sort of arabic language. (As most of the letters are not displaying correctly, I can not tell which language it is). The following should have been visibility:hidden;
vしびilちÿひضㄣ;
I fiddled around a bit, but I dont know where to start and what to ask.
Edit: It has not neccessary something to do with arabic. For example s+s are combined to ß.
I was desperate so I erased
/home/username/.config/sublime-text-3/Packages/User/
Which kind of worked. I shouldn't have erased all of it, now I get some errors when opening a file. But the typing problem is also gone. If someone else tries this, maybe she should be a bit more careful.

How can I "accept" the autocomplete in Netbeans?

Sorry if this is a stupid question, for the last ten years I've worked solely in a text editor.
In Netbeans, I'd like to be able to quickly accept the autocomplete and move on. For example:
$foo["bar
Netbeans will have automatically completed this to:
$foo["bar"]
My caret/cursor is after the 'r' of bar. At this stage I would love to be able to hit one key and move to after the ] or even the " and then the ]. I can use the right keyboard arrow but that is impractical/painful. They must have thought of this by version 8? It really interrupts my flow and right now I'm just retyping the characters myself as it's quicker than moving my hand to the arrow keys.
I've scoured Netbean's menus, help, StackOverflow, Google. I think the answer will be very simple but I'm not sure what I should be searching for. I may just be very dim.
I use the end key to jump past the autocompleted characters.

Eclipse is printing the wrong characters in the text editor

I have a strange problem with Eclipse (Helios). After a few hours of working some of my keyboard keys start printing different characters in the text editor window.
For example:
SHIFT+2 normally prints " but actually prints #
# normally prints # but actually prints /
It feels like it changes the keyboard locale from UK to US, however I don't change any settings. I am mainly using Eclipse for Android development. No other programs are affected. Any ideas on how to fix, or even what could cause such a problem?
I've hit something similar before: Windows has this evil key-shortcut enabled by default, that changes between installed locales when you press left ALT + left Shift, which is needed in many Eclipse-shortcuts. Check your keyboard -settings (or something alike) under control panel, I don't have a Windows-machine to check where you could disable this with right now.
To switch off the switch between input languages behaviour (as described by #esaj) goto:
Control Panel->Region and Language->Keyboards and Languages->Change keyboards->Advanced Key Settings->Highlight Between input languages->Change Key Sequence->Change to Not Assigned.
Jeez, what a lot of clicks!
Before you change Keyboard setting (as suggested by #dontumer), hit "left shift+ left alt" until you get your layout back. It doesn't take more than two or three times. Once your layout is back then you can change keyboard settings if you are interested.

Validate Autocomplete in Eclipse

Coming from Visual Studio and starting a project in Java, I realized I couldn't cope with having to press ctrl+space to have the autocomplete panel show up. An easy workaround was to set all keyboard characters to be trigger characters for autocompletion.
My only problem is that, when presented with autocomplete suggestions, a single press on the space bar will write the first proposition. In situations where I'm happy with the suggestions, that's just fine. In situations where I actually want to use what I wrote down initially, I have to press 'escape' first to remove the autocomplete panel before I can press 'space' safely.
Netbeans doesn't use the space bar as a validating key for autocompletion (only 'enter' does that) and I like that behavior. Any way to replicate it in Eclipse?
Thanks in advance for your answers!
EDIT: I should have mentioned I'm using Eclipse on the Mac.
Guillaume
I have the same problem with Eclipse Indigo on Windows XP actually. Coming from intellij idea, I also felt the need to set the whole keyboard to trigger auto-complete.
A quick proof that SPACE key does accept suggestions : type inte on a new line. If the auto-complete menu shows, press SPACE. It goes for Integer.
If anyone knows how to set the SPACE key to "ignore suggestions", it would be great, because the escape key on my keyboard is also too far away :)
Thanks
Edit : actually the best would be to have only the ENTER key validating, because ';' and '(' also seem to validate
I just tried to reproduce your behavior, but couldn't. Here is the configuration I have (and the steps I have done to reproduce):
I have installed Indigo (current version of Eclipse, version number 3.7).
I did not change any configuration there, this is what is the default:
Under Window > Preferences > Java > Editor > Content Assist, I have the following settings:
Completion inserts (instead of overwrite)
Insert single proposal automatically (which is ok most of the time)
not insert common prefix automatically
I have a simple class, go down to a method, and do the following steps:
Enter this.no and wait some time. Sometimes I have to press CTRL + SPACE, sometimes not.
Proposal pops up which includes notify and notifyAll.
I press SPACE and a space is inserted in the text, the autocomplete suggestions are closed without inserting anything.
I do not know if older versions of eclipse have the same behavior.