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

Fix code action scaffold #1188

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

TheAngryByrd
Copy link
Member

@TheAngryByrd TheAngryByrd commented Oct 27, 2023

WHAT

🤖 Generated by Copilot at ba14bf0

Refactored the code fix scaffolding logic to separate state management from server logic. Updated the documentation to match the new file names.

🤖 Generated by Copilot at ba14bf0

AdaptiveServerState
Separates state from logic
A clear refactor

📝🔧🚚

WHY

Moved codefixes in #1179

HOW

🤖 Generated by Copilot at ba14bf0

  • Rename AdaptiveFSharpLspServerPath to AdaptiveServerStatePath and update it to point to AdaptiveServerState.fs where the type AdaptiveState was moved (link)
  • Update findArrayInAdaptiveFSharpLspServer to use AdaptiveServerStatePath and AdaptiveState instead of the old values (link, link)
  • Update wireCodeFixInAdaptiveFSharpLspServer to use AdaptiveServerStatePath instead of the old value (link)
  • Update the documentation in docs/Creating a new code fix.md to use AdaptiveState.fs instead of the old file name (link)

@TheAngryByrd TheAngryByrd enabled auto-merge (squash) October 27, 2023 03:33
@TheAngryByrd TheAngryByrd merged commit be075d8 into ionide:main Oct 27, 2023
7 of 10 checks passed
nojaf pushed a commit to nojaf/FsAutoComplete that referenced this pull request Nov 3, 2023
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.

1 participant