Formatting Issue with Elixir Code in VScode

Formatting Issue with Elixir Code in VScode

Source: reddit.com

Type: Discussion

The author, sajadabedi, has encountered a problem while working with Elixir in Visual Studio Code (VScode). Specifically, when using the `~p""` sigil, presumably for some string pattern matching or representation, the text in the editor turns red, and other formatting features stop operating correctly. This suggests a potential issue with the VScode's syntax highlighting for Elixir, where it is not recognizing the `~p` sigil as valid syntax. The author has provided a screenshot via a Reddit link to demonstrate the problem but has not mentioned trying any particular solutions or workarounds.

© HashMerge 2024