Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot insert tilde in Eclipse for C/C++

Tags:

In Eclipse for C/C++ on Windows 10, I cannot insert the tilde symbol '~' which works fine in other applications. I'm on a french keyboard, so I type Alt Gr + '~' to access it ('~' key is also the one for 'é' and '2'). I saw similar problems with curly braces or asterisks, resolved by deactivating a given shortcut, but I saw none for tildes.

I searched in the shortcuts of eclipse, but found none using '~' key with alt gr (even none with '~' key and alt or ctrl or something else).

Thank you in advance

like image 459
Allart Alan Avatar asked Sep 26 '19 06:09

Allart Alan


1 Answers

By typing Alt+keys 0 to 9 from numeric pad to compose values from 1 to 255 or 0128 to 0255 (list of codes and corresponding characters), it's possible to enter a few characters which are not available on the keyboard:

  • ~ : use Alt+126
  • ` : use Alt+96
like image 68
Sandra Rossi Avatar answered Oct 18 '22 19:10

Sandra Rossi