Skip to content

Commit 34be8c6

Browse files
committed
Describe a preparation step to use the "Advent of Code" file template
1 parent 443e6d2 commit 34be8c6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ I started this repository in december 2024 using the [Advent of Code Kotlin Temp
1010
Since I solved all the puzzles of year 2024, I continued with the first ones, the year 2015, and restructured the
1111
project iteratively.
1212

13-
I'm solving the challenges for fun, but not only. It's a good possibility to learn - about the programming language of my
14-
choice, about algorithms in general, about when it's time to throw code away and start over again with a totally
13+
I'm solving the challenges for fun, but not only. It's a good possibility to learn - about the programming language of
14+
my choice, about algorithms in general, about when it's time to throw code away and start over again with a totally
1515
different approach.
1616

1717
Over the time, a small library of helping functions, classes and algorithms keeps growing in the
@@ -25,15 +25,18 @@ oriented or even procedural if that's more expressive in a situation.
2525

2626
There is a file template for IntelliJ IDEA that creates...
2727

28-
* A new source file containing a main function and an initial implementation of [`AdventOfCode`](src/main/kotlin/de/ronny_h/aoc/AdventOfCode.kt)
28+
* A new source file containing a main function and an initial implementation of
29+
[`AdventOfCode`](src/main/kotlin/de/ronny_h/aoc/AdventOfCode.kt)
2930
* An empty text file in [resources](src/main/resources) for the day's puzzle input
3031
* A test class in the test source set containing assertions for part one and two
3132

32-
**Using the template**
33+
**Using the template in IntelliJ IDEA**
3334

34-
In IntelliJ IDEA, in the the [source directory](src)'s context menu, choose:
35+
Preparation: In _Settings... > Editor > File and Code Templates_, set the _Scheme_ to `Project`.
3536

36-
`New > Advent of Code`
37+
Usage: In the the [source directory](src)'s context menu, choose:
38+
39+
_New > Advent of Code_
3740

3841
## Kotlin Resources
3942

0 commit comments

Comments
 (0)