Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

workspace/executeCommand on code fixes fails on Windows #370

Open
@tomv564

Description

@tomv564

Unexpected unix-style path from typescript being fed into windows-path expecting code:

{'data': {}, 'code': -32001, 'message': 'TypeScript config file for C:/Users/tvanommeren/someproject/somefile.ts not found'}

On a request:

{ 
  title: 'Add ListItem to existing import declaration from.',
  arguments: [ { fileName: 'C:/Users/tvanommeren/someproject/somefile.ts, textChanges: [ { span: { length: 0, start: 252 }, newText: ', ListItem' } ] } ],
  command: 'codeFix' 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions