GithubHelp home page GithubHelp logo

easyvar's Introduction

Hi there 👋

Alt Text Top Langs

easyvar's People

Contributors

abmcar avatar xbaimiao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xbaimiao

easyvar's Issues

a little suggestion

在开发过程中我们通常应当遵守代码规范(Google Style Guide (Java)阿里巴巴 Java 开发手册)。

这是不符合规范的错误写法:
image


错误的路径分隔符号:

EasyVar.getPlugin().saveResource("scripts\\"+configName+".yml",true);

应当使用正斜杠或是 File.pathSeparatorChar


不该出现的换行符号:

String nowMessage1 = "&7使用&b/ev show player <playerName>&f查看该玩家拥有变量,playerName为玩家名字\n";

通过 Bukkit 方法向玩家或控制台发送的信息不需要换行符号,况且,

你还在后面删掉了它。


在最新的 Idea 版本中,可以在 Preferences -> Tools -> Actions on Save 中开启 Reformat code 功能来在文件保存时自动格式化代码,让你的代码看起来更加美观。

image


如果你对插件开发工作感兴趣或是想与其他开发者共同交流进步,欢迎加入我们的交流群:809083692

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.