Q28: Which slash command generates documentation comments (e.g., JSDoc, Docstrings) for selected functions?
The /doc slash command analyzes selected functions or classes and auto-generates structured documentation comments (such as JSDoc, PyDoc, or XML comments) adhering to language standards.
Key Takeaways
/doc: Generates inline function and API documentation comments.- Parses input parameters, return types, and exceptions.
Knowledge Check
What command generates structured docstring comments for selected functions in Copilot Chat?