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 [earned 5 cycles]
View Answer
Voters
Smart09Codes
JoshDavies10
MrMeatball
iansaame
ALINASIR6
Nuray06
KyleRalyea
itsevanb
LukeC1
Nedra42
Comments
hotnewtop
Coder100

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

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

Coder100

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

Coder100

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

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

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

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

NoelB33

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

Coder100

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

Coder100
entername1

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

Guest77

@Coder100 No its just a bug.

jsmason

@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

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

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

aviennelv

@RLarge Thank you! This fixed the issue for me.

cgamer1121

@RLarge it worked yay

Coder100
JavascriptLearn

@RLarge For me, I had it at 100% and it showed up weird. 105% looks fine!

Morni

@RLarge i love you <3

DiamondPuncher

@RLarge Thank you so much

Guest77

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.

Coder2195Text

try zooming out

UmarMohammad

This happens to me on Chromebook. I just use vim.

vackyton

works for me @Coder100

JeefTheBeef76

ik it does that for me ;c

Coder100

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

layastro

@Coder100 how do you do that again

NoelB33

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