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