Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit fba7428

Browse files
authored
Merge pull request #13243 from justinrusso/feature/jsx_code_hints
Add JavaScript code hinting in JSX files
2 parents 349a458 + 7af7bc8 commit fba7428

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/extensions/default/JavaScriptCodeHints/HintUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ define(function (require, exports, module) {
2929
var Acorn = require("node_modules/acorn/dist/acorn");
3030

3131
var LANGUAGE_ID = "javascript",
32+
JSX_LANGUAGE_ID = "jsx",
3233
HTML_LANGUAGE_ID = "html",
3334
PHP_LANGUAGE_ID = "php",
34-
SUPPORTED_LANGUAGES = [LANGUAGE_ID, HTML_LANGUAGE_ID, PHP_LANGUAGE_ID],
35+
SUPPORTED_LANGUAGES = [LANGUAGE_ID, JSX_LANGUAGE_ID, HTML_LANGUAGE_ID, PHP_LANGUAGE_ID],
3536
SINGLE_QUOTE = "'",
3637
DOUBLE_QUOTE = "\"";
3738

0 commit comments

Comments
 (0)