Git Product home page Git Product logo

webstrom-setting's Introduction

WebStrom-Setting

A JS standard setting of WebStorm

起源

前端工作以来,开发工具一直使用的是WebStorm(前端) + Eclipse(后端Java服务)。WebStorm虽然吃内存,但毕竟是IDE,功能自然强大!

一个开发团队中,有的人喜欢用4空格缩进,有的人喜欢用2空格,没有对错之分。我们使用规范,只是为了代码风格统一,方便互相review,避免争论。

这里我根据多年的使用习惯,参考JS社区编程规范,导出了webstorm的设置jar包,方便有需要的同学一键导入使用。

特性

附带webstorm一些设置技巧 YutHelloWorld/Blog#8

使用

  1. 克隆仓库
$ git clone https://github.com/YutHelloWorld/WebStrom-Setting.git
  1. 把仓库中的setting.jar导入到WebStorm。操作:File -> Import Settings

  2. 选中要格式化的代码,使用格式化快捷键Command+option+L(Mac)格式化代码,就能够使得JS代码保持和设置的JS规范一致。

  3. 推荐安装插件:Material Theme UI。方法:Prefences -> Plugin -> Browse Repositories -> 搜索 Material Theme UI 并安装。

  4. 效果 ws

webstrom-setting's People

Contributors

yuthelloworld avatar

Stargazers

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

Watchers

 avatar

webstrom-setting's Issues

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.