Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a5a134d14845e9bf54a67049a36a2585e62897c
      
https://github.com/WebKit/WebKit/commit/1a5a134d14845e9bf54a67049a36a2585e62897c
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

  Changed paths:
    M Source/WebInspectorUI/Tools/CodeMirrorModes/index.html
    M Source/WebInspectorUI/Tools/HTMLFormatter/index.html
    M Source/WebInspectorUI/UserInterface/Main.html
    M Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js
    A Source/WebInspectorUI/UserInterface/Views/CodeMirrorWGSLMode.js

  Log Message:
  -----------
  Web Inspector: add basic WGSL syntax highlighting
https://bugs.webkit.org/show_bug.cgi?id=326289

Reviewed by Mike Wyrzykowski.

Add a custom CodeMirror mode `wgsl` that is used for text with a `text/wgsl` 
MIME.
Just like `x-shader/*` MIME, it adds additional keywords, types, builtins, etc. 
on top of the existing `clike` mode.

* Source/WebInspectorUI/UserInterface/Views/CodeMirrorWGSLMode.js: Added.
* Source/WebInspectorUI/UserInterface/Main.html:
* Source/WebInspectorUI/Tools/CodeMirrorModes/index.html:
* Source/WebInspectorUI/Tools/HTMLFormatter/index.html:

* Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js:

Drive-by: remove no longer used `x-pipeline/*` handling.
Canonical link: https://commits.webkit.org/322649@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to