The Java Code Formatter is a web-based application built using Spring Boot and Thymeleaf, designed to format Java code snippets. It allows users to submit complete Java classes, interfaces, or enums for formatting. The application not only enhances readability but also ensures that Java code adheres to standard coding conventions.
Key Features:
- Code Formatting: Users can input any valid Java code and receive a formatted version that follows predefined formatting rules.
- Persistence: Formatted code snippets can be saved with a unique identifier for later retrieval, supporting both short-term and long-term storage options.
- Retrieval Functionality: Users can retrieve previously formatted code snippets using a unique ID provided at the time of formatting.
- Responsive Design: Built with Bootstrap, the interface is fully responsive, ensuring a seamless experience across various devices and screen sizes.
Technologies Used:
- Spring Boot: Simplifies the setup and development of new Spring applications.
- Thymeleaf: Server-side Java template engine for web applications.
- Bootstrap: For responsive styling and layout.
Access the application via http://localhost:8080/ in your web browser.