hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.13k stars 475 forks source link

Name invalid when update vs code setting sync file #462

Closed PhantasWeng closed 3 years ago

PhantasWeng commented 3 years ago

The more we know about your system and use case, the more easily and likely we can help.

Environment info

Description of the problem / feature request / question:

The Vs Code Setting Sync plugin will create file name with "|", which make update failed because of name invalid. Gist accepts this kind of filename format.

If possible, provide a sample gist or screenshot:

image

If possible, provide the log files

For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

hackjutsu commented 3 years ago

There could be two options:

  1. turn off the filename validation in .leptonrc (editor .validateFilename)
  2. report a bug in VS Code if you like :)