stripe / vscode-stripe

Stripe for Visual Studio Code
MIT License
124 stars 32 forks source link


logo
Stripe for Visual Studio Code

Build, test, and use Stripe inside your editor.

Stripe’s extension for Visual Studio Code makes it easy to generate sample code, view API request logs, forward events to your application, and use Stripe within your editor.

A new Stripe panel in the activity bar provides easy access to code snippets for several languages, adds debug configurations, and extends the command palette with common developer workflows.

Stripe

Read more about this extension in the official Stripe documentation at https://stripe.com/docs/stripe-vscode

Contributions

Stripe for Visual Studio Code is an open source project. We do development in the open, where our issue tracker is public here in GitHub.

Contributions and feedback to the project are welcome, so please open issues for feature requests, questions and alike.

Developing this extension

  1. Checkout this repo
  2. Run npm install in terminal to install dependencies
  3. Run npm run webpack-dev
  4. Run the Run Extension target in the Debug View or simply press F5 This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window
  5. Disable the Stripe Extension for this workspace.
    • Right click "Stripe" from the Extensions marketplace
    • Click Disable (Workspace)

Debugging this extension

  1. Open the Run view, select the "Run Extension" button to launch an additional Extension Development Host instance of VSCode that executes the extension code in your workspace.
  2. To debug the stripe language server, select the "Client + Server" button. This will allow you to set breakpoints for code that lives within the stripeLanguageServer directory.

License

See LICENSE.md

Telemetry

The Stripe VS Code Extension collects basic telemetry in order to improve this extension's experience. If you'd like to opt out we respect the global telemetry setting in VS Code, so we won't collect any data unless this setting is turned on.

Third-Party Notices

Name Description Version Size License
@grpc/grpc-js gRPC Library for Node - pure JS implementation 1.5.2 250.4k Apache-2.0
byline simple line-by-line stream reader 5.0.0 1.8k MIT
compare-versions Compare semver version strings to find greater, equal or lesser. 4.1.2 1.7k MIT
execa Process execution for humans 5.1.1 25.1k MIT
expand-home-dir Expand ~/ 0.0.3 342B BSD
find-java-home Find JAVA_HOME on any system 1.2.2 12.8k Apache-2.0
fs-extra fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove. 10.0.0 31.7k MIT
moment Parse, validate, manipulate, and display dates 2.29.1 289.7k MIT
os-name Get the name of the current operating system. Example: macOS Sierra 4.0.1 27.4k MIT
proxyquire Proxies nodejs require in order to allow overriding dependencies during testing. 2.1.3 16k MIT
remark-gfm remark plugin to support GFM (autolink literals, strikethrough, tables, tasklists) 1.0.0 34.3k MIT
superagent elegant & feature rich browser / node HTTP with a fluent API 7.1.1 55.7k MIT
tar-fs filesystem bindings for tar-stream 2.1.1 60.5k MIT
toml TOML parser for Node.js (parses TOML spec v0.4.0) 3.0.0 27.5k MIT
uuid RFC4122 (v1, v4, and v5) UUIDs 8.3.2 8.1k MIT
vscode-languageclient VSCode Language client implementation 7.0.0 215.3k MIT
vscode-languageserver Language server implementation for node 7.0.0 121.9k MIT
vscode-languageserver-textdocument A simple text document implementation for Node LSP servers 1.0.3 3.4k MIT
winreg-utf8 provides access to the windows registry through the REG tool, with additional unicode support. 0.1.1 7.7k BSD-2-Clause
zlib Simple, synchronous deflate/inflate for buffers 1.0.5 210B BSD

Code of Conduct

This project has adopted the Stripe Code of Conduct. See CODE_OF_CONDUCT.md