Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>FE workbenchNew to Visual Studio Code? Get it now.
FE workbench

FE workbench

yuanwallace

|
36 installs
| (1) | Free
a workbench for fe
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FE BENCH For Visual Studio Code

FE BENCH提供FE日常开发支持工具,集成了向GitLab.com和Gitlab提交MR和远程部署开发机的功能

Features

  • 支持罗列本地项目分支,一键提交MR到GitLab.com和Gitlab
  • 配置默认的remote(e.g. origin)和分支(e.g. master)
  • 支持配置pm2 deploy文件,实现远程部署开发机
  • 支持配置多个pm2 deploy任务

Create MR

  1. 点击对应分支右侧的按钮
  2. 输入代码变更的commit message, 置空则使用最后一次提交记录
  3. 所选分支会被push到remote, 默认为origin,可以通过gitlab-mr.targetRemote配置
  4. 创建默认目标分支master(可以通过gitlab-mr.targetBranch修改)的MR
  5. 出现带link的mr提示

GitHub

Deploy Remote

  1. 点击配置按钮,填写对应的部署json pm2
  2. 点击Setup按钮完成task初始化和运行
  3. 点击refresh完成post-deoloy update

GitHub

Extension Settings

  • workbench-mr.accessToken: Access token to use to connect to the Gitlab.com API. Create one by going to Profile Settings -> Access Tokens.
  • workbench-mr.accessTokens: Access token to use to connect to Gitlab CE/EE APIs. Create one by going to Profile Settings -> Access Tokens.
  • workbench-mr.apiVersion: Gitlab API version. Note, v4 is the only supported API version, but this setting can be used as an escape hatch in case your Gitlab instance is still on v3.
  • workbench-mr.targetBranch: Default target branch for MRs (defaults to master).
  • workbench-mr.targetRemote: Default target remote for MRs (defaults to origin).
  • workbench-mr.useDefaultBranch: When creating MRs, use default_branch set in repository as target branch.;
  • workbench-mr.autoOpenMr: Open newly created MRs in your browser.
  • workbench-mr.openToEdit: Open and edit newly created MRs in your browser.
  • workbench-mr.removeSourceBranch: When creating MRs, enable the option to remove the source branch after merging.

Access Tokens Example

"workbench-mr.accessToken": "ACCESS_TOKEN_FOR_GITLAB.COM",
"workbench-mr.accessTokens": {
    "https://gitlab.domain.com": "ACCESS_TOKEN_FOR_GITLAB.DOMAIN.COM"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft