Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Official nanos world Snippets for VSCode!

Notifications You must be signed in to change notification settings

nanos-world/vscode-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-snippets

Official nanos world Snippets for VSCode!

demo

How to Contribute

General rules

All Events should be named as CLASSNAME:SubscribeEVENTNAME, e.g.: "Client:SubscribeKeyUp & Character:SubscribeDeath.

All Methods should be named as CLASSNAME:METHODNAME, e.g.: "Player:GetControlledCharacter & Server:BroadcastChatMessage.

Static Classes

All Static Classes can follow the example of Server.json.

The prefixes of Static Classes Methods must contain the Class name and the method separated with :, e.g.: Package:GetDirectories & Package:Subscribe("Load").

The prefixes of Static Classes Events should be named following the pattern CLASSNAME:SubscribeEVENTNAME, e.g.: "Client:SubscribeKeyUp.

Classes

All Classes can follow the example of WebUI.json.

The prefixes of Classes Methods must contain only the method started with :, e.g.: :SetViewMode & :SetHealth.

The prefixes of Classes Events should be following the pattern :SubscribeEVENTNAME, e.g.: ":SubscribeTakeDamage.'

About

Official nanos world Snippets for VSCode!

Topics

Resources

Stars

Watchers

Forks