@codecanvas-ide/engine 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/codecanvas-engine.js +299 -227
- package/dist/index.js +762 -270
- package/dist/index.js.map +4 -4
- package/dist/types/canvas.d.ts +31 -0
- package/dist/types/highlight.d.ts +6 -0
- package/dist/types/html.d.ts +2 -0
- package/dist/types/layoutRules.d.ts +1 -1
- package/dist/types/parse.d.ts +6 -1
- package/dist/types/react.d.ts +30 -0
- package/dist/types/styles.d.ts +1 -1
- package/dist/types/syntax.d.ts +3 -0
- package/dist/types/types.d.ts +15 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -4,9 +4,12 @@ The canvas of [CodeCanvas](https://github.com/d-feliz/codecanvas-ide): it shows
|
|
|
4
4
|
file as a zoomable diagram and lets you edit it there. Every function, class, variable and import is a block;
|
|
5
5
|
usages are drawn as lines; anything changed on the canvas is written back to the text.
|
|
6
6
|
|
|
7
|
-
- Blocks
|
|
7
|
+
- Blocks in the Studio look (glyph, name, signature, code), nested blocks, and a stable layout you can save in the repo
|
|
8
|
+
- A dock (tools, zoom), a bar above the selected block, a block menu, and a minimap
|
|
8
9
|
- Usage lines, references across files, rename across files (TypeScript language service)
|
|
9
10
|
- Syntax and type errors on the blocks
|
|
11
|
+
- React: components, state and render links, turned on by itself in React files; the toolbar
|
|
12
|
+
shows the language (JS, TS, React JS/TS/JSX/TSX), also as `model.language`
|
|
10
13
|
- Changes against a base version (e.g. the last commit), and merge conflicts
|
|
11
14
|
- No framework: plain TypeScript and the DOM
|
|
12
15
|
|