-
Hey guys, Probably my "problem" is not directly related to Peak, but I discovered it after installing it with statamic Everything works on the site and devtools does not report any problems or errors. So it only appears in VS Code. I only use these extensions in VS Code:
Even though I banned them both, nothing has changed. I apologize in advance for what may be a bit of a beginner's question. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hey Kuldas. No worries! Are you using a recent version of Peak? I'm asking cuz I renamed Anyways I see the same issues with the |
Beta Was this translation helpful? Give feedback.
-
Hey there! This is an interesting one. The most common reason I see something like this happen is that a different language is active for the current document. I'd check the lower right corner to see if it is indeed set to The errors reported in the original screenshots are coming from the built-in JavaScript language server. I wonder if its in JavaScript-only mode? |
Beta Was this translation helpful? Give feedback.
-
For now I don't think theres anything I can do to prevent these errors. Personally I wouldn't bother too much. |
Beta Was this translation helpful? Give feedback.
-
Hey @Kuldas. I spoke to John and this was his reaction:
Not much he can do about it. Sorry for the news. But you can safely ignore the warnings since the site won't blow. It's just the language server that doesn't understand Antlers in JS. |
Beta Was this translation helpful? Give feedback.
Hey @Kuldas. I spoke to John and this was his reaction:
Not much he can do about it. Sorry for the news. But you can safely ignore the warnings since the site won't blow. It's just the language server that doesn't understand Antlers in JS.