Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bdf2b21

Browse files
committedMar 6, 2025·
Add files
1 parent 1eaad6e commit bdf2b21

File tree

12 files changed

+150
-0
lines changed

12 files changed

+150
-0
lines changed
 

‎.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = 120
10+
tab_width = 4
11+
12+
[{*.yaml,*.yml,*.json}]
13+
indent_size = 2

‎.github/workflows/prettier.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "prettier"
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "main"
10+
11+
defaults:
12+
run:
13+
shell: "bash"
14+
15+
jobs:
16+
prettier:
17+
runs-on: "ubuntu-24.04"
18+
steps:
19+
- name: "Checkout"
20+
uses: "actions/checkout@v4"
21+
22+
- name: "Set up Node.js"
23+
uses: "actions/setup-node@v4"
24+
with:
25+
node-version: "22"
26+
27+
- name: "Install dependencies"
28+
run: "npm install --no-save @prettier/plugin-xml"
29+
30+
- name: "Run prettier"
31+
run: "npm exec --yes prettier -- --plugin=@prettier/plugin-xml --check ."

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

‎.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/compiler.xml

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/encodings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/jarRepositories.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/misc.xml

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

‎pom.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<project
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
6+
>
7+
<modelVersion>4.0.0</modelVersion>
8+
9+
<groupId>com.github.kaito-tokyo</groupId>
10+
<artifactId>tiny-kms-client-java</artifactId>
11+
<version>1.0-SNAPSHOT</version>
12+
13+
<properties>
14+
<maven.compiler.source>23</maven.compiler.source>
15+
<maven.compiler.target>23</maven.compiler.target>
16+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17+
</properties>
18+
19+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.github.kaito-tokyo;
2+
3+
//TIP コードを<b>実行</b>するには、<shortcut actionId="Run"/> を押すか
4+
// ガターの <icon src="AllIcons.Actions.Execute"/> アイコンをクリックします。
5+
public class Main {
6+
public static void main(String[] args) {
7+
//TIP ハイライトされたテキストにキャレットがある状態で <shortcut actionId="ShowIntentionActions"/> を押すと
8+
// IntelliJ IDEA によるその修正案を確認できます。
9+
System.out.printf("Hello and welcome!");
10+
11+
for (int i = 1; i <= 5; i++) {
12+
//TIP <shortcut actionId="Debug"/> を押してコードのデバッグを開始します。<icon src="AllIcons.Debugger.Db_set_breakpoint"/> ブレークポイントを 1 つ設定しましたが、
13+
// <shortcut actionId="ToggleLineBreakpoint"/> を押すといつでも他のブレークポイントを追加できます。
14+
System.out.println("i = " + i);
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)
Please sign in to comment.