Closed JPustkuchen closed 2 years ago
Installing this plugin might be the most simple solution: https://marketplace.visualstudio.com/items?itemName=marcostazi.VS-code-drupal
Otherwise the types should be added to the VSCode settings when using Drupal.
The types are already set in the VSCode settings, I don't know why this happens, but you can fix this Problem simply by reloading the page via "F1-> Developer:Reload Window"
Closing this, as the config is loaded correctly on startup now and therefore Drupal files are recognized, even without needing to reload the page.
With drowl-init (Drupal projects) we should ensure Drupal file types are recognized and mapped correctly in VSCode.