Skip to content

Commit bb9c9ae

Browse files
committed
add vscode-rdflint setup guide
1 parent b72138f commit bb9c9ae

File tree

4 files changed

+49
-5
lines changed

4 files changed

+49
-5
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
rdflint
22
---
33

4-
[![](https://jitpack.io/v/imas/rdflint.svg)](https://jitpack.io/#imas/rdflint)
5-
[![](https://img.shields.io/badge/users_guide-ja-blue)](https://imas.github.io/rdflint/)
4+
[![JitPack](https://jitpack.io/v/imas/rdflint.svg)](https://jitpack.io/#imas/rdflint)
5+
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/takemikami.vscode-rdflint.svg "Current Release")](https://marketplace.visualstudio.com/items?itemName=takemikami.vscode-rdflint)
6+
[![UsersGuide](https://img.shields.io/badge/users_guide-ja-blue)](https://imas.github.io/rdflint/)
7+
68

79
日本語版のユーザガイドも利用頂けます。(Japanese User Guide Available.)
810
[RDFデータのチェックツール「rdflint」の利用ガイド](https://imas.github.io/rdflint/)
@@ -26,6 +28,10 @@ rdflint has following functions.
2628

2729
## Getting Started
2830

31+
### Work on Visual Studio Code
32+
33+
Use [vscode-rdflint](vscode-rdflint/README.md)
34+
2935
### Work on your PC
3036

3137
Download from jitpack.

docs/setup.md

+28
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,34 @@ rdflintのセットアップ手順を説明します。
3131
$ java -jar rdflint-{{site.RDFLINT_VERSION}}.jar
3232
```
3333

34+
## Visual Studio Codeへのセットアップ
35+
36+
1. rdflintの実行にはJavaの実行環境が必要です。ランタイムがインストールされていない場合は、以下のリンクからJREまたはJDKをダウンロードしてインストールして下さい。
37+
38+
Java SE - Downloads | Oracle Technology Network | Oracle
39+
[https://www.oracle.com/technetwork/java/javase/downloads/index.html](https://www.oracle.com/technetwork/java/javase/downloads/index.html)
40+
41+
2. Javaのインストールが完了したら、環境変数「JAVA_HOME」にJavaのインストール先を設定します。
42+
43+
「エクスプローラー」を開き、「PC」を選択する、
44+
右クリックメニューから「プロパティ」を選ぶ、
45+
「システム」が開くので、の左側メニューで「システムの詳細設定」を選ぶ、
46+
「システムのプロパティ」が開くので、「詳細設定」タブで「環境変数」を選ぶ、
47+
「新規」ボタンを押す、
48+
「変数名」に「JAVA_HOME」を指定、
49+
「ディレクトリの参照」からJavaのインストール先を指定、
50+
「OK」を押す。
51+
※Javaのインストール先は、変更していなければ「C:\Program Files\Java\jdk-(番号)」などです。
52+
53+
3. Visual Studio Codeを起動します。(環境変数を有効にするため、既に起動していた場合は一度終了してください)
54+
55+
4. Extensionsメニュー(File->Preferences->Extensions)から、
56+
「rdflint」などのキーワードで検索し「RDF lanauage support via rdflint」を選びます。
57+
「Install」を押して、拡張機能をインストールします。
58+
59+
5. Ctrl+Shift+Pメニューで、「rdflint interactive mode: SPARQL playground」を選ぶと、
60+
インタラクティブモードでrdflintが起動します。
61+
3462
## Homebrewによるセットアップ (macOSのみ)
3563

3664
1. Homebrewがインストールされていない場合は、以下のリンクを参照してインストールして下さい。

vscode-rdflint/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ Provides RDF language support via [rdflint](https://github.com/imas/rdflint).
2929

3030
Please fork this repository, and create pull request for contributing.
3131

32+
### Build and execute
33+
34+
Install npm libraries.
35+
36+
```
37+
npm install
38+
```
39+
40+
Open this folder on Visual Studio Code, and Hit F5 Key to execute.
41+
3242
## License
3343

3444
vscode-rdflint is released under the MIT License.

vscode-rdflint/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
],
1414
"license": "MIT",
1515
"bugs": {
16-
"url": "https://github.com/imas/vscode-rdflint/issues"
16+
"url": "https://github.com/imas/rdflint/issues"
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "https://github.com/imas/vscode-rdflint"
20+
"url": "https://github.com/imas/rdflint"
2121
},
22-
"homepage": "https://github.com/imas/vscode-rdflint/blob/master/README.md",
22+
"homepage": "https://github.com/imas/rdflint/blob/master/vscode-rdflint/README.md",
2323
"engines": {
2424
"vscode": "^1.41.0"
2525
},

0 commit comments

Comments
 (0)