Visualstudio-docs: Screenshots with code?

Created on 27 Jan 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

It would be great to have snippets of code that can be copied rather than screenshots of code.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 doc-bug visual-studio-dev1prod vs-ide-generatech

All 5 comments

It's worth noting the screenshots (I'm pretty sure) are also wrong in the pathSegment case. This barrier greatly ups the cost of fixing the documentation. If it weren't for the screenshots (diff theme, matching prefs, etc.) I'd submit a PR instead of this comment :)

The pathSegment is missing the actual rule to apply, it has:

  "dependentFileProviders": {
    "add": {
      "pathSegment": {}
    }
  }

when you really need a rule, like this:

  "dependentFileProviders": {
    "add": {
      "pathSegment": {
        "add": {
          "ExtensionMethods.*": [ ".cs" ]
        }
      }
    }
  }

I hit he same thing as another user and had to find how to make it work a bit haphazardly: https://stackoverflow.com/a/55145320/13249. Alternatively, it's magic in ways neither of us understand that should probably be better documented.

@AngelosP Can you take a look at this feedback?

@AngelosP please note from my comment above - the example in one screenshot was also wrong :) The conversion is much appreciated!

Oops, I'm sorry @NickCraver I missed your fix in my original PR. I've updated it as per your feedback https://github.com/MicrosoftDocs/visualstudio-docs/pull/3929. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CeciAc picture CeciAc  Â·  3Comments

nitinjs picture nitinjs  Â·  3Comments

Crono1981 picture Crono1981  Â·  3Comments

rlundy picture rlundy  Â·  3Comments

ChrisMaddock picture ChrisMaddock  Â·  3Comments