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

Commit 9738d50

Browse files
committed
Merge pull request #11245 from sprintr/fix-11240
Allow JavaScript Code Hints in PHP Files
2 parents 7a3d155 + 348ba58 commit 9738d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extensions/default/JavaScriptCodeHints/HintUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ define(function (require, exports, module) {
3131

3232
var LANGUAGE_ID = "javascript",
3333
HTML_LANGUAGE_ID = "html",
34-
SUPPORTED_LANGUAGES = [LANGUAGE_ID, HTML_LANGUAGE_ID],
34+
PHP_LANGUAGE_ID = "php",
35+
SUPPORTED_LANGUAGES = [LANGUAGE_ID, HTML_LANGUAGE_ID, PHP_LANGUAGE_ID],
3536
SINGLE_QUOTE = "'",
3637
DOUBLE_QUOTE = "\"";
3738

0 commit comments

Comments
 (0)