What are the challenges you face when working across database platforms? Take the survey

how should you share new json snippets in github?

OlgaBOlgaB Posts: 2 New member
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?

Best Answer

  • Options
    ostandageostandage Posts: 75 Silver 1
    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.


    Software Engineer
    SQL Prompt / SQL Search


Sign In or Register to comment.