brackets-notes
brackets-notes copied to clipboard
How to copy data from one machine to another
I get a new machine,and I want to copy contents in many notes,is there one way quick?
Then,I like brackets,and the "notes" give me a lot of help,thank you!
At this time there is no option to import from another machine. A way of doing something like this is by using the "Export to file" functionality that is already provided. Save your notes to markdown files and on your new machine create new notes by copying + pasting the content of the saved files.
I guess that exporting all notes and importing the at once could be a nice feature to be added later.
Agree with you. I see a log "Further info :At the time being all notes are stored to Web Storage."Maybe another way is synchronizing by network.I'm not sure if "Extract for Brackets(Preview)" has an open accout API?
I would think it would be easy enough since it's webstorage just to use the JS functions like this one to dump all the relevant entries to a json file, then pull them back in on the new machine?
function storageGetObj(storage, key) { return JSON.parse(storage.getItem(key)); }
Next to the "New Note" button there gonna be 2 more buttons. "Export Notes" and "Import Notes". When user clicks on the "Export Notes" button any saved notes will be exported to a JSON file for the user to save. When the "Import Notes" button is clicked a modal with a textarea will display for the user to paste the content of the exported file. Does this solution sound good?
v1.1.0 now supports exporting all saved notes to a JSON file and then using the contents of the file you can import notes to a new machine.