Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26348

Consider using tree-sitter for syntax highlighting

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: Qt Creator 5.0.1
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Platform/s:
      All

      Description

      From the project's README:

      Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.

      Qt Creator could use tree-sitter for language-related tasks that need to be fast, like syntax highlighting, code folding, and structural editing.

      Code analysis and refactoring could be left to more heavy-weight LSP.

      Tree-sitter is an increasingly popular project with integrations in neovim and Emacs and could be maybe used by Qt Creator to support more languages.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes