summaryrefslogtreecommitdiff
path: root/package.json
blob: 35aa9da015735776db5320190eceae12a74d76ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
    "name": "vscode-javac",
    "displayName": "Java Language Support",
    "description": "Java support using the Java Compiler API",
    "icon": "icon.png",
    "version": "0.2.4",
    "publisher": "georgewfraser",
    "repository": {
        "type": "git",
        "url": "https://github.com/georgewfraser/java-language-server"
    },
    "license": "MIT",
    "engines": {
        "vscode": "^1.24.0"
    },
    "categories": [
        "Programming Languages",
        "Linters"
    ],
    "keywords": [
        "java"
    ],
    "activationEvents": [
        "onLanguage:java"
    ],
    "main": "./out/lib/extension",
    "files": [
        "./out/fat-jar.jar"
    ],
    "contributes": {
        "languages": [
            {
                "id": "java",
                "extensions": [
                    ".java"
                ],
                "aliases": [
                    "Java"
                ]
            }
        ],
        "grammars": [
            {
                "language": "java",
                "scopeName": "source.java",
                "path": "./lib/java.tmLanguage.json"
            }
        ],
        "snippets": [
            {
                "language": "java",
                "path": "./snippets/java.json"
            }
        ],
        "configuration": {
            "title": "Java configuration",
            "properties": {
                "java.classPath": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "Relative paths from workspace root to .jar files, .zip files, or folders that should be included in the Java class path"
                },
                "java.externalDependencies": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "pattern": "^[^:]+:[^:]+:[^:]+(:[^:]+:[^:]+)?$"
                    },
                    "description": "External dependencies of the form groupId:artifactId:version or groupId:artifactId:packaging:version:scope"
                },
                "java.testMethod": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "Command to run one test method, for example [\"mvn\", \"test\", \"-Dtest=${class}#${method}\""
                },
                "java.testClass": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "Command to run all tests in a class, for example [\"mvn\", \"test\", \"-Dtest=${class}\""
                },
                "java.trace.server": {
                    "scope": "window",
                    "type": "string",
                    "enum": [
                        "off",
                        "messages",
                        "verbose"
                    ],
                    "default": "off",
                    "description": "Traces the communication between VSCode and the language server."
                }
            }
        },
        "configurationDefaults": {
            "[java]": {
                "editor.formatOnSave": true
            }
        }
    },
    "scripts": {
        "vscode:prepublish": "npm run compile",
        "compile": "tsc -p ./",
        "watch": "tsc -watch -p ./",
        "postinstall": "node ./node_modules/vscode/bin/install",
        "test": "npm run compile && node ./node_modules/vscode/bin/test"
    },
    "dependencies": {
        "vscode-languageclient": "^4.2.1"
    },
    "devDependencies": {
        "typescript": "^2.9.2",
        "vscode": "^1.1.18",
        "@types/node": "^10.3.3",
        "@types/mocha": "^2.2.42"
    }
}