Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FOAM_UUID variable for templates #1368

Open
jkrenzer opened this issue Jul 16, 2024 · 0 comments
Open

Add FOAM_UUID variable for templates #1368

jkrenzer opened this issue Jul 16, 2024 · 0 comments
Labels
enhancement New feature or request foam-vscode Foam for VSCode extension in packages/foam-vscode
Milestone

Comments

@jkrenzer
Copy link

Is your feature request related to a problem? Please describe.

  • Currently vscode snippet variabled are not accessable in metadata
  • Thus, it is not possible to name a file with a UUIDv4 identifier

Describe the solution you'd like

  • For the time being, as Allow snippet expansion without editor microsoft/vscode#155868 was closed it is not easily possbile to use an UUIDv4 for the filename/identifier
  • It would be helpful to be able to introduce a FOAM_* variable to cover these cases
  • Additionally it might be worthwhile to consider adding FOAM_* versions of RANDOM and HEXRANDOM, too. This way there would be more possibilities for non-chronological, uniform and unique file-naming.

Describe alternatives you've considered

  • Running additional software to convert note files
    • Introduces additional dependencies and workflow steps
    • Might break some functionality of foam

Screenshots or Videos

No response

@riccardoferretti riccardoferretti added enhancement New feature or request foam-vscode Foam for VSCode extension in packages/foam-vscode labels Jul 16, 2024
@riccardoferretti riccardoferretti added this to the backlog milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request foam-vscode Foam for VSCode extension in packages/foam-vscode
Projects
None yet
Development

No branches or pull requests

2 participants