Skip to content

Commit b8e2593

Browse files
committed
Compatibility for volar 1.0.16
1 parent 36dfd9b commit b8e2593

8 files changed

Lines changed: 2201 additions & 21 deletions

File tree

README.MD

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,26 @@ on the existing projects:
1616
- eclipse 2022-12 needs JavaSE-17 to run lsp4e
1717
- Plugin org.eclipse.tm4e.language_pack has the most complete language support
1818
- Plugin org.eclipse.wildwebdeveloper can serve as an alternative
19-
- npm with network connection is required on the path to download vetur
19+
- npm with network connection is required on the path to download vetur/volar
20+
- recent versions of node and npm
2021

2122
## Installation
2223
1. Install vue-language-server (OPTIONAL)
2324

2425
$ npm install @volar/vue-language-server -g
25-
26-
2. Import this project into Eclipse and build
27-
3. Test using Run> Run As ... Eclipse Application
26+
27+
2. Install vue4e-<version>.jar into running eclipse platform
28+
29+
## Building
30+
1. Import this project into Eclipse and build
31+
2. Test using Run> Run As ... Eclipse Application
2832
- Open a *.vue file to see syntax highlighted.
2933
NOTE: depending on your existing editor bindings eclipse may use the wrong editor.
3034
Therefore in Eclipse Projectr Explorer window right-click on the file and choose Open with ... > Generic Text Editor.
3135
- Right-click in vue file and select "Source ..." to see available code actions.
3236
NOTE: When doing this for the first time eclipse might freeze for a few seconds up to a few minutes
3337
while it downloads and installs vetur.
34-
4. Install into running platform
38+
3. Install into running platform
3539
- in Eclipse menu select File > Export ... > Plugin development > Deployable plugins
3640
- select the plugin and "Install into host" (third option)
3741

resources/volar-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"typescript": {
3+
"tsdk": "node_modules/typescript/lib"
4+
},
5+
"petiteVue": {
6+
"processHtmlFile": false
7+
},
8+
"vitePress": {
9+
"processMdFile": false
10+
},
11+
"json": {
12+
"customBlockSchemaUrls": {}
13+
},
14+
"additionalExtensions": []
15+
}

0 commit comments

Comments
 (0)