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

added support for disabling any project system via configuration #902

Merged
merged 3 commits into from
Jul 4, 2017

Conversation

filipw
Copy link
Member

@filipw filipw commented Jun 30, 2017

At the moment we had logic in place that allowed users to disable the "legacy" project.json project system - using a configuration flag from omnisharp.json or any other of the several configuration sources we have in place.

For consistency, this PR extends this concept to allow the "enabled": false flag to be used against MsBuild and Script project systems too.
It can help for example performance, as the user can easily (even globally) switch off scanning of the file system done by these project systems.

I also moved out some of the logic from the Startup class because, well, SRP.

Copy link
Member

@david-driscoll david-driscoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's about time we made a schema for omnisharp.json as there is a decent amount of stuff going into it.

@filipw
Copy link
Member Author

filipw commented Jul 4, 2017

This indirectly can help against #896 too

@DustinCampbell
Copy link
Contributor

I looks to me like this one is ready to go. Do you not have merge access @filipw?

@filipw filipw merged commit c754f3a into OmniSharp:dev Jul 4, 2017
@filipw
Copy link
Member Author

filipw commented Jul 4, 2017

I do! 😊

@filipw filipw deleted the feature/projectsystem-enable branch July 4, 2017 13:35
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.

3 participants