PseudocodeEditor / editor

The codemirror 6 editor for CIE spec Pseudocode
https://editor.pseudonaja.app
21 stars 2 forks source link

Multiple file support #10

Closed Saim-Khan1 closed 2 years ago

Saim-Khan1 commented 2 years ago

Add support for multiple files in the editor, having a single instance of the editor and switching the content in it:

const update = editor.state.update({changes: {from: 0, to: editor.state.doc.length, insert: content}})
editor.update([update])
Saim-Khan1 commented 2 years ago

Including functionality to create a new file, upload files/folder, and download individual files or the entire project as a ZIP.

hugomarfani commented 2 years ago

All completed - Project downloaded as a .pscp file not a zip