From #59539
🔎 Search Terms
🕗 Version & Regression Information
5.7.0-dev.20241015
💻 Code
- Using a VS Code starter extension created with
yo code
// The module 'vscode' contains the VS Code extensibility API// Import the module and reference it with the alias vscode in your code belowimport{log}from'console';import*asvscodefrom'vscode';// This method is called when your extension is activated// Your extension is activated the very first time the command is executedexportfunctionactivate(context: vscode.ExtensionContext){// Use the console to output diagnostic information (console.log) and errors (console.error)// This line of code will only be executed once when your extension is activatedconsole.log('Congratulations, your extension "test-ext" is now active!');}// This method is called when your extension is deactivatedexportfunctiondeactivate(){}- Create a second file
other.ts:
import{window}from"vscode";window.createWebviewPanel({});- Enable paste with imports
- In
other.ts copy window.createWebviewPanel({}); and paste it into into the body of activate
🙁 Actual behavior
No edits returned from getPasteEdits:
{"seq":0,"type":"response","command":"getPasteEdits","request_seq":34,"success":true,"performanceData":{"updateGraphDurationMs":6.14574999999968},"body":{"edits":[],"fixId":"providePostPasteEdits"}}
Here's the full log: tsserver.log
From #59539
🔎 Search Terms
🕗 Version & Regression Information
5.7.0-dev.20241015
💻 Code
yo codeother.ts:other.tscopywindow.createWebviewPanel({});and paste it into into the body ofactivate🙁 Actual behavior
No edits returned from
getPasteEdits:Here's the full log: tsserver.log