Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 617 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 617 Bytes

Quick New File: A VSCode Extension

Quicker way to create a new file (that looks like the current one).

Features

Hit ctrl+shift+N to create a new file that has the same context as the current one:

  • Same extension and directory
  • Same package declaration (where applicable)
  • Same imports (new!)
  • Same hashbang (#!) string (also, chmod +x)
  • Boilerplate code (where applicable)

Supported Languages

  • Go (Package, imports and build constraints)
  • Java (Package, imports and class boilerplate)
  • PHP (<?php)
  • Python (Imports) (new!)
  • Shellscript (set and source statement)