Hello,
I code with NodeJS and use EJS for HTML templates.
But ,CodeLite doesn't recognize the file type "* .ejs" (it's like HTML).
How to set up CodeLite to it detects files "* .ejs" as .html files?
Thanks you.
[RESOLVED]NodeJS and template EJS
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
[RESOLVED]NodeJS and template EJS
Last edited by sato on Wed Jan 06, 2016 11:50 pm, edited 1 time in total.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: NodeJS and template EJS
First, welcome to the forum, please make sure you read the HOW TO POST thread (check my signature)
If you want ejs to be coloured as HTML, you should add the *.ejs extension to the list of known extensions to the HTML files, from:
"settings->colours and fonts->customize tab->php" and add "*.ejs" to the list of extensions
Eran
sato wrote:But ,CodeLite doesn't recognize the file type "* .ejs" (it's like HTML).
If you want ejs to be coloured as HTML, you should add the *.ejs extension to the list of known extensions to the HTML files, from:
"settings->colours and fonts->customize tab->php" and add "*.ejs" to the list of extensions
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Wed Jan 06, 2016 6:59 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: NodeJS and template EJS
Fine. It works. Thank you!
(I had searched in the settings but I had not thought about the colors)
(I had searched in the settings but I had not thought about the colors)