Ask coding questions

← Back to all posts
Check for Syntax Errors
IanRiley1 (8)

Hello, I've been very interested in incorporating repl.it into our classrooms at my university. However, something that I've noticed is that there doesn't appear to be any syntax error highlighting in the text editor. It's really difficult for new students to debug their code without these. Is this a feature that will combing down the pipeline in the future?

Comments
hotnewtop
ash15khng (712)

Hi, you should go to the feedback page to ask for this.

IanRiley1 (8)

@ash15khng That link game me a 404.

ash15khng (712)

@IanRiley1 Oh, I think I might have typed it wrongly so I'll edit it now.
Or you could copy and paste this: repl.it/feedback/
EDIT: I fixed the link. The problem was that I forgot to put "https://" :P

IanRiley1 (8)

@ash15khng Thanks. I've posted on feedback.

MoazH (0)

Hi, where is the mistake here?

moves = int(input("How many times have you moved home in your life? "))
age = int(input("How old are you?"))
averageTime = age:moves
print(averageTime)

OmniShift (31)

In a repl, go to settings on the lefthand side, scroll down, and set code intelligence to enabled. Hopefully this is what you're looking for. I'm not sure how detailed it is though.

IanRiley1 (8)

@OmniShift Thanks. It is, but it doesn't seem to catch errors in Java. I tested it in Python and it seems to work fine, but not in Java. For example, missing semicolons and type declarations aren't caught.