Skip to content

Conversation

@TheAngryByrd
Copy link
Member

Closes #246

let walker =
{ new TypedTreeCollectorBase() with
override _.WalkCall _ m _ _ _ range =
m.DeclaringEntity
Copy link
Member Author

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?

Copy link
Contributor

Copilot AI left a 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 handler function
  • Added a new analyzerEditorContext analyzer with EditorAnalyzerAttribute
  • 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.

@TheAngryByrd TheAngryByrd force-pushed the 246-option-analyzer-editor-context branch from 05e1c92 to 3a175f8 Compare September 13, 2025 18:49
Copy link
Contributor

Copilot AI left a 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.

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

Successfully merging this pull request may close these issues.

People starting with OptionAnalyzer may not know it doesn't interact with the LSP

2 participants