Environment:
NextJs, React, VsCode
- Syntax highlights not being recognized by VSCODE.
I have installed the following extensions:
Have done the followin on my json config file:
"files.associations": {
"*.js": "javascriptreact",
"*.env.development": "env",
"*.env.production": "env",
"*.env.local": "env",
},
- VsCode should recognize .env naming as per the file I have created:
.env.local.example
I have tested a public variable NEXT_PUBLIC_ENV_LOCAL_VARIABLE = "Some public stuff" and it does not work when I test it on the browser. When I add the termination .example to .env.local file, Vscode stops recognizing the file at all.
Thanks for the help