Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

syntax highlighting issues. #46

@chrisdrackett

Description

@chrisdrackett

Prerequisites

Description

I've recently been forced to switch from language-babel to language-typescript due to my language-babel no longer working with atom-typescript for some reason. The biggest thing I've noticed since making the switch is that the syntax highlighting for this grammar seems far behind that I had in language-babel. Some of the things I've seen so far:

  1. upper and lowercase variable names are styled differently:
Babel Typescript
babel typescript
  1. Same for variables inline:
Babel Typescript
babel typescript
  1. Types don't have the same level of detail so its impossible to style them much differently:
Babel Typescript
babel typescript

At first I thought this was an issue with my syntax theme, but on inspecting the CSS I found that most of these issues are due to the text not being tagged at all thus it is impossible to style things correctly.

For example the following is from babel:

<span class="syntax--variable syntax--other syntax--readwrite syntax--js">iconColor</span>

where as in typescript I get:

iconColor

no wrapper at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions