Skip to content

Releases: explosion/spacy-vscode

v1.0.1

02 Jun 15:12
a1deeb6
Compare
Choose a tag to compare

Version 1.0.1 Release of the VScode spaCy extension.

🔴 Bug Fixes

  • #28 Fix bug in Windows for linking to spaCy registered files within VS Code

v1.0.0

03 May 09:27
fc02d81
Compare
Choose a tag to compare

Version 1.0.0 Release of the VScode spaCy extension.

The extension provides additional tooling and features for working with spaCy's config files.

🚀 Quickstart

From the VS Code Marketplace

  • Step 1. Install a supported version of Python on your system (>=3.7)

  • Step 2. Install the Python Extension for Visual Studio Code

  • Step 3. Create a virtual python environment

  • Step 4. Install all python requirements

    • spaCy >= 3.4.4
    • pygls >= 1.0.0
  • Step 5. Install spaCy Extension for Visual Studio Code by searching in the VS Code marketplace

  • Step 6. Reload your VScode client

  • Step 7. Select your python environment by clicking on the spaCy status bar on the bottom.

From the release

  • Step 1. Download the .vsix file from the release

  • Step 2. Install a supported version of Python on your system (>=3.7)

  • Step 3. Install the Python Extension for Visual Studio Code

  • Step 4. Create a virtual python environment

  • Step 5. Install all python requirements

    • spaCy >= 3.4.4
    • pygls >= 1.0.0
  • Step 6. Install spaCy Extension for Visual Studio Code (right-click on the .vsix file inside VScode and click on install extension)

  • Step 7. Reload your VScode client

  • Step 8. Select your python environment by clicking on the spaCy status bar on the bottom.

You are ready to work with .cfg files in spaCy!

🔥 Features

The extension displays additional information on hover for some components and validates the config file on open.

Hover

The hover feature provides three different types of information.

  1. The function registry
    Functions within the config file are registered within spaCy's registry system. When one of these functions is hovered over, the feature will provide information about the function and its arguments, along with a link to the code for the function, if available.

  2. Resolving references to variables
    Variables are denoted in the config file as ${<variable-name>}. When a variable is hovered over, the feature will provide the value of that variable specified in the config file.

  3. Section titles
    The config system is separated by sections such as [training.batcher] or [components]. When a section, such as "training" or "components", or subsection, such as "batcher", is hovered over, the feature will provide a description of it, if available.

Validation

  • *.cfg validation on open and on save

v0.6.0

07 Apr 11:05
623b057
Compare
Choose a tag to compare

Version 0.6.0 Pre-release of the VScode spaCy extension.

The extension provides additional tooling and features for working with spaCy's config files.

New Features!

Validation

  • *.cfg validation on open and on save

Bug fixes

  • Initial start of the extension won't throw error messages
  • Adjusted the name of the extension to prevent filename access error
  • Refresh server.config variable on file switch

🚀 Quickstart

  • Step 1. Download the .vsix file from the release

  • Step 2. Install a supported version of Python on your system (>=3.7)

  • Step 3. Install the Python Extension for Visual Studio Code

  • Step 4. Create a virtual python environment

  • Step 5. Install all python requirements

    • spaCy >= 3.4.4
    • pygls >= 1.0.0
  • Step 6. Install spaCy Extension for Visual Studio Code (right-click on the .vsix file inside VScode and click on install extension)

  • Step 7. Reload your VScode client

  • Step 8. Select your python environment by clicking on the spaCy status bar on the bottom.

  • Step 9. You are ready to work with .cfg files in spaCy!

🔥 Features

The extension displays additional information on hover for some components and validates the config file on open.

Hover

The hover feature provides three different types of information.

  1. The function registry
    Functions within the config file are registered within spaCy's registry system. When one of these functions is hovered over, the feature will provide information about the function and its arguments, along with a link to the code for the function, if available.

  2. Resolving references to variables
    Variables are denoted in the config file as ${<variable-name>}. When a variable is hovered over, the feature will provide the value of that variable specified in the config file.

  3. Section titles
    The config system is separated by sections such as [training.batcher] or [components]. When a section, such as "training" or "components", or subsection, such as "batcher", is hovered over, the feature will provide a description of it, if available.

Validation

  • *.cfg validation on open and on save

Version 0.5.0

06 Mar 12:33
9c66e79
Compare
Choose a tag to compare
Version 0.5.0 Pre-release
Pre-release

Version 0.5.0 Pre-release of the VScode spaCy extension.

The extension provides additional tooling and features for working with spaCy's config files. It includes hover descriptions for registry functions, variables, and section names within the config as an installable extension.

🚀 Quickstart

  • Step 1. Download the .vsix file from the release

  • Step 2. Install a supported version of Python on your system (>=3.7)

  • Step 3. Install the Python Extension for Visual Studio Code

  • Step 4. Create a virtual python environment

  • Step 5. Install all python requirements

    • spaCy >= 3.4.0
    • pygls >= 1.0.0
  • Step 6. Install spaCy Extension for Visual Studio Code (right-click on the .vsix file inside VScode and click on install extension)

  • Step 7. Reload your VScode client

  • Step 8. Select your python environment by clicking on the spaCy status bar on the bottom.

  • Step 9. You are ready to work with .cfg files in spaCy!

🔥 Features

The extension displays additional information on hover for some components and validates the config file on open.

Hover

The hover feature provides three different types of information.

  1. The function registry
    Functions within the config file are registered within spaCy's registry system. When one of these functions is hovered over, the feature will provide information about the function and its arguments, along with a link to the code for the function, if available.

  2. Resolving references to variables
    Variables are denoted in the config file as ${<variable-name>}. When a variable is hovered over, the feature will provide the value of that variable specified in the config file.

  3. Section titles
    The config system is separated by sections such as [training.batcher] or [components]. When a section, such as "training" or "components", or subsection, such as "batcher", is hovered over, the feature will provide a description of it, if available.