Ask coding questions

← Back to all posts
typing isn't really working in the IDE
[deleted]

when I type to code the things I type are going in the wrong places even though my cursor is in the right place has everyone else also been having this same problem or is my computer just being glitchy?

Answered by Coder100 (16983) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (16983)

Hello. I believe this is something with autocomplete.
To turn off autocomplete, click on the gear to your left:

Scroll down, and set code intelligence to DISABLED

NoelB33 (344)

This is a bug, it’s been seen on repl.it/bugs, it’s not that. @Coder100

Coder100 (16983)

hmm? whats the bug i don't think i have read the question clearly @NoelB33

Coder100 (16983)

but basically i don't think repl.it can really solve it, because it is most likely a browser and/or editor problem. @NoelB33

NoelB33 (344)

So basically, sometimes the cursor position is in the right place, but it types in the wrong place. For example, say I said print(“hi peOple”). I spelled that wrong! I want to edit it! My curser is here: print(“hi pe|Ople”), represented by the |. However, it will end up making the edits you type like 3 characters back.

@Coder100

Coder100 (16983)

ohhh!! I see... This is an editor problem. Basically, there are invisible characters in the way, and the editor doesn't account for that. So basically, the visual position is different from the actual position.
I've encountered this problem before. Just escape all emojis and invisible characters. @NoelB33

masfrost (115)

@Coder100 Yeah good observation. We should fix it if that's the case.
@NoelB33 did you have emojis in your code?

NoelB33 (344)

No, but it happens to me occasionally. I think it’s because I’m on mobile? @masfrost

Coder100 (16983)

ace has more problems with this than Monaco.
@NoelB33

[deleted]

@NoelB33
the exact same thing has been happening to me. But however I think it was fixed because it's not happening anymore.

[deleted]

@NoelB33
I don't think it's because you were on mobile because it happened to me and I was on a chromebook

[deleted]

@Coder100 I think it is because of invisible characters I accidentally added

entername1 (1)

@NoelB33 yeah it's happening to me and i'm on chromebook as well

jsmason (1)

@Coder100 I agree with others--this is definitely a bug. It happens to me nearly every time I use my chromebook. It has never once happened on my win10 PC (and I use replit daily for teaching). I don't use emojis. I do occasionally have a separate issue with invisible characters when copying and pasting code into a repl on my chromebook also. This invisible characters prevent my C++ repls from compiling--I have to hunt them down and delete them. This also never happens on my windows machines. I use the most up to date version of chrome on all my machines.

RLarge (1)

I am on chromebook and I found a fix. I know this is old, but if you go to Settings>Device>Displays>Display Size and set the Display Size to 100% it seems to fix the problem.

BestBerry (18)

@RLarge Thanks!!! This works for me, I've been having the same problem. Too bad 100% on a chromebook is kind of awful.

Guest77 (1)

It is a bug. As chars increase to the right, the spacing is delayed a bit each time. When you start at the left, it seems fine, but as you go further and further to the right, your cursor will start to lag behind.

JeefTheBeef76 (1)

ik it does that for me ;c

Coder100 (16983)

Escape all non-alphanumeric characters (like invisibles and emojis)

layastro (0)

@Coder100 how do you do that again

NoelB33 (344)

This is a bug, I’ve had it also. If you go on repl.it/bugs there are some posts about it.