All Projects → 1tontech → Intellij Spring Assistant

1tontech / Intellij Spring Assistant

Licence: mit
Spring Assistant - IntelliJ plugin that assists you in developing spring applications

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Intellij Spring Assistant

Spring Higher Order Components
⚡️ Preconfigured components to speedup Spring Boot development
Stars: ✭ 65 (+1.56%)
Mutual labels:  spring-boot, spring
Quartz Demo
Demo project for Spring Boot 2 and Quartz scheduler integration
Stars: ✭ 63 (-1.56%)
Mutual labels:  spring-boot, spring
Dynamic Data Source Demo
基于事务的读写分离
Stars: ✭ 43 (-32.81%)
Mutual labels:  spring-boot, spring
Spring Thrift Api Gateway
Gateway for Apache Thrift requests processing that is built on Spring Cloud stack
Stars: ✭ 38 (-40.62%)
Mutual labels:  spring-boot, spring
Geekshop
极客商城 ~ 一个面向开发者的、基于Spring+GraphQL+Angular的、无前端(headless)电商框架
Stars: ✭ 52 (-18.75%)
Mutual labels:  spring-boot, spring
Botwall4j
A botwall for Java web applications
Stars: ✭ 41 (-35.94%)
Mutual labels:  spring-boot, spring
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (-29.69%)
Mutual labels:  spring-boot, spring
Spring Mvc Thymeleaf Crud
Spring MVC CRUD Application with Thymeleaf, HTML5, CSS3 and Bootstrap
Stars: ✭ 14 (-78.12%)
Mutual labels:  spring-boot, spring
Spring Boot Angular5
This repository has a sample code base for spring boot and angular 5 integration.
Stars: ✭ 49 (-23.44%)
Mutual labels:  spring-boot, spring
Spring Cloud Study
开源书《跟我学Spring Cloud》的配套代码。讨论QQ群:731548893
Stars: ✭ 1,036 (+1518.75%)
Mutual labels:  spring-boot, spring
Spring Boot
spring-boot 项目实践总结
Stars: ✭ 989 (+1445.31%)
Mutual labels:  spring-boot, spring
Spring Boot Tutorial
💯 🍃 通过丰富实例来展现 Spring Boot 特性的教程
Stars: ✭ 60 (-6.25%)
Mutual labels:  spring-boot, spring
Devops Service
DevOps Service is the core service of Choerodon. It integrated several open source tools to automate the DevOps process of planning, coding, building, testing, and deployment, operation, monitoring.
Stars: ✭ 36 (-43.75%)
Mutual labels:  spring-boot, spring
Mica Example
mica 演示项目
Stars: ✭ 42 (-34.37%)
Mutual labels:  spring-boot, spring
Jbone
jbone基于Spring Cloud框架开发,旨在为中小企业提供稳定的微服务解决方案,为开发人员提供基础开发骨架,jbone包含微服务中所有常用组件,例如注册中心、服务管理、服务监控、JVM监控、内存分析、调用链跟踪、API网关等等。业务功能包括系统权限的统一管理、单点登录、CMS、电商平台、工作流平台、支付平台等等。
Stars: ✭ 961 (+1401.56%)
Mutual labels:  spring-boot, spring
Disconf Spring Boot Starter
disconf-spring-boot-starter 让你可以使用spring-boot的方式开发依赖disconf的程序 只需要关心disconfi的配置文件和配置项,省略了编写xml的麻烦
Stars: ✭ 44 (-31.25%)
Mutual labels:  spring-boot, spring
Spring Cloud Examples
Examples of microservice instrastructures
Stars: ✭ 11 (-82.81%)
Mutual labels:  spring-boot, spring
Spring Reactive Sample
Spring 5 Reactive playground
Stars: ✭ 867 (+1254.69%)
Mutual labels:  spring-boot, spring
Ward
Server dashboard
Stars: ✭ 1,026 (+1503.13%)
Mutual labels:  spring-boot, spring
Springboard
Spring Boot based production grade starter kit.
Stars: ✭ 59 (-7.81%)
Mutual labels:  spring-boot, spring

Spring Assistant - IntelliJ plugin that assists you in developing spring applications

Plugin in action

What does the plugin do

This plugins provides the following features as of now.

  1. Auto completion of the configuration properties in your yaml files based on the spring boot's auto configuration jars are present in the classpath
  2. Auto completion of the configuration properties in your yaml files if you have classes annotated with @ConfigurationProperties, if your build is properly configured
  3. Short form search & search for element deep within is also supported. i.e, sp.d will show you spring.data, spring.datasource, also, port would show server.port as a suggestion
  4. Quick documentation for groups & properties (not all groups & properties will have documentation, depends on whether the original author specified documentation or not for any given element)
  5. Allows you to bootstrap new project & new module using File -> New -> Project -> Spring Assistant & File -> New -> Module -> Spring Assistant wizards. Looks & Feel resembles Intellij Ultimate, but with less bells & whistles

Usage

Assuming that you have Spring boot's auto configuration jars are present in the classpath, this plugin will automatically allows you to autocomplete properties as suggestions in all your yml files

Suggestions would appear as soon as you type/press CTRL+SPACE.

Short form suggestions are also supported such as, sp.d will show you spring.data, spring.datasource, e.t.c as suggestions that make your typing faster

In addition to libraries in the classpath, the plugin also allows you to have your own @ConfigurationProperties available as suggestions in all your yml files.

For this to work, you need to ensure the following steps are followed for your project/module

Setup for showing ConfigurationProperties as suggestions within current module

  1. Make sure Enable annotation processing is checked under Settings > Build, Execution & Deployment > Compiler > Annotation Processors

  2. Make sure you add the following changes to to your project

    For Maven

    Add the following dependency

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-configuration-processor</artifactId>
        <optional>true</optional>
    </dependency>
    

    For Gradle

    Add the following build configuration. You can use the propdeps-plugin for optional scope (as we dont need spring-boot-configuration-processor as a dependency in the generated jar/war)

    dependencies {
        optional "org.springframework.boot:spring-boot-configuration-processor"
    }
    
    compileJava.dependsOn(processResources)
    
  3. (OPTIONAL) If intellij is generating build artfacts to output directory instead of gradle's default build directory, then you may need to File | Settings | Build, Execution, Deployment | Build Tools | Gradle | Runner => Delegate IDE build/run actions to gradle & restart the IDE. This will ensure that gradle plugin generates metadata & Intellij is pointing to it

If you want to look at a sample project, look inside samples directory where the above setup is done. These samples allow properties from @ConfigurationProperties to be shown as suggestions

IMPORTANT

After changing your custom @ConfigurationProperties files, suggestions would be refreshed only after you trigger the build explicitly using keyboard (Ctrl+F9)/UI

Known behaviour in ambiguous cases

  1. If two groups from different auto configurations conflict with each other, the documentation for the group picked is random & undefined
  2. If a group & property represent the depth, the behaviour of the plugin is undefined.

Installation (in 3 easy steps)

To install the plugin open your editor (IntelliJ) and hit:

  1. File > Settings > Plugins and click on the Browse repositories button.
  2. Look for Spring Assistant the right click and select Download plugin.
  3. Finally hit the Apply button, agree to restart your IDE and you're all done!

Feel free to let me know what else you want added via the issues

Suggestions, feedback and other comments welcome via @1tontech on Twitter

Changelog

See here

License

Spring Assistant - IntelliJ Plugin is open-sourced software licensed under the MIT license

Powered By

Structure 101

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].