-
-
Notifications
You must be signed in to change notification settings - Fork 26
Add EditorContext to OptionAnalyzer sample #249
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
Conversation
| let walker = | ||
| { new TypedTreeCollectorBase() with | ||
| override _.WalkCall _ m _ _ _ range = | ||
| m.DeclaringEntity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you believe the analyzer itself was violating it's own premise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds EditorContext support to the OptionAnalyzer by refactoring the analyzer logic into a shared handler function and creating separate analyzers for both CLI and Editor contexts.
- Extracted the main analyzer logic into a reusable
handlerfunction - Added a new
analyzerEditorContextanalyzer withEditorAnalyzerAttribute - Updated the existing CLI analyzer to use the shared handler
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
05e1c92 to
3a175f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Closes #246