Skip to content
← Back to Community
Repl.it Treats EJS Files Like Plain Text Files instead Of Html Files
Profile icon
LloydUrey

I have a Nodejs project with express and I'm rendering a file index.ejs.

Other Cloud Code editors like glitch.com Treat Ejs Files like HTML files but repl.it provides no Debugging or Code Intelligence like autocomplete. Is there a way to enable this for Ejs files.

Screenshot 2020-03-22 at 8.10.20 PM

Voters
Profile icon
AlejandroSanto8
Profile icon
LloydUrey
Comments
hotnewtop
Profile icon
Highwayman

I’m pretty sure no. Just add .html to the end of the file name until your done editing?

Profile icon
LloydUrey

@Highwayman Thats What Im gonna do for now. Hopefully repl add ejs support and other engines like handlebars

Profile icon
Highwayman

@LloydUrey :/ yeah.. hm. I think there might be a way to fix this up a bit maybe....... one sec.

Profile icon
Highwayman

@LloydUrey dam. Nvm I can’t find it sorry.

Profile icon
LloydUrey

@Highwayman its fine thanks for replying

Profile icon
Highwayman
Profile icon
Highwayman

@LloydUrey I know it’s been nearly two weeks now, but I found it: https://repl.it/talk/learn/How-to-Make-a-Custom-Code-Theme-for-Replit/9500

Sorry I couldn’t help you in time :(

Profile icon
codespec

@Highwayman I know its been 2 years but hey your comment helped me

Profile icon
Highwayman

Haha, that great lol. Happy to help!

I think there’s a way to even do it standardly now, too. Or maybe it’s just for code intelligence? Something like that… https://docs.replit.com/programming-ide/configuring-repl
@codespec