New issue
Advanced search Search tips

Issue 694806 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

DevTools: JSX/Typescript/Flow files need JSX/TS syntax highlighting even if file extension is .JS

Project Member Reported by l...@chromium.org, Feb 21 2017

Issue description

What steps will reproduce the problem?
(1) Create a file with JSX/Typescript/Flow content, name it main.js
(2) Open the file in DevTools' Sources panel

What is the expected result?
Even though the extension is .JS, we should syntax highlight as if it were JSX/Typescript, as many projects these days just use the JS extension.

What happens instead?
No syntax highlighting
 

Comment 1 by l...@chromium.org, Feb 21 2017

Components: Platform>DevTools>Authoring
Status: Archived (was: Assigned)
Bulk closing low-priority issues with no activity. Please re-file and refer to the closed issue if it's essential to fix.

Sign in to add a comment