Now there's autocompletion and docs in pyproject.toml for FastAPI 🎉 [tool.fastapi] entrypoint = "main:app" Make sure you have a modern editor and TOML plugin, like @code with @tombi_toml 🤓