Skip to content

Run0812/SpicyWhenCode

Repository files navigation

spicy-when-code

A extension make you annoyed when coding. PERFECT when you want to play with someone.

Structure

This extension supplies 2 ways to detect text input.

  • Condition
    • Keyword: Input a keyword.
    • nClick: In a period, input N times the same character.

And will make some effects.

  • delete file
  • new file
  • insert text
  • delete text
  • move cursor

TODO

  • Config
    • mapping of trigger and handler
    • Configurable handler

Features

Usage

Ctrl+Shift+P open the command

  • Spicy: 开启老火模式 - enter the spicy mode
  • Spicy: 退出老火模式 - exit the spicy mode
  • Spicy: 关闭插件 - dispose the extension

Click

  • wasd
    • w: move cursor up
    • a: move cursor left
    • s: move cursor down
    • d: move cursor right

  • Double-wasd
    • double w: move token up
    • double a: move token left
    • double s: move token down
    • double d: move token right

  • any input
    • change the cursor style randomly

Keyword

  • return
    • delete last line
  • del
    • delete this line

  • gg: delete this file

  • new: create a random name file and show "Happy New Year" on status bar

  • split: replaced with " s p l i t e "

  • if: auto completion - "if I were a boy~"

  • for: auto completion - "for what? bro"

Requirements

I DONT KNOW WHAT THIS IS.

Extension Settings

No settings yet.

Known Issues

LOTS OF.

About

Make you annoyed when coding

Resources

Stars

Watchers

Forks

Packages

No packages published