Menu
Choose a product
Viewing: v0.49.x
Find another version
Scroll for more
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Open source
IntelliSense
IntelliSense refers to code editing features like intelligent code completion and quick access to documentation. These features can significantly improve the developer experience and productivity when working on k6 scripts in your editor of choice. Notable features are:
- Auto-completion of k6 functions, methods, and classes.
- Auto imports of k6 modules.
- Access to k6 documentation when writing and hovering code.

VS Code & IntelliJ
k6 has its TypeScript Type Definition that you can configure with your editor to unlock code editing features.
In Visual Studio Code and IntelliJ IDEA Ultimate, you can configure IntelliSense to recognize the k6 JavaScript API by installing the k6 Types with a package manager.
Bash
# create a `package.json` file
$ npm init --yes
# install the k6 types as dev dependency
$ npm install --save-dev @types/k6Read more
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Performance testing and observability in Grafana Cloud
Optimize user experiences with Grafana Cloud. Learn real-time insights, performance testing with k6, and continuous validation with Synthetic Monitoring.
Events

User-centered observability: load testing, real user monitoring, and synthetics
Learn how to use load testing, synthetic monitoring, and real user monitoring (RUM) to understand end users' experience of your apps. Watch on demand.