Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Feature request Export/Import Local snippet #40

Closed
Erreur32 opened this issue Mar 11, 2018 · 8 comments
Closed

Feature request Export/Import Local snippet #40

Erreur32 opened this issue Mar 11, 2018 · 8 comments
Labels
enhancement 🚀 New feature or request wontfix
Milestone

Comments

@Erreur32
Copy link

It would be nice if we can import or export somes snippets locally. Via file text or other ?

Where is store the local snippet ?

I love this tool :)

@liamdigitalstorm
Copy link

Yes, this needs to be a feature!! Looked through the actual app files and does not seem to be a basic way of storing the files you make. Please!!

@lauthieb lauthieb added the enhancement 🚀 New feature or request label Jun 19, 2018
@lauthieb lauthieb added this to the V1.3.0 milestone Oct 29, 2018
@lauthieb
Copy link
Owner

Hello @Erreur32 and @liamdigitalstorm, I plan to do this in the next minor version.
Sorry for the delay, I develop code notes on my free time.
Would any of you wish to contribute ?
Thanks for you reports :)

@eriveraa
Copy link

eriveraa commented Nov 5, 2018

Hi, i want to backup my code snippets, what files should i save or rescue before format my machine? is there a folder or database to save?. Please your help.

@lauthieb
Copy link
Owner

lauthieb commented Nov 23, 2018

Hi @eriveraa. As you can see in the code, notes and settings are in the "userData" directory of this application:

  • Windows 7, 8.1, and 10: C:\Users[username]\AppData\Local\code-notes
  • Mac OS X El Capitan: Users/[username]/Library/Application Support/code-notes
  • Linux: /home/[username]/.config/code-notes

Inside this folder, you will have notes.db and settings.db. So, you will be able to backup easily 😎

Btw, I will try to develop this feature.

@sdhutchins
Copy link

To add to this, syncing notes across multiple devices? Say a work and home computer.

@lauthieb lauthieb added the hacktoberfest Good issue for Hacktoberfest! label Oct 1, 2019
@lauthieb lauthieb removed the hacktoberfest Good issue for Hacktoberfest! label Nov 2, 2019
@sadikerd
Copy link

sadikerd commented Dec 9, 2019

It doesn't work for me!!! i saved all snippets ( i passed 1 hour) then totally white screen. And the repository is not like mentioned earlier
It is like this;
Windows 7, 8.1, and 10: C:\Users[username]\AppData\Local\Programs\code-notes

@lauthieb
Copy link
Owner

lauthieb commented Dec 9, 2019

Thanks for reporting @sadikerd, sorry again. Check my comment #119 (comment) if you want to retrieve your notes and rollback to 1.2.2 version of Code Notes.
We are a free & open source project. Today, I don't have a lot of time to maintain it. We will try to fix it when we will find someone ready to test it in development and see the console errors for example.

@stale
Copy link

stale bot commented Jul 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 23, 2020
@stale stale bot closed this as completed Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 🚀 New feature or request wontfix
Projects
None yet
Development

No branches or pull requests

6 participants