You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by en...@apache.org on 2020/12/03 14:03:05 UTC

[netbeans] branch master updated: Inform VSCode that application/javascript is also a MIME type of JavaScript.

This is an automated email from the ASF dual-hosted git repository.

entl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new b9049ee  Inform VSCode that application/javascript is also a MIME type of JavaScript.
     new 2b9979d  Merge pull request #2574 from entlicher/CorrectJavaScriptMIMEType
b9049ee is described below

commit b9049ee49c69d4a32fce08469234a72d8ea299c9
Author: Martin Entlicher <ma...@oracle.com>
AuthorDate: Wed Dec 2 16:28:05 2020 +0100

    Inform VSCode that application/javascript is also a MIME type of JavaScript.
---
 java/java.lsp.server/vscode/package.json | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json
index 0cae9dd..ccc033a 100644
--- a/java/java.lsp.server/vscode/package.json
+++ b/java/java.lsp.server/vscode/package.json
@@ -32,6 +32,15 @@
 	],
 	"main": "./out/extension.js",
 	"contributes": {
+		"languages": [
+			{
+				"id": "javascript",
+				"mimetypes": [
+					"text/javascript",
+					"application/javascript"
+				]
+			}
+		],
 		"configuration": {
 			"title": "Java",
 			"properties": {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists