Skip to content

Feature Request - insert file #53

@aubreyz

Description

@aubreyz

Thanks for writing this great extension. Can I make a suggestion that would turn it into a killer.

Surprisingly there is only one VS-code extension for inserting the contents of another file into the current editor at the insertion point.
That extension has a major flaw, isn't great and is not being updated.

This is a really useful thing to be able to do, and might easily be done by extending the existing Text-Slots, and should have a command panel slot of its own. Many people combine files in different orders (for example to add a prebuilt bootstrap component into HTML), or to add an HTML header. These are often large and the snippets mechanism is not very well suited to this. It might also be used as a template to insert a whole file for example a page template.

I'd make it default to the last used folder (so templates could be stored there), or a per workspace folder could be in settings.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions