+
Skip to content

zizmorcore/zizmor-vscode

Repository files navigation

zizmor-vscode

A Visual Studio Code extension for zizmor.

Installation

Important

You must have zizmor v1.11.0 or later installed; earlier versions do not include LSP support.

If zizmor --version shows a version below 1.11.0, you must update zizmor to use this extension.

To use this extension, you must have zizmor installed on your system. See zizmor's installation documentation for system-appropriate instructions.

Once you have zizmor installed, you can install this extension from the VS Code Marketplace.

Extension Settings

This extension contributes the following settings:

  • zizmor.enable: Enable/disable the zizmor language server (default: true)
  • zizmor.executablePath: Path to the zizmor executable (default: zizmor)
  • zizmor.trace.server: Traces the communication between VS Code and the language server
    • "off" (default): No tracing
    • "messages": Trace messages only
    • "verbose": Verbose tracing

Commands

This extension contributes the following commands:

  • zizmor: Restart zizmor Language Server - Restart the language server
  • zizmor: Show zizmor Output - Show the language server output channel

Development

Building from source

npm install
npm run compile

Running the extension

  1. Open this project in VS Code
  2. Press F5 to open a new Extension Development Host window
  3. Open an action or workflow file to test the extension

Debugging

  • Set breakpoints in the TypeScript source files
  • Use the "Run Extension" launch configuration
  • Check the "Zizmor Language Server Trace" output channel for server communication

License

This extension is licensed under the terms of the MIT license.

See LICENSE for the full terms.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载