Skip to content

Commit 8cf3977

Browse files
authoredMar 17, 2025··
Merge pull request #78 from nramc/77-update-live-template---applicationrunner
feat: Java applicationRunner live template added
2 parents 2b3fd13 + 5e107af commit 8cf3977

8 files changed

+15
-499
lines changed
 

‎docs/blog/articles/intellij-live-templates.md

+14
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ BEAN_NAME -> suggestVariableName()
5454

5555
```
5656

57+
**Application Runner**
58+
```shell
59+
60+
# Template Name: applicationRunner
61+
@org.springframework.context.annotation.Bean
62+
org.springframework.boot.ApplicationRunner $BEAN_NAME$() {
63+
return args -> {$END$};
64+
}
65+
66+
# Parameters binding:
67+
BEAN_NAME -> suggestVariableName()
68+
69+
```
70+
5771
**Spring Mock MVC Test**
5872
```shell
5973
# Template Name: mvcTest

‎docs/how-to-articles/.meta.yml

-5
This file was deleted.

‎docs/how-to-articles/http-client-intellij-plugin.md

-80
This file was deleted.

‎docs/how-to-articles/intellij-live-templates.md

-99
This file was deleted.

‎docs/how-to-articles/new-java-application-checklist.md

-38
This file was deleted.

‎docs/how-to-articles/open-rewrite.md

-271
This file was deleted.

‎docs/testings/intellij-testing-tools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ tags:
3131
- [HTTP Client](https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html) helps to create, edit, and
3232
execute HTTP requests directly in the IntelliJ IDEA code editor.
3333
- It provides varies features like configuring env variable file with support for environments like dev, qa and live.
34-
- Please refer [HowTo:HTTP Client - IntelliJ Plugin](../how-to-articles/http-client-intellij-plugin.md)
34+
- Please refer [HowTo:HTTP Client - IntelliJ Plugin](../blog/articles/http-client-intellij-plugin.md)

‎mkdocs.yml

-5
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ nav:
151151
- 'Secure Coding': 'security/secure-coding.md'
152152
- 'Secure Password': 'security/password-security.md'
153153
- 'Penetration Testing': 'security/penetration-testing.md'
154-
- How-To:
155-
- 'OpenRewrite Integration': 'how-to-articles/open-rewrite.md'
156-
- 'New Java Application': 'how-to-articles/new-java-application-checklist.md'
157-
- 'HTTP Client - IntelliJ Plugin': 'how-to-articles/http-client-intellij-plugin.md'
158-
- 'IntelliJ Live Templates': 'how-to-articles/intellij-live-templates.md'
159154
- Blogs:
160155
- blog/index.md
161156
- Career:

0 commit comments

Comments
 (0)
Please sign in to comment.