Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Inconsistent JS hints depending on whitespace #5263

Description

@dangoor

Steps to reproduce:

  1. Open Document.js (in Brackets source)
  2. Go to the end of the line before the last line in the Document constructor
  3. Set indentation to 2 spaces
  4. Press enter
  5. The cursor will be on the next line, two characters to the left of where this.refreshText appears on the line above
  6. Type this.

The code hints are displayed as if there is no known context. If you line up the new line with the line above, the correct hints (for Document) are given.

Low priority, to me (calling this low priority because most people don't use inconsistent indentation).

Activity

  1. ghost assigned on Sep 19, 2013
  2. dangoor commented on Sep 19, 2013

    @dangoor
    ContributorAuthor

    I can reproduce this in the Tern demo.

  3. dangoor commented on Sep 19, 2013

    @dangoor
    ContributorAuthor

    Filed with Tern: ternjs/tern#241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions