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

Default RoslynSourceText #1168

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

TheAngryByrd
Copy link
Member

@TheAngryByrd TheAngryByrd commented Sep 27, 2023

WHAT

🤖 Generated by Copilot at afea923

The pull request updates the parser to use RoslynSourceText for better performance and compatibility. It also adjusts the tests to use the new source text option.

🤖 Generated by Copilot at afea923

RoslynSourceText
Faster parsing in the spring
NamedText rests now

🚀🔧🧪

WHY

Just sets SourceText to default to Roslyn for now. We can discuss when to start removing the older SourceText/LSPServers later.

See this comment

HOW

🤖 Generated by Copilot at afea923

  • Change the default and fallback source text factory options to RoslynSourceText for better performance and memory usage (link, link)
  • Disable the NamedText option from the test cases in Program.fs to simplify the test setup and focus on the new option (link)

src/FsAutoComplete/Parser.fs Outdated Show resolved Hide resolved
@TheAngryByrd TheAngryByrd force-pushed the default-roslynsourcetext branch 2 times, most recently from dcb3e92 to 7daa11c Compare September 27, 2023 23:46
@TheAngryByrd TheAngryByrd force-pushed the default-roslynsourcetext branch from 7daa11c to 8005614 Compare September 27, 2023 23:46
@TheAngryByrd TheAngryByrd merged commit 612f35d into ionide:main Sep 28, 2023
8 of 9 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.

2 participants