dotnet / dotnet/vblang

[Proposal] Linked snippets

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Proposal
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Linked Snippets

Build upon existing snippet IDE experience by providing permanent linking of snippets and code files.

General idea is to:
+ when a snippet is used, the snippet is added to the project
+ in the code file an xml comment is inserted that is similar to documentation comments
++ xml comments include link to snippet

Advantages of this are:
+ allows for easy editing of code containing snippets// snippets are always alive
+ allows editing of snippet template and possible cascading updates of code.

Use scenario:
Team has used snippets for generating properties with event notification and wants to add some tracing. If snippet was linked they could simply modify the snippet template and have the IDE apply change.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.