How can we help you today? How can we help you today?

how should you share new json snippets in github?

The new sql prompt update adds an id to the name of the snippet json file that is different for each person on my team. So everyone's local filenames are different. Is there a way to prevent this?
OlgaB
0

Comments

3 comments

  • ostandage
    Hi @OlgaB

    While we do not officially support this use case, this should solve your problem:
    1. Check in the new json files from one machine to your repository.
    2. Delete the snippets from the other computers.
    3. Pull down the new files from git on the other computers.
    Once a snippet is created, the id doesn't change so there would be no problem editing them on different machines etc.

    Thanks,

    Owen
    ostandage
    0
  • nickfotopoulos
    Huge missed opportunity here.  Make a freaking SQL Prompt Snippets Hub, and add an interface to the Snippets manager that allows you to browse the hub and download Snippets you like and share you own.

    Until then maybe users can work out a common repository format to use that makes sharing these easier.
    nickfotopoulos
    0
  • OlgaB
    @nickfotopoulos this repo does exist: https://forum.red-gate.com/discussion/78570/open-source-sql-prompt-snippet-repository

    but it was created before this recent switch to json format, so I'm not sure if/how they've adapted the repo.
    OlgaB
    0

Add comment

Please sign in to leave a comment.