Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Syntax highlight for .qss in VSCode

Syntax highlight for .qss in VSCode

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 2.3k 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.
  • H Offline
    H Offline
    Hologram
    wrote on last edited by
    #1

    HI, I need to modify some .qss files and want to use Microsoft's VSCode for this. How would I set up the syntax highlighting, so my text is not displayed in a single colour?
    I'm not a developer myself, so could use more detailed pointers.

    JonBJ 1 Reply Last reply
    0
    • H Hologram

      HI, I need to modify some .qss files and want to use Microsoft's VSCode for this. How would I set up the syntax highlighting, so my text is not displayed in a single colour?
      I'm not a developer myself, so could use more detailed pointers.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Hologram
      Hello and welcome.

      If by .qss you mean a CSS file you are using in your Qt application then you would want whatever syntax highlighting VS code already offers for a .css file. You can probably tell it to do so by adding .qss to wherever it knows about .css files.

      1 Reply Last reply
      2
      • H Offline
        H Offline
        Hologram
        wrote on last edited by
        #3

        Thanks, that did the trick! Was in the bottom right corner, where it said "Plain text".

        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