Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Error Handling and Robustness #1

Open
Aryann15 opened this issue Mar 11, 2024 · 1 comment
Open

Improve Error Handling and Robustness #1

Aryann15 opened this issue Mar 11, 2024 · 1 comment

Comments

@Aryann15
Copy link

This issue addresses the use of error handling and robustness in the codebase.
Add error logging, displaying error messages to the user, and handling specific error types (e.g., file system errors).
Incorporate error handling in the instantiateModule function to handle invalid file paths, file reading errors,
Utilize error handling utilities in the _findDeclaration method of the tlverilogHoverProvider class to handle cases where the variable declaration is not found or the target is not a valid variable name.
Added test cases for the error handling utilities
By improving error handling and robustness, this aims to enhance the overall user experience and reliability of the extension. Users will receive better feedback and error messages when issues occur, making it easier to identify and resolve problems.

@nithamitabh
Copy link

The enhancements to error handling and robustness you've outlined are indeed crucial for the extension's reliability and user experience. Incorporating comprehensive error logging, user-friendly error messages, and specific error type handling will significantly aid in troubleshooting and maintaining the codebase. The proposed improvements for the instantiateModule function and the tlverilogHoverProvider class, along with the addition of relevant test cases, are well-considered steps towards this goal. Your focus on these aspects aligns with best practices in software development, and I agree that these changes will provide valuable feedback to users and facilitate problem resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants