Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Shopify Functions Query Cost CalulatorNew to Visual Studio Code? Get it now.
Shopify Functions Query Cost Calulator

Shopify Functions Query Cost Calulator

Preview

Nextools

|
263 installs
| (0) | Free
A simple widget that shows the query cost of a graphql query in the status bar for a shopify function input query
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shopify Functions Query Cost Calculator for VSCode

This VSCode extension provides a valuable tool for developers working with Shopify functions. It automatically checks if the currently open file is a .graphql file. If it is, the extension calculates the query cost of the GraphQL queries contained within the file. This calculation is based on the cost limitations outlined in the official Shopify documentation.

The calculated query cost is then displayed in the VSCode status bar, offering immediate and clear feedback to the developer. This feature is particularly useful for ensuring that Shopify functions do not exceed the platform's query cost limitations, which is crucial for maintaining the performance and reliability of the functions.

To provide a visual aid, the extension includes a screenshot that demonstrates the query cost display in the status bar:

Query Cost Screenshot Function Run Message Screenshot

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft