Feature request: Link to the error's documentation #57
Labels
author-verification-requested
Issues potentially verifiable by issue author
feature-request
Request for new features or functionality
good first issue
Good for newcomers
needs PR
Milestone
I would like for the error info popup to also link to the appropriate error code documentation. For example
![image](https://private-user-images.githubusercontent.com/1350584/245360434-d6099b65-af28-4409-9579-7d63f2efb201.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzE2OTAsIm5iZiI6MTczOTEzMTM5MCwicGF0aCI6Ii8xMzUwNTg0LzI0NTM2MDQzNC1kNjA5OWI2NS1hZjI4LTQ0MDktOTU3OS03ZDYzZjJlZmIyMDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMjAwMzEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDljODM4NTJiMWE5ZDYzNjk3MTUxMWQzNWFjZDdhMGQ3YWIzNGZmNzEwYmMyMWVjODEyZThkZGJiMzE0OTkyNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.DU4TUsa708MM9GGLeY8jAS5S53KEOCeMECBlT3qSOww)
![image](https://private-user-images.githubusercontent.com/1350584/245361396-dd9bd9ef-3118-4da2-91e0-8fa1340cc307.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzE2OTAsIm5iZiI6MTczOTEzMTM5MCwicGF0aCI6Ii8xMzUwNTg0LzI0NTM2MTM5Ni1kZDliZDllZi0zMTE4LTRkYTItOTFlMC04ZmExMzQwY2MzMDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMjAwMzEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzI3ODE5YWM1OThlYWNmNjYyODkwMjVkNGQzNjAxZTAzYmZiNTUzOWM2MWFiNmM5NGI1OWNiZmUzYjQwNDBmZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ppGwY8qntNIiykagCRotvKM_LKH_v0Yf-pJNjDetSeE)
no-untyped-def
would link to https://mypy.readthedocs.io/en/stable/error_code_list2.html#check-that-every-function-has-an-annotation-no-untyped-def . Similarly to how ESLint and Pylance do it:I found that it is an extremely powerful tool for learning and help devs understand the errors. Especially newer developers who are less keen to go dig up documentation they don't even know if it exists.
The text was updated successfully, but these errors were encountered: