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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to