Skip to content

completion list doesn't suggest 'readonly' in type context #29666

Closed

Description

TypeScript Version: 3.4.0-dev.20190131

Search Terms:

Code

type T = read/**/

Expected behavior:

Completion list should contain readonly.

Actual behavior:

Completion list doesn't contain readonly.

Related Issues:
#29658

Activity

  1. added
    Bug
    Domain: LS: Completion Lists
    on Jan 31, 2019
  2. m-henderson commented on Feb 12, 2019

    @m-henderson

    Daniel Rosenwasser (@DanielRosenwasser) hey, Daniel. Could you give me a starting point so that I can help fix this issue?

  3. DanielRosenwasser commented on Feb 12, 2019

    @DanielRosenwasser
    Member

    It's been a while for me, but I would check out getCompletionsAtPosition in src/services/completions. Tests are in tests/cases/fourslash. See more here.

  4. m-henderson commented on Feb 12, 2019

    @m-henderson

    appreciate it

  5. m-henderson commented on Feb 21, 2019

    @m-henderson

    does anyone know if there is a guide on how to actually debug the typescript codebase in visual studio code so that I can fix this issue? Basically, I am looking to set a break point while debugging and then when the code tries to auto complete, I would like that break point to be hit. I have never contributed directly to a language so maybe I am approaching this wrong. someone mind giving me a tip/instructions? thanks

  6. added
    Fix Available
    on Jul 16, 2019
  7. locked as resolved and limited conversation to collaborators on Oct 21, 2025
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

    BugDomain: LS: Completion ListsFix Available

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy