[Mlir-commits] [mlir] b64a286 - [mlir:LSP] Add a doc blurb for code completion
River Riddle
llvmlistbot at llvm.org
Wed Jul 20 12:11:09 PDT 2022
Author: River Riddle
Date: 2022-07-20T12:02:13-07:00
New Revision: b64a286332c2e70a90c2461f7ca65fdbab90eb9d
URL: https://github.com/llvm/llvm-project/commit/b64a286332c2e70a90c2461f7ca65fdbab90eb9d
DIFF: https://github.com/llvm/llvm-project/commit/b64a286332c2e70a90c2461f7ca65fdbab90eb9d.diff
LOG: [mlir:LSP] Add a doc blurb for code completion
This also gets used for the vscode extension documentation.
Added:
Modified:
mlir/docs/Tools/MLIRLSP.md
Removed:
################################################################################
diff --git a/mlir/docs/Tools/MLIRLSP.md b/mlir/docs/Tools/MLIRLSP.md
index b54176efff6c..bcea9e9bffa0 100644
--- a/mlir/docs/Tools/MLIRLSP.md
+++ b/mlir/docs/Tools/MLIRLSP.md
@@ -58,6 +58,14 @@ any generated diagnostics in-place.
![IMG](/mlir-lsp-server/diagnostics.png)
+#### Code completion
+
+The language server provides suggestions as you type, offering completions for
+dialect constructs (such as attributes, operations, and types), block names, SSA
+value names, keywords, and more.
+
+![IMG](/mlir-lsp-server/code_complete.gif)
+
#### Cross-references
Cross references allow for navigating the use/def chains of SSA values (i.e.
@@ -368,6 +376,7 @@ The MLIR extension adds language support for the
- go-to-definition and cross references
- Detailed information when hovering over IR entities
- Outline and navigation of symbols and symbol tables
+- Code completion
- Live parser and verifier diagnostics
[mlir-vscode features]: #
More information about the Mlir-commits
mailing list