Skip to content

Add custom config entries to Log Diagnostics #4826

Closed

Description

@bobbrow

Type: LanguageService

The Log Diagnostics command prints out the current config, but doesn't list the "special" configurations like compile_commands.json and custom configs. We should be able to print out the entries for the active translation units as well as the "custom browse path" (if set).

Activity

  1. added this to the 1.0.0 milestone on Jan 9, 2020
  2. sean-mcmanus commented on Apr 24, 2020

    @sean-mcmanus
    Contributor

    Bob Brown (@bobbrow) I don't understand what this issue is about exactly -- what info should be added? Just the custom config browse path? What is there to print about the compile commands that isn't already printed?

  3. bobbrow commented on May 5, 2020

    @bobbrow
    ContributorAuthor

    For translation units (e.g. Foo.cpp), we'd want to print out the verbatim compile commands entry for it (or the custom config we received for it). This allows us to check whether data was lost or misinterpreted before creating the TU for it.

    For browse path, this should be relatively easy in the config provider scenario. For compile commands, you'd build on the work Elaheh Rashedi (@elahehrashedi) just did.

  4. bobbrow commented on Jul 10, 2020

    @bobbrow
    ContributorAuthor

    The work for custom configurations is done. A new issue will be created for compile_commands.json logging

  5. changed the title [-]Add compile commands/custom config entries to Log Diagnostics[/-] [+]Add custom config entries to Log Diagnostics[/+] on Jul 10, 2020
  6. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Jul 16, 2020
  7. locked and limited conversation to collaborators on Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions