Skip to content

Harry-Hopkinson/code-boilerplate

Repository files navigation

Code Boilerplate



Code Generator

A Hello World Generator for VsCode.

Version Installs Ratings

Introduction

This extension generates Boilerplate Hello World code based on your current language. There is a CLI Version as well

Usage

You can find this extension on the marketplace or by forking/copying the project and running the code locally with F5 after installing the necessary dependencies.

How to Contribute:

If you want to add support for another programming language, follow these steps.

  1. Clone the repo and run 'npm install' in the project directory.
  2. Add a new case statement to extension.ts with the appropiate Language Identifier -> https://code.visualstudio.com/docs/languages/identifiers#_known-language-identifiers
  3. Create a new test file in the /test dir with the naming convention test.LANGUAGE and the output of your new Hello World script.
  4. Create a pull request on the Github Repository your changes/additions will be reviewed.

About

A vscode extension that generates a sample HelloWorld program based on the language of the file.

Topics

Resources

License

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors