mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-07 12:16:04 +00:00
commit
5cea33ec20
|
@ -184,9 +184,10 @@
|
|||
const range = new monaco.Range(position.lineNumber, position.column, position.lineNumber, position.column);
|
||||
editor.executeEdits("my-source", [{
|
||||
range: range,
|
||||
text: text + "\n",
|
||||
text: text,
|
||||
forceMoveMarkers: true
|
||||
}]);
|
||||
resizeEditor();
|
||||
}
|
||||
|
||||
document.getElementById("fileInput").onchange = function (event) {
|
||||
|
@ -233,7 +234,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
appendTextToEditor("// " + promptMessage + "... Generating...");
|
||||
appendTextToEditor("\n\n// " + promptMessage + "... Thinking with Generative AI...");
|
||||
|
||||
(async function () {
|
||||
const targetWsUrl = await getTargetByUrl('copilot.microsoft.com');
|
||||
|
|
Loading…
Reference in New Issue
Block a user