In WebStorm, I am getting a "Project SDK is not defined" prompt when editing the app.config
file of my elastic beanstalk environment, and the file is full of red squiggly line errors, as follows:
When I click the "Setup SDK" link, I am taken to the following screen:
What should I do to get WebStorm to recognize my app.config
file?
The file type of Elastic Beanstalk config files are YAML, but from your screenshots, it looks like your WebStorm thinks that they are something else. To get WebStorm to treat config files as YAML, do the following:
Ctrl+Alt+S
Plugins
Plugins
on the left sideYAML
on the right side to install it or verify it's there already*.config
files as YAML
Ctrl+Alt+S
File Types
File Types
on the left sideYAML
under Recognized File Types
+
button under Registered Patterns
to add *.config
WebStorm should then recognize your app.config
file as a YAML file and no longer prompt you to set up an SDK while viewing it.