Input and compilation/Text editors/Kate

From Wiki
Jump to navigation Jump to search

Kate feature

Configuration

Lsp server

The following screenshots show the use of digestif lsp-server.

In .config/kate/lspclient/settings.json

{
    "servers": {
        "context": {
            "command": ["digestif"],
            "url": "https://github.com/astoff/digestif",
            "highlightingModeRegex": "^ConTeXt$"
        }
    }
}

After updating this file, you should see its content in Settings > Configure Kate > LSP Client > User Server Settings

ConTeXt as an External tool

Settings > Configure Kate > External tools > Add

2 things to define

Name: ConTeXt (for example)

Executable: YOUR-PATH/tex/texmf-linux-64/bin/context

Build Command

YOUR-PATH/tex/texmf-linux-64/bin/context %f

Highlighting of corresponding start/stop and code folding

kate 001 startstop.png

kate 004 folding.png

Navigation via sectioning titles

kate 002 symbols.png

Writing supported by list of available commands

kate 003 list of commands.png

Link to wiki's ConTeXt command pages