GithubHelp home page GithubHelp logo

kygov / tfs_vscode_snippets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coldensjo/tfs_vscode_snippets

0.0 0.0 0.0 68 KB

Provides autocomplete for enums, methods, functions and everything else for TheForgottenServer

Python 100.00%

tfs_vscode_snippets's Introduction

VSCode LUA Snippets Installation & Merging Guide

This guide will walk you through how to install snippets in VSCode and how to merge different snippets using a Python script.

How to Install Snippets in VSCode

1. Access the Command Palette

  • Windows/Linux: Press Ctrl + Shift + P
  • Mac: Press Cmd + Shift + P

2. Find the Snippets Menu

  • In the Command Palette, type Snippets and select Configure User Snippets from the dropdown menu.

3. Select LUA Snippets

  • From the list of available languages and options, choose LUA or if you're adding a different language. Select that language.

4. Add Your Snippets

  • Copy and paste your desired snippets into the opened editor.
  • Save the changes. No need to restart VSCode.

Merging Snippets Using the Python Script

1. Open a Terminal in a New Folder

  • Depending on your OS, use cmd, bash, or powershell.

2. Clone the Repository

git clone https://github.com/Coldensjo/tfs_vscode_snippets.git

3. Add Your Snippets

  • Copy your LUA or other snippets file into the cloned folder.

4. Rename the Snippets Files

  • Rename your snippets files to lua.json and lua2.json, you can change this in the script if you want.

5. Run the Merging Script

python merge.py

6. Contribute Back

  • Made improvements? Consider creating a pull request!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.