question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  1. echo include \"%L\" > .XCompose
  2. echo <Multi_key> <t> <h> <e> <r> <e> <f> <o> <r> <e> : "∴" >> .XCompose
  3. Launch visual studio code.
  4. 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 produces he, still missing the indicator.

Images: Caret in chrome in chrome

Does this issue occur when all extensions are disabled?: Yes

Expected vs produced: vs information in 4

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cab404commented, Nov 23, 2021

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

1reaction
Starwortcommented, May 6, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found