Add support for `.XCompose`
See original GitHub issue- VSCode Version: Insiders ece7aaee [snap]
- OS Version: Ubuntu 20.04 LTS
ETA: Also occurs in latest stable (specifically ff915844 [snap])
Steps to Reproduce:
echo include \"%L\" > .XCompose
echo <Multi_key> <t> <h> <e> <r> <e> <f> <o> <r> <e> : "∴" >> .XCompose
- Launch visual studio code.
- In the main text editor (new file),
<compose>therefore
producesþerefore
, and in addition<compose>
by itself is missing its indicator (image 1). In integrated terminal,<compose>the
produceshe
, still missing the indicator.
Images:
Does this issue occur when all extensions are disabled?: Yes
Expected vs produced:
∴
vs information in 4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
XCompose - man pages section 5: File Formats
XCompose - key input sequences. ... New com- pose rules can be added, and previous ones replaced. FILE FORMAT Compose files are plain...
Read more >How to use .XCompose to produce snippets? - Ask Ubuntu
How to make Compose key combination generate strings (Ubuntu 18.04):. Open Settings → Region & Language → Manage installed languages → ( ...
Read more >Adding custom Compose key sequences - Unix Stack Exchange
You're almost there: the file is indeed ~/.XCompose . You can specify an alternate location with the XCOMPOSEFILE environment variable.
Read more >[PART 2] How to operate ~/.XCompose with QT applications?
Part 2 (the first part is available on the old forum). First of all a big thanks for your help @bobbed!! I have...
Read more >XCompose | The Agda Wiki
E.g., On debian, add the following line to your /etc/default/keyboard if you want the Left Windows Key to be your compose key:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, I’ve kinda started digging into this problem. It would seem that this Chromium changeset is related: https://chromium-review.googlesource.com/c/chromium/src/+/3207928/
Which I found while digging for related issues in Electron: https://github.com/electron/electron/issues/29345
I’m typing my compose key, followed by the string ‘therefore’ into the editor and instead of typing the ‘therefore’ character (∴ - defined in my XCompose), it types þerefore (‘þ’ coming from
<compose>th
, which is shadowed by<compose>therefore
everywhere else in the system). I am typing, and the wrong compose key sequence is chosen (and I’m not sure exactly why, as there’s no reason that VSCode should be using a different input method to e.g. Chrome). If there’s more information needed I would be more than happy to provide it