Proposal for new snippets folder struct
See original GitHub issue- New folder: data/snippetsx
- Subdirs names must be like:
C,C++,Objective-C.MyPkgName
, ie comma-separated lexer names, dot, custom package name. - Lexer property inside snippet files must be removed (or ignored)
- To support snips for all lexers (and none lexer), we’ll use special name like
all
This way Snippets plugin will FAST find snippets for one lexer, and FAST ignores all other subdirs. Plugin loading will be fast, no need in on_start, in threads in on_start.
We can convert all snips to new format. Work for 1-2 hours. @OlehL @kvichans @dinkumoil What do you think?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
A few proposals for snippets - MSDN - Microsoft
by the default namespace plus the folder structure (like what VS sets as the namespace when adding a new class or interface file);...
Read more >Kirby 4 Proposal: Organized directory structure #382 - GitHub
Create a pages folder in project with a subfolder for each page type (blueprint); Move page blueprints to page/blueprint.yml; Move page ...
Read more >Organizing snippets (#332) · Issues - GitLab UX Research
Currently there is no way to group or organize snippets. ... It could end up in a way that more closely resembles a...
Read more >[Pitch] Swift Snippets
The proposal centers around a convention for writing snippets in a Swift package, building and running them, and using them in DocC ...
Read more >Snippet for creating folder + files in vscode - Stack Overflow
You can use the extension File Templates (v1.5.0). You are able to create global templates and specific templates for a project.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Залил на гит обновление для плагина. Загрузчик будет грузить только сниппеты в новом формате. Но для старых есть команда, чтоб конвертировать их в новый формат. Нужно протестировать
ok