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.

Incorrectly detecting additional characters

See original GitHub issue

I’m encountering an issue whereby the TypeScript validation is detecting additional characters that don’t exist in the file. I’ve encountered this a few times within a couple of different files:

Cannot find name ‘Stringg’. Did you mean ‘String’?

image

If I attempt to re-save the file this doesn’t update as there haven’t actually been any changes. If I load in a different editor and save then Sublime re-loads the file and correct the incorrect error. Additionally if I make a superfluous change and re-save the error goes away. But it’s very annoying 😦

Running Sublime Text 4 - Build 4121
on Ubuntu 20.04.1

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
IPWright83commented, Feb 14, 2022

@Cobertos it’s maybe exasperated by the fact that the TypeScript linting is taking 25s to lint a single file. So this slight annoyance introduced almost a 60s delay into my workflow 😢

0reactions
Cobertoscommented, Feb 14, 2022

I have the same issue, normally I just press add a character at the end of a line and delete it fast. Sometimes it takes a few tries, but it usually gets the right thing send to the typescript compiler

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Keyboard Typing Wrong Characters in Windows 10
Is your keyboard is typing the wrong characters on Windows 10? We'll introduce you to some quick and easy solutions to restore it....
Read more >
5 Ways to Fix Windows 10 Keyboard Special Characters Not ...
Find how to fix special characters not working in Windows 10 keyboard. ... That's why the keyboard enters the wrong special characters.
Read more >
Incorrect character set detection · Issue #10916 · notepad-plus ...
It seems that the presence of non-alpha character (i.e. symbols or digits) immediately before ¹ is triggering the problem.
Read more >
[SOLVED] Keyboard Typing Wrong Letters (2022) - Driver Easy
Fix 3: Run the keyboard troubleshooter. Another quick fix to this issue is running the Windows troubleshooter to detect and fix your problem....
Read more >
Why does some text display with square boxes in some apps ...
Keywords: DirectWrite, fonts, characters, East Asian languages. ... have been made in Windows 10 that affect fonts; more details on this are provided...
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