Azure / Azure/azure-functions-core-tools
Automatically detect language and generate local.settings.json
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
If local.settings.json is missing and `func start` is run, attempt to determine the language and create a local.settings.json file with the worker runtime set to the detected language.
If the language can't be detected for a project, print a single warning letting customer know how to resolve it. Currently it's printing a warning multiple times and it's not clear how to resolve (guidance should be to run `func init --` to generate settings file).
#2050 #2831
Contributor guide
Research direction
Start with the `func start` path when `local.settings.json` is missing, then review how `func init --` generates the settings file. The completed work should detect the project language and create the file with the matching worker runtime, or print one actionable warning when detection fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100