Skip to content

[json] Intellisense Provides Strange Suggestions In Property Value #2468

Closed

Description

When I'm writing an Azure RM Deployment template and I'm writing a template language expression that contains single-quoted strings inside double-quoted property values, I get some strange suggestions. I get the same thing when I try to access a resourceGroup() property via the '.' character. The pictures show the suggestions I'm getting. In these scenarios, I expect to not get any suggestions.
jsonintellisenseinpropertyvaluewithperiod
jsonintellisenseinpropertyvaluewithsinglequotedstring

Activity

  1. added
    json
    bug
    on Jan 28, 2016
  2. changed the title [-]JSON Intellisense Provides Strange Suggestions In Property Value[/-] [+][json] Intellisense Provides Strange Suggestions In Property Value[/+] on Jan 28, 2016
  3. aeschli commented on Jan 28, 2016

    @aeschli
    Contributor

    Note that you are editing a document with no schema associated. In that case we look for similar nodes and give these as proposals. I fixed that the value of the currently edited property is no longer proposed.
    There is still issue #2496 that adds funny proposal.

    In the context of a Azure RM Deployment template you should have a schema association.

  4. bpasero commented on Jan 29, 2016

    @bpasero
    Contributor

    I am still seeing what the user reports:

    image

  5. weinand commented on Jul 28, 2016

    @weinand
    Contributor

    works:
    2016-07-28_16-54-25

  6. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugjsonverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions