前端插件

一些前端插件

Posted by jorce on August 20, 2018

cmder

本人目前在windows下比较喜欢用的命令行工具,可以更方便的复制粘贴躲开等等功能。

1
2
3
cmder /register user

cmder /register all

powershell插件

vscode插件 用于清晰地看出自己的代码的更新 - 显示所在分支及该分支added/modified/deleted/conflict的数量

  • 设置权限

    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm

  • 使用PowerShellGet安装

    PowerShellGet\Install-Module posh-git -Scope CurrentUser

  • v全局导入posh-git

    Add-PoshGitToProfile -AllHosts

fiddler自定义规则

相比较postman更复杂功能却更多

修改请求

1
2
3
4
5
static function OnBeforeRequest(oSession: Session) {
    if (oSession.uriContains("https://......")) {
        oSession.utilReplaceInRequest('"prodId": 1016995', '"prodId": 11111')
    }
}

修改响应

1
2
3
4
5
static function OnBeforeResponse(oSession: Session) {
    if (oSession.uriContains("......")) {
        oSession.utilReplaceInResponse('"status": "1"', '"status": "2"')
    }
}

修改url传参

1
2
3
4
5
static function OnBeforeRequest(oSession: Session) {
    if (oSession.uriContains("......")) {
        oSession.fullUrl = oSession.fullUrl.Replace("prodId=1017159", "prodId=111111");
    }
}

vscode插件

  • Auto Rename Tag
  • AutoFileName
  • Beautify
  • Bookmarks
  • Bracket Pair Colorizer
  • Chinese (Simplified) Language Pack for Visual Studio Code
  • Class autocomplete for HTML
  • Code Runner
  • EditorConfig for VS Code
  • expand-region
  • indent-rainbow
  • npm Intellisense
  • Path Intellisense
  • Project Manager
  • React-Native/React/Redux snippets for es6/es7
  • Settings Sync
  • sftp
  • Vetur
  • VSCode Great Icons
  • vscode-element-helper
  • vscode-fileheader