Code Monkey home page Code Monkey logo

vscode-nyan-cat's Introduction

Nyan Cat for VSCode

Put Nyan Cat in your VSCode!

Because of the API restrict, Nyan Cat now only show up in your VSCode status bar, but more will be done in the future.

VSCode

Install

VS Code Extensions search Nyan~

IMPORTANT 1

After install, press shift + command + p, search Nyan Cat: refresh status bar and execute it, Nyan Cat will display on your status bar.

安装完成后,按下shift + command + p,输入Nyan Cat: refresh status bar并执行,Nyan Cat 将显示在你的状态栏里。

IMPORTANT 2

After install, VSCode maybe display Your Code installation appears to be corrupt. Please reinstall, this is because of API restrict, the extension must be inject js file into VSCode to perform related functions, this led to VSCode this prompt, but it's harmless, will not have any effect on VSCode, so just ignore it.

在安装后,VSCode 可能会提示VSCode 安装文件被破坏,请重新安装,这是由于 API 限制的原因,扩展必须注入 js 文件到 VSCode 里来执行相关功能,这导致了出现这个提示,但它是无害的,这不会对 VSCode 有任何影响,可以直接忽略。

IMPORTANT 3

After upgrade extension, you must be press shift + command + p, search Nyan Cat: reload Nyan Cat and execute it, this will reload Nyan Cat, it's important.

在更新 Nyan Cat 后,你必须按下shift + command + p,输入Nyan Cat: reload Nyan Cat并执行来手动更新注入代码。

IMPORTANT 4

For Linux users, you may receive error when run the command, it shows xxx command not found, this because of the VSCode extension have no permissions to modify the VSCode source code on Linux, it leds this problem, so you can run VSCode with sudo, for example:

sudo code --user-data-dir=~

Then rerun the command, and close this VSCode instance, then reopen VSCode by ordinary user, you can see the command came into effect.

对于 Linux 用户,当运行 Nyan Cat 的命令时可能会收到 xxx command not found的错误,这是因为 VSCode 扩展在 Linux 上没有修改 VSCode 源代码的权限,这导致了这个错误,所以你可以通过 sudo 运行 VSCode,例如

sudo code --user-data-dir=~

重新运行刚刚出错的命令,然后关闭这个 VSCode 实例,以普通用户重新打开 VSCode,这是就能看到刚刚的命令生效了。

Uninstall

Before you actually uninstall, you must be press shift + command + p, search Nyan Cat: ready to uninstall Nyan Cat and execute it, this will restore the file what you modified during the installation, it's important.

在实际卸载前,按下shift + command + p,输入Nyan Cat: ready to uninstall Nyan Cat并执行,这将恢复在安装过程中修改的文件,这一步很重要。

Features

Show Nyan Cat in your status bar.

Extension Settings

{
    "NyanCat.backgroundColor": "transparent", // Nyan Cat area background color, default is transparent, it accepts any css color string.
    "NyanCat.name": "bday" // what you want to show the name, default is bday
}

When after you changed the configuration, you should rerun Nyan Cat: refresh status bar to apply it.

Cat Names List

random

This will random display Nyan Cat.

GB

GB

bday

bday

breakfast

breakfast

easter

easter

grumpy

grumpy

jacksnyan

jacksnyan

jazz

jazz

mexinyan

mexinyan

mummy

mummy

nyan

nyan

nyancoin

nyancoin

nyaninja

nyaninja

paddy

paddy

pikanyan

pikanyan

sadnyan

sadnyan

slomo

slomo

technyancolor

technyancolor

uhmurica

uhmurica

vday

vday

xmas

xmas

zombie

zombie

Enjoy!

vscode-nyan-cat's People

Contributors

dependabot[bot] avatar palmcivet avatar zhengrenzhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-nyan-cat's Issues

Relies on static location of app's index.html file

Electron no longer uses this paradigm and because of this the app needs to be either entirely rewritten or modified such that it uses a different method of injecting the JS and CSS. To anyone confused as to why this project doesn't work, this is why. A VS - Code update seems to have broken the primary method of using this extension. Sad reacts only.

Does not work for me on OSX Mojave

It says that the commands does not exist when I try to run them. I run OSX Mojave, and I already tried installing the extension as root. So sad, because I really wanted nyan cat :(.

VScode上安装失败

按照流程重新安装了之后,并没有任何反应。换一台电脑也测试过,并不行。
我真的很想要猫猫啊,球球作者debug一下~

command 'extension.NyanCatReload' not found

Hello.

I just installed the extension but when trying to reload it shows the error "command 'extension.NyanCatReload' not found". Same with the refresh one "command 'extension.NyanCatRefresh' not found"

Edit:

It doesn't work at all, btw.

Installed version: The marketplace one
VSCode Version: 1.19.1

Nyan Cat not show in Vscode on Mac

Vscode Info

Version: 1.53.2
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:45:54.515Z (2 wks ago)
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 20.3.0

Mac OS Info
Screen Shot 2564-02-27 at 01 14 52

I try to follow setup instruction in readme but meow cat not show on my status bar 😥

Screen Shot 2564-02-27 at 01 15 53

has someone found issue like me?

thanks

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.