[Mlir-commits] [mlir] d5e14af - [mlir][vscode] Add angle bracket support to MLIR language configuration (#176602)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Jan 17 14:41:01 PST 2026
Author: Jacques Pienaar
Date: 2026-01-17T14:40:58-08:00
New Revision: d5e14afb7879853acf8f00429520728791cc934d
URL: https://github.com/llvm/llvm-project/commit/d5e14afb7879853acf8f00429520728791cc934d
DIFF: https://github.com/llvm/llvm-project/commit/d5e14afb7879853acf8f00429520728791cc934d.diff
LOG: [mlir][vscode] Add angle bracket support to MLIR language configuration (#176602)
Add angle brackets (<>) to brackets, autoClosingPairs, and
surroundingPairs for better editing of types like tensor<3xf32>. Also
add colorizedBracketPairs for visual distinction between nested bracket
types.
Added:
Modified:
mlir/utils/vscode/language-configuration.json
mlir/utils/vscode/package.json
Removed:
################################################################################
diff --git a/mlir/utils/vscode/language-configuration.json b/mlir/utils/vscode/language-configuration.json
index 8a34cc83a53cb..ded00a40bab70 100644
--- a/mlir/utils/vscode/language-configuration.json
+++ b/mlir/utils/vscode/language-configuration.json
@@ -5,18 +5,27 @@
"brackets": [
["{", "}"],
["[", "]"],
- ["(", ")"]
+ ["(", ")"],
+ ["<", ">"]
+ ],
+ "colorizedBracketPairs": [
+ ["{", "}"],
+ ["[", "]"],
+ ["(", ")"],
+ ["<", ">"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
+ ["<", ">"],
["\"", "\""]
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
+ ["<", ">"],
["\"", "\""]
]
}
diff --git a/mlir/utils/vscode/package.json b/mlir/utils/vscode/package.json
index 0f419279f2346..2087330f4a1ad 100644
--- a/mlir/utils/vscode/package.json
+++ b/mlir/utils/vscode/package.json
@@ -2,7 +2,7 @@
"name": "vscode-mlir",
"displayName": "MLIR",
"description": "MLIR Language Extension",
- "version": "0.0.12",
+ "version": "0.0.13",
"publisher": "llvm-vs-code-extensions",
"homepage": "https://mlir.llvm.org/",
"icon": "icon.png",
More information about the Mlir-commits
mailing list