Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SPFx Script CheckNew to Visual Studio Code? Get it now.

SPFx Script Check

Elio Struyf

eliostruyf.com
|
2,668 installs
| (1) | Free
This extension allows you to check your external library URL and include it into your configuration file. Created by Elio Struyf.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code - SharePoint Framework Script Check Extension

This extension for Visual Studio Code makes it easier for you as a SharePoint Framework developer to correctly reference the external JavaScript libraries in your solutions.

The extension is powered by the same APIs of the SharePoint Framework Sript Check that was built by Waldek Mastykarz from Rencore.

Info: I recommend the following article if you want to know more about correctly referencing JavaScript libraries: Correctly reference scripts with Rencore Script Check.

What can this extension do for me?

Checking and including an external library to your solution

Example of including jQuery to your solution.

Including jQuery to the solution

Info: for jQuery the extension will ask you two questions: URL and module name. This is because jQuery is a module. For non-module scripts / libraries, you will have to provide more information.

Adding a non-module library to the solution

Example of including Cycle which is a jQuery plugin.

Including Cycle to the solution

Usage

Start by opening the command prompt:

  • Windows ⇧+ctrl+P
  • Mac: ⇧+⌘+P

Type: SPFx Script Check and provide the values to a couple of questions.

Feedback and snippet ideas

Feedback and ideas are always welcome. Please submit them via creating an issue in the project repository: issue list.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft