Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Generic Highlighter in Qt Creator for Bash
QtWS25 Last Chance

Generic Highlighter in Qt Creator for Bash

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qt creatorhighlight
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    matpen
    wrote on last edited by
    #1

    Hi all,

    I am experimenting with the generic highlighter in Qt Creator, the goal being to use it to edit bash scripts that are part of my project. So far, this works but I would like to customize the highlighting colours.

    I have installed Kate in my system, and under Options > Text Editor > Generic Highlighter I have set "Use fallback location". This is required for other file types I use, e.g. XML files.
    I downloaded a definition file by following these instructions and started to edit. Following issues arised:

    • The downloaded definition file is not used, unless I uncheck the "Use fallback location" option. It therefore seems that the "fallback location" actually takes precedence.

    • The preinstalled definition files in the fallback location contain two definitions for the MIME type "application/x-shellscript": one for Bash, and one for Zsh, but the latter always takes precedence, no matter what values I set under Options > Environment > MIME Types.

    Can anyone provide some advice?
    Thank you in advance!
    Mat

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved