Skip to content

A VS Code extension to open a reusable or variable file from a help article markdown file

License

Notifications You must be signed in to change notification settings

Fatash1989-pooch/open-reusables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


logo
Open a reusable


Overview

This Visual Studio Code extension works with markdown files in the docs-internal repository. While you are displaying a markdown file for a help article, you can click a variable or a reusable in the markdown and then run the extension to open the variable or reusable file in a new tab.

You can also quickly copy a variable or a reusable. Handy for when you need to use the same variable more than once in a topic.

Using the extension

  • To open a reusable or variable file:

    Either select some markdown containing a reusable or a variable, or just click inside the tag for a reusable or variable to place the cursor there, then press:

    Mac: control + command + o

    Windows: Ctrl + Alt + o

  • To copy a Liquid tag, such as the reference to a reusable or variable:

    Click inside the tag to place the cursor there, then press:

    Mac: control + command + c

    Windows: Ctrl + Alt + c

Alternatively run the extension from the command palette by choosing Open reusable file or Copy the reusable at the cursor position.

Installing the extension

To install this extension:

  1. Download the .vsix package file from the https://github.com/hubwriter/open-reusables repository.

  2. Launch VS Code and display the extensions panel:

    Extensions panel

  3. Click the ellipsis button (top right of the panel).

  4. Choose Install from VSIX:

    Install from VSIX option

  5. Browse to the .vsix file and click Install.

About

A VS Code extension to open a reusable or variable file from a help article markdown file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%