All Projects → brpaz → Vscode File Templates Ext

brpaz / Vscode File Templates Ext

Visual Studio code extenstion that allows to quickly create new files based on defined templates.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode File Templates Ext

Aws Step Functions Constructor
VSCode extension to visualize AWS step functions
Stars: ✭ 22 (-43.59%)
Mutual labels:  vscode, vscode-extension
Dart Code
Dart and Flutter support for VS Code
Stars: ✭ 965 (+2374.36%)
Mutual labels:  vscode, vscode-extension
Markdown index
add index to your markdown title
Stars: ✭ 38 (-2.56%)
Mutual labels:  vscode, vscode-extension
Vscode Extension
Red extension for Visual Studio Code
Stars: ✭ 34 (-12.82%)
Mutual labels:  vscode, vscode-extension
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+2135.9%)
Mutual labels:  vscode, vscode-extension
Vscode Create Tests
A vscode extension to quickly create test files.
Stars: ✭ 16 (-58.97%)
Mutual labels:  vscode, vscode-extension
Vscode Material Theme
Port of the sublime text Material theme for Visual Studio Code in light and dark.
Stars: ✭ 21 (-46.15%)
Mutual labels:  vscode, vscode-extension
Vscode Git Graph
View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
Stars: ✭ 767 (+1866.67%)
Mutual labels:  vscode, vscode-extension
Vscode Smarty
Smarty syntax highlight extension for Visual Studio Code
Stars: ✭ 10 (-74.36%)
Mutual labels:  vscode, vscode-extension
Vscode Unity Code Snippets
All snippets for Unity3D development
Stars: ✭ 26 (-33.33%)
Mutual labels:  vscode, vscode-extension
Vscode Bookmarks
Bookmarks Extension for Visual Studio Code
Stars: ✭ 804 (+1961.54%)
Mutual labels:  vscode, vscode-extension
Vs Code Extension Doc Zh
VS Code插件开发文档-中文版
Stars: ✭ 982 (+2417.95%)
Mutual labels:  vscode, vscode-extension
Vscode Material Icon Theme
Available on the VSCode Marketplace
Stars: ✭ 773 (+1882.05%)
Mutual labels:  vscode, vscode-extension
Hxcpp Debugger
Visual Studio Code Debugger for Haxe/HXCPP applications
Stars: ✭ 18 (-53.85%)
Mutual labels:  vscode, vscode-extension
Tabnine Vscode
Visual Studio Code client for TabNine. https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode
Stars: ✭ 770 (+1874.36%)
Mutual labels:  vscode, vscode-extension
Theme Bear
🐻 A VSCode dark theme 🐻
Stars: ✭ 27 (-30.77%)
Mutual labels:  vscode, vscode-extension
Vscode Sqltools
Database management for VSCode
Stars: ✭ 741 (+1800%)
Mutual labels:  vscode, vscode-extension
Coderoad Vscode
👩‍💻 Create or play Interactive coding tutorials in VSCode
Stars: ✭ 757 (+1841.03%)
Mutual labels:  vscode, vscode-extension
Vscode Laravel Extra Intellisense
This extension adds extra autocompletion for laravel projects to VSCode.
Stars: ✭ 909 (+2230.77%)
Mutual labels:  vscode, vscode-extension
Without Guns For Vs Code
Visual Studio Code extension that teaches you mindful programming
Stars: ✭ 14 (-64.1%)
Mutual labels:  vscode, vscode-extension

File Templates VSCode Extension

Build Status

Visual Studio code extenstion that allows to quickly create new files based on defined templates.

Inspired by this Atom Extension.

Available Commands

  • Create a new file from a template
  • Create a new template from an existing file.

Screenshots

preview

Install

On Visual Studio code, Press F1 to open the command menu and type ext install file-templates.

This extension was only tested on Linux. If you have a Mac or Windows and find some issue, please create a PR.

Usage

  • In VSCode, right click on the folder where you want to generate the new file. You should see an option "Files : New from template". Selecting this option a list of available templates should appear. Just select your template and the file will be created.

  • You can also do the same from the Command Palette. In this case the new file will be created in the root directory of the project.

  • Its also possible to do the other way around and create a template based on an open file. For that "right-click" on any opened file and you should see the option of the context menu.

Variables

Variables can now be used in templates in the following way:

normal text #{variable_name}

When a file is created from the template, the user is prompted with a value to put here.

Predefined variables

  • filename the output filename.

Templates Location.

By default, this extension expects the file templates to be placed at the following location, depending of youur OS:

Linux:

$HOME/.config/Code/User/FileTemplates

Mac:

$HOME/Library/Application Support/Code/User/FileTemplates

Windows:

C:\Users\User\AppData\Roaming\Code\User\FileTemplates

However, you can change the default location by adding the following to your user or workspace settings:

"fileTemplates.templates_dir": "path/to/my/templates"

Contributing

Please see CONTRIBUTING.md for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].