Skip to content

API Proposal: OptionSet handling #47

Closed

Description

@mkrueger
  • Currently OptionSets are handled at Workspace level. Moving them to the Project level would allow more fine grained option scenarios.

-Why it's not possible to create own option sets or provide option services ?

In general the option API seems to be tailored for a 'read only' use.

Activity

  1. added
    Concept-API
    on Jan 21, 2015
  2. added this to the milestone on Jan 21, 2015
  3. paulvanbrenk commented on Jun 23, 2015

    @paulvanbrenk
    Contributor

    +1 for making the OptionSet more useful.

    Use case
    In the codeformatter project [https://github.com/dotnet/codeformatter], the code in the project is formatted using the standard Roslyn formatter. This formatter however uses the default formatting options, e.g. "Open Brace on New Line for types", unless you supply an OptionSet, however there is currently no way to instantiate that class since the constructor is internal and the class is sealed.

  4. removed this from the milestone on Nov 23, 2015
  5. added this to the 1.2 milestone on Dec 4, 2015
  6. Pilchie commented on Dec 4, 2015

    @Pilchie
    Member

    Pulling into 1.2, as this is something that we're looking at related to #7071 (like #7058 and #7059).

  7. added
    Resolution-Duplicate
    on Dec 11, 2015
  8. Pilchie commented on Dec 11, 2015

    @Pilchie
    Member

    Let's actually use #7058 to track this.

  9. added a commit that references this issue on Nov 21, 2025
    67962f4
  10. added a commit that references this issue on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area-IDEConcept-APIFeature RequestResolution-Duplicate

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions