Skip to content

sunliangqin/VSCodeQuickBrowse

Repository files navigation

Introduction

This extension enables you open the current file in browser based on the file path.

Quick Browse

Settings

Here is an example to enable the files under the quick-browse folder for quick browse in github. Press Ctrl+Alt+B to open the current file in the github.

"quickBrowse.rules": [
    {
        "pattern": ".+?/quick-browse/(.*)",
        "list": [
            "https://github.com/sunliangqin/VSCodeQuickBrowse/blob/master/$1"
        ]
    }
]
  • pattern: a regular expression to match the current file path (use '/' as path separator). The first rule that matches will be used for quick browse.
  • list: a list of urls for quick browse. Use $n to reference the capturing groups defined in pattern.

About

Quick browse extension for VSCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published