[all-commits] [llvm/llvm-project] 618717: [mlir:LSP] Switch document sync mode to Incremental
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Jun 6 20:20:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6187178e832c36639f1dee4f718c76a90eb91fd0
https://github.com/llvm/llvm-project/commit/6187178e832c36639f1dee4f718c76a90eb91fd0
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-06-06 (Mon, 06 Jun 2022)
Changed paths:
M mlir/lib/Tools/lsp-server-support/Protocol.cpp
M mlir/lib/Tools/lsp-server-support/Protocol.h
M mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
M mlir/lib/Tools/tblgen-lsp-server/LSPServer.cpp
M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.h
M mlir/test/mlir-pdll-lsp-server/initialize-params.test
A mlir/test/mlir-pdll-lsp-server/textdocument-didchange.test
M mlir/test/tblgen-lsp-server/initialize-params.test
A mlir/test/tblgen-lsp-server/textdocument-didchange.test
Log Message:
-----------
[mlir:LSP] Switch document sync mode to Incremental
This is much more efficient over the full mode, as it only requires sending
smalls chunks of files. It also works around a weird command ordering
issue (full document updates are being sent after other commands like
code completion) in newer versions of vscode.
Differential Revision: https://reviews.llvm.org/D126032
Commit: 5919eab55c1d3068605e6db1f7744dbcfa14ea1c
https://github.com/llvm/llvm-project/commit/5919eab55c1d3068605e6db1f7744dbcfa14ea1c
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-06-06 (Mon, 06 Jun 2022)
Changed paths:
M mlir/docs/Tools/MLIRLSP.md
M mlir/lib/Tools/lsp-server-support/Protocol.cpp
M mlir/lib/Tools/lsp-server-support/Protocol.h
M mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
M mlir/test/mlir-pdll-lsp-server/initialize-params.test
A mlir/test/mlir-pdll-lsp-server/inlay-hints.test
M mlir/utils/vscode/package-lock.json
M mlir/utils/vscode/package.json
M mlir/utils/vscode/src/mlirContext.ts
Log Message:
-----------
[mlir:PDLL] Add support for inlay hints
These allow for displaying additional inline information,
such as the types of variables, names operands/results,
constraint/rewrite arguments, etc. This requires a bump in the
vscode extension to a newer version, as inlay hints are a new LSP feature.
Differential Revision: https://reviews.llvm.org/D126033
Commit: a3a4f0335fcc654dc81710e9b46665b44b60de0d
https://github.com/llvm/llvm-project/commit/a3a4f0335fcc654dc81710e9b46665b44b60de0d
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-06-06 (Mon, 06 Jun 2022)
Changed paths:
M mlir/utils/vscode/package-lock.json
M mlir/utils/vscode/package.json
Log Message:
-----------
[vscode-mlir] Bump to version 0.9
Since version 0.8 we've added:
* Switched PDLL and TableGen to use incremental doc updates
* Added support to PDLL for inlay hints
Compare: https://github.com/llvm/llvm-project/compare/e52a38c8f1c4...a3a4f0335fcc
More information about the All-commits
mailing list