Skip to content

Syntax highlighting for .tsx files not matching Sublime Text #6

Open
@DeveloperBlue

Description

@DeveloperBlue

My Visual Studio Code editor with this Oceanic Next Sublime theme doesn't quite match the Oceanic Next color scheme in Sublime Text.

Both editors opened to the same App.tsx file:

  • Tags like <View></View> are orange rather than the expected red like in Sublime.
  • Stylesheet.create({ ... }) is not highlighted orange. The json inside is also white, instead of the expected light blue.

image

VS Code identifies the file as "TypeScript React" and Sublime Text identifies the file as "TSX", not sure if this is where the discrepancy occurs.

I'd really like to get the red tags and blue json while I work! Thank you!

Visual Studio Code 1.61.1 with the Oceanic Next Sublime v0.0.21 theme
Sublime Text 4 Build 4113 with the Oceanic Next Color Scheme v0.2.3 theme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions