Skip to content

Commit 7bc22fb

Browse files
committed
feat(notebook): optimize robot notebook file format, remove old html output
1 parent d0e3b2e commit 7bc22fb

File tree

17 files changed

+103
-2057
lines changed

17 files changed

+103
-2057
lines changed

esbuild.mjs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ const projects = [
2222
outfile: "out/extension.js",
2323
external: ["vscode"],
2424
},
25-
{
26-
entryPoints: ["./vscode-client/rendererHtml"],
27-
format: "esm",
28-
platform: "browser",
29-
outfile: "out/rendererHtml.js",
30-
external: ["vscode"],
31-
loader: {
32-
".jstemp": "text",
33-
".csstemp": "text",
34-
},
35-
},
3625
{
3726
entryPoints: ["./vscode-client/rendererLog"],
3827
format: "esm",

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@
9797
}
9898
],
9999
"notebookRenderer": [
100-
{
101-
"id": "robotframework-repl-html",
102-
"displayName": "Robot Framework Html Log",
103-
"entrypoint": "./out/rendererHtml.js",
104-
"mimeTypes": [
105-
"x-application/robotframework-repl-html"
106-
]
107-
},
108100
{
109101
"id": "robotframework-repl-log",
110102
"displayName": "Robot Framework Log",
@@ -676,7 +668,7 @@
676668
"args": {
677669
"text": " "
678670
},
679-
"when": "editorTextFocus && editorLangId == robotframework && config.robotcode.editor.4SpacesTab && !editorHasSelection && !inSnippetMode && !suggestWidgetVisible && !inlineSuggestionVisible"
671+
"when": "editorTextFocus && (editorLangId == robotframework || editorLangId == robotframework-repl) && config.robotcode.editor.4SpacesTab && !editorHasSelection && !inSnippetMode && !suggestWidgetVisible && !inlineSuggestionVisible"
680672
}
681673
],
682674
"configuration": [

packages/repl_server/src/robotcode/repl_server/html_writer.py

Lines changed: 0 additions & 324 deletions
This file was deleted.

0 commit comments

Comments
 (0)