Describe the bug
The JSON schema (and other versioned config schemas) is currently returned with the HTTP header Content-Type: text/plain; charset=utf-8.
Most of JetBrains IDEs (RustRover, WebStorm, etc.) v2026.1.x fails to recognize it as a JSON schema, resulting in a total loss of Autocompletion for tauri.conf.json and tauri.conf.json5.
(VS Code is able to parse the text/plain correctly)
Reproduction
curl -I https://schema.tauri.app/config/2
Expected behavior
Expected: content-type: application/json; charset=utf-8
Actual: content-type: text/plain; charset=utf-8
Full tauri info output
[✔] Environment
- OS: Mac OS 26.4.1 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ Xcode: 26.4.1
✔ rustc: 1.95.0 (59807616e 2026-04-14)
✔ cargo: 1.95.0 (f2d3ce0bd 2026-03-21)
✔ rustup: 1.29.0 (28d1352db 2026-03-05)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 24.14.1
- pnpm: 9.15.9
- yarn: 1.22.22
- npm: 11.12.0
- bun: 1.3.12
[-] Packages
- tauri 🦀: 2.10.3
- tauri-build 🦀: 2.5.6
- wry 🦀: 0.54.4, (outdated, latest: 0.55.0)
- tao 🦀: 0.34.8, (outdated, latest: 0.35.0)
- tauri-cli 🦀: 2.10.1
- @tauri-apps/api ⱼₛ: 2.10.1
- @tauri-apps/cli ⱼₛ: 2.10.1
[-] Plugins
- tauri-plugin-single-instance 🦀: 2.4.1
- @tauri-apps/plugin-single-instance ⱼₛ: not installed!
- tauri-plugin-store 🦀: 2.4.2
- @tauri-apps/plugin-store ⱼₛ: 2.4.2
- tauri-plugin-log 🦀: 2.8.0
- @tauri-apps/plugin-log ⱼₛ: 2.8.0
- tauri-plugin-updater 🦀: 2.10.1
- @tauri-apps/plugin-updater ⱼₛ: 2.10.1
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- framework: React
Stack trace
Additional context
- I have tried running a local proxy server that fetches the official schema and overrides the
Content-Type to application/json. Autocompletion in RustRover/WebStorm starts working.
- Then I changed
Content-Type to text/plain, and invalidated IDE cache, it fails again.
- By changing the
$schema to a local file path: "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", it works perfectly.
Remote JSON schema (doesn't work)
Local JSON schema (works)
Local Proxy use application/json (works)
Local Proxy use text/plain (doesn't work)

Describe the bug
The JSON schema (and other versioned config schemas) is currently returned with the HTTP header Content-Type: text/plain; charset=utf-8.
Most of JetBrains IDEs (RustRover, WebStorm, etc.) v2026.1.x fails to recognize it as a JSON schema, resulting in a total loss of Autocompletion for
tauri.conf.jsonandtauri.conf.json5.(VS Code is able to parse the
text/plaincorrectly)Reproduction
curl -I https://schema.tauri.app/config/2Expected behavior
Expected:
content-type: application/json; charset=utf-8Actual:
content-type: text/plain; charset=utf-8Full
tauri infooutputStack trace
Additional context
Content-Typetoapplication/json. Autocompletion in RustRover/WebStorm starts working.Content-Typetotext/plain, and invalidated IDE cache, it fails again.$schemato a local file path:"$schema": "../node_modules/@tauri-apps/cli/config.schema.json", it works perfectly.Remote JSON schema (doesn't work)
Local JSON schema (works)
Local Proxy use application/json (works)
Local Proxy use text/plain (doesn't work)