Typescript: Renaming property with space

Created on 11 Oct 2016  ·  1Comment  ·  Source: microsoft/TypeScript

Not sure if VSCode or TSServer issue:

interface Test {
    "alpha beta": string
}

const a : Test = {
    "alpha beta": "test"
}

Put cursor inside beta of interface and rename with F2

image

Box to rename shows only beta - shall it show alpha beta ?

Rename to beta2

Result:

image

Should be alpha beta2

Bug

Most helpful comment

VSCode issue.

e.g. works fine in alm :rose:

rename string

>All comments

VSCode issue.

e.g. works fine in alm :rose:

rename string

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nitzantomer picture nitzantomer  ·  135Comments

xealot picture xealot  ·  150Comments

metaweta picture metaweta  ·  140Comments

RyanCavanaugh picture RyanCavanaugh  ·  205Comments

Gaelan picture Gaelan  ·  231Comments