[all-commits] [llvm/llvm-project] ff81a2: [mlir-lsp-server] Add support for textDocument/doc...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Jun 10 11:04:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff81a2c95ddb944c61c162baec3521d9dd62c2cc
      https://github.com/llvm/llvm-project/commit/ff81a2c95ddb944c61c162baec3521d9dd62c2cc
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Parser/AsmParserState.h
    M mlir/lib/Parser/AsmParserState.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.cpp
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.h
    M mlir/lib/Tools/mlir-lsp-server/lsp/Protocol.cpp
    M mlir/lib/Tools/mlir-lsp-server/lsp/Protocol.h
    M mlir/lib/Tools/mlir-lsp-server/lsp/Transport.cpp
    A mlir/test/mlir-lsp-server/document-symbols.test
    M mlir/test/mlir-lsp-server/initialize-params.test

  Log Message:
  -----------
  [mlir-lsp-server] Add support for textDocument/documentSymbols

This allows for building an outline of the symbols and symbol tables within the IR. This allows for easy navigations to functions/modules and other symbol/symbol table operations within the IR.

Differential Revision: https://reviews.llvm.org/D103729


  Commit: bb97959949ff68aa7e001bab2be1b5be4d6d389a
      https://github.com/llvm/llvm-project/commit/bb97959949ff68aa7e001bab2be1b5be4d6d389a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M mlir/docs/Tools/MLIRLSP.md

  Log Message:
  -----------
  [mlir-lsp-server] Document the features provided by the language server

This revision adds focused documentation on each of the individual features of the server, with images showcasing how they look in vscode.

Differential Revision: https://reviews.llvm.org/D103942


Compare: https://github.com/llvm/llvm-project/compare/1b894ccdc9ee...bb97959949ff


More information about the All-commits mailing list