Skip to content

SrivamsiRajesh/Nyx-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nyx Snippets

Code snippets to build discord Bots and more.

Nyx snippets helps the user to build websites and discord bots in just One click.

How to use

Type ht.,py.,js.,dpy.,djs. to see available autocompletions in work.

Logo by :-

https://github.com/hamza1312

Commands

  • For **HTML** --> **ht.**
  • For **CSS** --> **css.**
  • For **python** --> **py.**
  • For **discord py** --> **dpy.**
  • For **discord js** --> **djs.**
  • For **Javascript** --> **js.**

Html Commands

Command **Help Text **
ht.5 Creates an Bootstrap 5 starter template with css and js
ht.nav Creates a simple Navigation bar
ht.si Creates an simple html without bootstrap
ht.csjs Creates an web page with css and js links
ht.div Creates a html div
ht.sec Creates a section in html
ht.a Creates 'a' in html

CSS commands

Command **Help Text **
css.aifs Align Items (Flex-Start)
css.aibl Align Items (Base-Line)
css.aic Align Items (Center)
css.aife Align Items (Flex-End)
css.ais Align Items (stretch)
css.aiani Align Items (Animation)
css.bg Align Items (Background)
css.bgi Align Items (Background image)
css.bgbor Align Items (Background Border)

Python Commands

Command **Help Text **
py.world Simple Hello world
py.main Python main
py.class Prints class with name and age
py.if Python If Statement
py.for For loop in python
py.while While loop in python
py.try Python Try Catch Block
py.func Python function with one arguments
py.lambda Lambda Function in python
py.env Using Environment Variables in Python
py.envvariables Using Environment Variables in Python
py.clfunc Class Function in Python

AND THERE ARE MORE COMMANDS

Install instructions

Install via Extension Marketplace

  • Open Command on Visual Studio Code (Ctrl+Shift+P on Windows or Cmd+Shift+P on Mac/OSX)
  • ext install nyx-snippets

  • Wait until install complete and restart VS Code

Details

Known Issues

Release Notes

All notable changes to the "Nyx-snippets" extension will be documented in here and in the details found in the changelog file.

0.0.1 [14/06/2022]

  • Initial release

Enjoy! Happy Coding

Releases

No releases published

Packages

No packages published