Skip to content

No file ending when adding import #60451

Open
microsoft/vscode
#233928
@jrieken

Description

@jrieken
  • vscode at commit f0a0037
  • open src/vs/workbench/contrib/chat/browser/chatEditorOverlay.ts
  • on line 42 write this._editor.getOption(EditorOption) and make sure to use auto complete with import for EditorOption
  • 🐛 the import will be without .js

excerpt from the logs

Info 10477[09:55:25.163] response:
    {"seq":0,"type":"response","command":"updateOpen","request_seq":303,"success":true,"body":true}
Info 10478[09:55:25.214] request:
    {
      "seq": 304,
      "type": "request",
      "command": "updateOpen",
      "arguments": {
        "changedFiles": [
          {
            "fileName": "/Users/jrieken/Code/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.ts",
            "textChanges": [
              {
                "newText": "import { EditorOption } from '../../../../editor/common/config/editorOptions';\n",
                "start": {
                  "line": 21,
                  "offset": 1
                },
                "end": {
                  "line": 21,
                  "offset": 1
                }
              }
            ]
          }
        ],
        "closedFiles": [],
        "openFiles": []
      }
    }

tsserver.log

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions