1 Star 0 Fork 0

apache-netbeans/nb-springboot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

NB-SpringBoot

NetBeans IDE plugin supporting programming with Spring Boot.

Requirements and Installation

This plugin requires NetBeans 8.1 or above running on JDK 7 or above.

The plugin is available in the Plugin Portal Update Center thus it can be downloaded and installed trough Tools > Plugins > Available Plugins.

Alternatively download the desired nbm package from https://github.com/AlexFalappa/nb-springboot/releases , go to Tools > Plugins > Downloaded and click on Add Plugins... button. Choose the downloaded nbm package file then click Install.

Features

  • New Spring Boot Maven project wizards:
    • Basic project
    • Project generated by Spring Initializr service
  • Specific editor for configuration properties files with:
    • extended syntax highlighting (dot separated keys, array notation)
    • completion and documentation of configuration properties names
    • completion and documentation of configuration properties values (hints in configuration metadata)
  • Spring Boot file templates:
    • CommandlineRunner annotated classes
    • ApplicationRunner annotated classes
    • application.properties files
    • ConfigurationProperties annotated classes
    • additional-spring-configuration-metadata.json files
  • Additional Spring Framework file templates:
    • Component annotated classes
    • Configuration annotated classes
    • Service annotated classes
    • Controller annotated classes (Spring MVC)
    • RestController annotated classes (Spring MVC)
    • interfaces extending Repository (Spring Data)
  • Additional code generators in pom.xml files:
    • Add Spring Boot dependencies (dependency metadata is taken from the Spring Initializr web service)
    • Add basic Spring Boot setup
  • Toolbar button to trigger Spring Boot devtools reload
  • Specific Spring Boot project properties page to:
    • Specify command line run arguments and launch VM options
    • Enable/disable manual devtools reload trigger
    • Toggle debug mode and color output
    • Assisted override of configuration properties at launch
  • Additional navigator panel to show request URL mappings of a Controller / RestController class

Issues and Documentation

Bug tracking: GitHub Issues

Documentation: GitHub Wiki

License

The plugin and its source code are licensed under Apache 2.0 license.

Acknowledgements

Completion of Spring Boot configuration properties feature is based on Keevosh plugin.

Template and code generator were inspired by those found on Spring Boot Tools 4 NetBeans.

Requestmappings navigator panel feature contributed by Michael Simons.

Changelog

  • 1.5 (Apr 2017): Dependencies management and configuration properties editor

    • Configuration properties files:
      • Custom icon
      • Specific editor with extended syntax highlighting (dot separated keys and array notation)
    • The Spring Initializr project wizard now supports documentation links recently added to the Spring Initializr web service
    • The old code generators for Maven pom.xml files have been superseded by a new code generator for adding a set of Spring Boot dependencies exploiting the Spring Initializr service metadata
    • New code generator for Maven pom.xml to add a basic Spring Boot project setup to generic Maven projects
    • Project wizards open the main class and trigger async download of dependencies after creation
    • Metadata downloaded from the Spring Initializr web service are now cached
    • Upgrade to Spring Boot 1.5.2
    • List of closed issues
  • 1.4 (January 2017): Better application launch

    • Improved project properties panel:
      • Override of Spring Boot configuration properties at application launch
      • Checkboxes for enabling debug mode and toggling color output
      • Specify Java VM options and add launch optimizations
    • Default launch options for newly created projects in global plugin settings
    • Updated project content for Basic Spring Boot project wizard
    • List of closed issues
  • 1.3.1 (November 2016): General fixes

    • File templates ignored a per project custom license
    • Reload action renamed to restart and shorcut changed to avoid conflict with new Paste as Lines command in editor multicaret
    • Visual improvements to request mappings navigator panel
    • Properly handle Ctrl + Enter configuration properties completion to overwrite the current property name
    • Initializr project wizard: removed option to add Spring Boot configuration processor as now it can be chosen in the Dependencies page and checked by default the 'Run/Debug with spring boot maven plugin' option
    • Restart action now exploits an environment variable instead of a command line argument. You may see an unexpected --spring.devtools.restart.trigger-file argument on old projects after upgrade
    • List of closed issues
  • 1.3 (October 2016): Devtools and request mappings

    • Upgrade to Spring Boot version 1.4.1
    • Action to trigger devtools reload (trough toolbar button or Ctrl + Shift + L keyboard shortcut)
    • Spring boot dedicated panel in project properties dialog for specifying command line arguments and enabling devtools reload trigger
    • Moved some file templates to the default Spring Framework category
    • Navigator panel showing request URL mappings of a Controller / RestController class (contribution by Michael Simons)
    • List of closed issues
  • 1.2 (August 2016): File templates improvements

    • Upgrade to Spring Boot version 1.4
    • The file templates wizards that generate Java classes now use the standard NetBeans widgets (better name proposal, choice of source/test location and destination package)
    • The wizards for application.properties files, additional configuration metadata and Spring Data repository interfaces now offer specific customization options
    • The file templates are now shown only if the relevant dependencies are present (e.g. REST Controller Class is shown only if there is a dependency on spring-boot-starter-web)
    • Devtools restart and reload now work when the project is run/debugged trough the spring maven plugin
    • Fixed some UI glitches
    • Enhanced Controller and RestController templates
    • List of closed issues
  • 1.1 (June 2016): Refinements

    • Added missing @Component annotation to CommandLineRunner and ApplicationRunner file templates
    • No more NetBeans module implementation dependencies, this allows the plugin to be available from the Update Center
    • Improvements to New project wizard Spring Boot project (from Initializr):
      • Asynchronous querying of the web service
      • More paramenter validation
      • Filtering of dependencies
      • Show required boot version in tooltips of disabled dependencies
      • Options to remove the maven wrapper, add the spring configuration processor dependency and run/debug trough the maven spring plugin
    • List of closed issues
  • 1.0 (May 2016): Initial public release

空文件

简介

netbeans springboot 支持 展开 收起
README
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/apache-netbeans/nb-springboot.git
git@gitee.com:apache-netbeans/nb-springboot.git
apache-netbeans
nb-springboot
nb-springboot
v1.5

搜索帮助