注意:如果下边的这个webstorm激活码失效了的话大家可以关注微信公众号:前端之术,然后回复“ 激活码 ”即可获取2021年最新有效的webstorm激活码。
0UYRICTXIR-eyJsaWNlbnNlSWQiOiIwVVlSSUNUWElSIiwibGljZW5zZWVOYW1lIjoi5r+A5rS75p2l5rqQIHd3d8K3YWppaHVvwrdjb20iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjEtMDYtMDIiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDIxLTA2LTAyIiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMS0wNi0wMiIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMjEtMDYtMDIiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlJTQyIsInBhaWRVcFRvIjoiMjAyMS0wNi0wMiIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMS0wNi0wMiIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjEtMDYtMDIiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlJTRiIsInBhaWRVcFRvIjoiMjAyMS0wNi0wMiIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJQQyIsInBhaWRVcFRvIjoiMjAyMS0wNi0wMiIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMjEtMDYtMDIiLCJleHRlbmRlZCI6ZmFsc2V9LHsi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bn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISXmz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeIQ/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD
File-> Settings -> Editor -> Live Templates
当我们写react 组件,实现一个组件,要手写一大堆相同的代码,严重的浪费时间,其实只需要快捷键 ctrl + j , 然后输入rcfc 即可生成一个全周期的 React 类组件,其他语法模板,如angular、vue或者普通js都可以选择性的增加或者删除,大大加快写代码速度
import 和 export 同样可以简化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import React, {Component} from ‘react‘ ; import PropTypes from ‘prop-types‘ ; class Connect extends Component { constructor(props) { super (props); } componentWillMount() {} componentDidMount() {} componentWillReceiveProps(nextProps) {} shouldComponentUpdate(nextProps, nextState) {} componentWillUpdate(nextProps, nextState) {} componentDidUpdate(prevProps, prevState) {} componentWillUnmount() { } render() { return ( <div> < / div> ); } } Connect.propTypes = {}; export default Connect; |
在底部的 Version Control 板块,就是git的工具了,非常之强大,同样可以配置自己喜欢的快捷键
右下角可以管理本地和远程分支 ,切换分支,新建分支,重命名分支,删除分支,merge之类的操作都可以
git 快捷操作 更新,提交, 文件历史,回退
写代码时,经常要revert 和 diff文件 ,所有修改的文件,都在下边,非常之方便
ws的git功能实现太强大,下面是几个工作场景
git compare with branch
目录对比 ,选中目录 右键 git compare with branch
git revert
ws的查找也巨强,支持正则!!!
Match Case
大小写匹配Words
是匹配整个单词,如 查找 Reac
勾选 Words 则找不到,因为必须是Reac, React
肯定不匹配整个单词Regex
就是正则了ws 的debug也很方便 ,如图,只需要在文件的行数上,点击出现一个红点,然后右键debug这个文件即可,下边的面板,会有每个变量的值 ,调试一些源码很方便,比如看webpack的源码 。
快速定位未完成的任务
哦了,先分享这么多~
WebStorm激活码2020.3,2021年最新永久激活码!
原文:https://www.cnblogs.com/java0011/p/13936230.html