Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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

Copy link
Copy link

Description

@chrisdrackett
Issue body actions

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.

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.