Skip to content

[Enhancement] Remove legal fluff from IntelliSense #3788

@grendello

Description

@grendello

From @breyed on Fri, 11 Oct 2019 16:00:20 GMT

Summary

A legal disclaimer apparently designed for the web is leaking into IntelliSense and adding friction to the development experience. IntelliSense should be streamlined to show only useful information, so that developers aren't wasting time with clicks that turn out to be pointless or reading info that turns out to be unhelpful.

Repro

  1. In an Android project, stick this code somewhere: var uc = PendingIntentFlags.UpdateCurrent;.
  2. Click UpdateCurrent and press F12 (Go To Definition).
  3. Notice that the full enum definition for PendingIntentFlags shows up with UpdateCurrent highlighted. Awesome!
  4. Notice that each field has "..." expansion buttons. More awesome! I can click on any one I wish to get more info about that field.
  5. Double-click on the "..." for UpdateCurrent.
  6. Feel the sense of utter disappointment:

IntelliSense clipping

Both the summary are remarks section are worse than useless. They provide no help whatsoever and wasted my time even clicking the "...". It would have been better if there was no summary and remarks were absent. There would have been no "...", so I would have immediately known to turn to Google.

It's OK to not have docs for everything; I'm sure the Xamarin team doesn't have time to automate pulling in the docs for everything. But don't include fluffery. It's already obvious that if there are no docs, they are intended to be added later. And the legal disclaimer doesn't belong in IntelliSense; put that where the rest of the copyright info goes, such as with the NuGet package.

Copied from original issue xamarin/XamarinVS#11094

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: DocumentationIssues with documentation.enhancementProposed change to current functionality.need-attentionA xamarin-android contributor needs to review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions