<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: little-jenney</title>
    <description>The latest articles on DEV Community by little-jenney (@little-jenney).</description>
    <link>https://dev.to/little-jenney</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2836233%2F01d9eafc-1b7e-445d-8e26-0612cc1bdb76.png</url>
      <title>DEV Community: little-jenney</title>
      <link>https://dev.to/little-jenney</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/little-jenney"/>
    <language>en</language>
    <item>
      <title>Quickly-Code-Toolkit: A Powerful Tool to Boost Development Efficiency</title>
      <dc:creator>little-jenney</dc:creator>
      <pubDate>Wed, 12 Feb 2025 07:58:21 +0000</pubDate>
      <link>https://dev.to/little-jenney/quickly-code-toolkit-a-powerful-tool-to-boost-development-efficiency-1oa5</link>
      <guid>https://dev.to/little-jenney/quickly-code-toolkit-a-powerful-tool-to-boost-development-efficiency-1oa5</guid>
      <description>&lt;h2&gt;
  
  
  Product Introduction
&lt;/h2&gt;

&lt;p&gt;Code-Toolkit is a practical tool developed based on IntelliJ IDEA, integrating functions of rapid code generation and SQL statement auxiliary generation. It can quickly create various files such as controller.java, provider.java, and service.java, and rapidly write methods into the corresponding files. Additionally, it can generate SQL ALTER and CREATE TABLE statements based on class definitions, enabling developers to focus on business logic development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Usage Instructions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Global Settings
&lt;/h3&gt;

&lt;p&gt;Paging Wrapper Setting: Used for paging wrapping of return parameters when writing methods. You need to set the fully qualified name, for example, com.&lt;em&gt;.&lt;/em&gt;.Page. Example: public Page testMethod(){}.&lt;br&gt;
View Wrapper Setting: This is the wrapper class for parameters returned to the front - end page when writing methods. Set the fully qualified name, such as com.&lt;em&gt;.&lt;/em&gt;.CommonResponse. Example: public CommonResponse&amp;gt; testMethod(){}.&lt;br&gt;
ORM Framework Setting: Used for template selection when creating dao.java, service.java, and serviceImpl.java files. The templates for MyBatis and MyBatis - Plus are different.&lt;br&gt;
Remote Invocation Framework Setting: Used for template selection when creating files and writing methods. Dubbo is used to create provider files and write methods; OpenFeign is used to create Controller files and write methods.&lt;/p&gt;

&lt;h3&gt;
  
  
  Creation of Business Logic Files
&lt;/h3&gt;

&lt;p&gt;Directory Rules: The parent directory of business logic files is based on the SpringApplication directory. The mapper.xml file is created in the resources/mapper directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Creation Methods:
&lt;/h3&gt;

&lt;p&gt;Creation from Database Source Table Structure: Select the table structure in the database section of the IDEA navigation bar, then right - click and select 【Database To Business Logic】.&lt;br&gt;
Entity Class Creation: You can select an entity class in the left - hand project directory or within the entity class code, then right - click and select 【Entity To Business Logic】.&lt;br&gt;
Writing Business Logic Methods&lt;br&gt;
Writing Scope: Supports various files such as mapper.xml and dao.java.&lt;br&gt;
Writing Rules: For files like dao.java, the methods are written automatically. For controller or provider, the selection is based on the remote invocation setting. For mapper.xml, the writing depends on whether the XML method is selected.&lt;br&gt;
Usage Steps: Right - click on the corresponding file and select 【Method To Business Logic】, then select the parameters.&lt;br&gt;
SQL Auxiliary Functions&lt;br&gt;
Function Purpose: Generate ALTER statements for newly added fields in an entity class and CREATE TABLE statements for newly added entity classes.&lt;br&gt;
Type Correspondence: Java data types generally correspond to MySQL data types. Special types need to be manually modified.&lt;br&gt;
Usage Steps:&lt;br&gt;
Generate ALTER Statements: Select a field, right - click, and select 【Class Member To SQL】.&lt;br&gt;
Generate CREATE TABLE Statements: You can select an entity class in the left - hand project directory or within the code, then right - click and select 【Class To SQL】.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contact Information
&lt;/h2&gt;

&lt;p&gt;GitHub Issue: GitHub - little - kelp/code - toolkit&lt;br&gt;
Email: &lt;a href="mailto:sunflower.on.sun@gmail.com"&gt;sunflower.on.sun@gmail.com&lt;/a&gt;&lt;br&gt;
QQ Group: 1030094275&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Still typing code manually? This amazing tool will skyrocket your development speed!</title>
      <dc:creator>little-jenney</dc:creator>
      <pubDate>Mon, 10 Feb 2025 08:23:46 +0000</pubDate>
      <link>https://dev.to/little-jenney/still-typing-code-manually-this-amazing-tool-will-skyrocket-your-development-speed-3mff</link>
      <guid>https://dev.to/little-jenney/still-typing-code-manually-this-amazing-tool-will-skyrocket-your-development-speed-3mff</guid>
      <description>&lt;p&gt;Are you troubled by the tedious process of creating code files and writing SQL statements during Idea code development? Do you spend a great deal of time each time you create files like controller.java and service.java, or write SQL? Don't worry, Quickly - Code - Toolkit is here to save the day!&lt;br&gt;
This powerful tool is built on the foundation of the Idea code development IDE and is specifically designed to boost development efficiency. It comes with two core functions, making it an efficiency accelerator for developers.&lt;br&gt;
Rapid Code Generation&lt;br&gt;
Previously, creating files such as controller.java, privder.java, service.java, dao.java, and mapper.xml required manual operations one by one, which was time - consuming and labor - intensive. Now, with Quickly - Code - Toolkit, you can generate these files with just one click. Moreover, it can quickly write methods into the corresponding files, saving you a huge amount of time and energy and freeing you from the cumbersome repetitive work.&lt;br&gt;
Assisted SQL Statement Generation&lt;br&gt;
When it comes to database operations, Quickly - Code - Toolkit also shines. It can quickly generate alter statements based on the fields of a class or directly generate create table statements from a class. You no longer have to wrack your brains over complex SQL statements, which greatly improves the efficiency of database operations.&lt;br&gt;
By using Quickly - Code - Toolkit, you can devote more time and energy to the development of business logic code and focus on the core business, making your development work much easier and more efficient.&lt;br&gt;
Don't hesitate any longer. Search for 【Quickly - Code - Toolkit】 in the Idea Marketplace right away and embark on your high - efficiency development journey!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Quickly - Code - Toolkit, a tool for quickly generating Java code in Idea</title>
      <dc:creator>little-jenney</dc:creator>
      <pubDate>Sun, 09 Feb 2025 03:14:16 +0000</pubDate>
      <link>https://dev.to/little-jenney/quickly-code-toolkit-a-tool-for-quickly-generating-java-code-in-idea-alm</link>
      <guid>https://dev.to/little-jenney/quickly-code-toolkit-a-tool-for-quickly-generating-java-code-in-idea-alm</guid>
      <description>&lt;h2&gt;
  
  
  Introduction to Quickly - Code - Toolkit
&lt;/h2&gt;

&lt;p&gt;Quickly - Code - Toolkit is a tool based on the Idea code - development IDE, which realizes the functions of [quick code generation] and [assisted SQL statement generation]. Code - Toolkit can assist us in development by quickly [creating files such as controller.java, provider.java, service.java, dao.java, and mapper.xml], quickly writing methods into [controller.java, provider.java, service.java, dao.java, mapper.xml, etc.], and rapidly [generating ALTER statements for adding fields to a class or CREATE TABLE statements for a class], thus improving efficiency and enabling us to focus more on business - logic code development. You can search for [Quickly - Code - Toolkit] in the Idea marketplace.&lt;/p&gt;

&lt;h2&gt;
  
  
  Instructions for Using Code - Toolkit
&lt;/h2&gt;

&lt;h3&gt;
  
  
  I. Global Settings
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Paging Wrapper Setting (Paging Settings)
&lt;/h4&gt;

&lt;p&gt;Explanation 1: It is mainly used for writing methods and serves as a paging wrapper class for return parameters.&lt;br&gt;
Explanation 2: The setting method is the fully qualified name of the paging wrapper class: com...Page.&lt;br&gt;
Explanation 3: Example of return parameter - public Page testMethod(){}&lt;/p&gt;

&lt;h4&gt;
  
  
  2. View Wrapper Setting (Return Front - End Page Parameter Wrapper Settings)
&lt;/h4&gt;

&lt;p&gt;Explanation 1: It is mainly used for writing methods and is a wrapper class for parameters returned to the front - end page.&lt;br&gt;
Explanation 2: The setting method is the fully qualified name of the return front - end parameter wrapper class: com...CommonResponse.&lt;br&gt;
Explanation 3: Example of return parameter: public CommonResponse testMethod(){}&lt;/p&gt;

&lt;h4&gt;
  
  
  3. ORM Framework (orm Framework Settings)
&lt;/h4&gt;

&lt;p&gt;Explanation 1: It is mainly used for selecting file - creation templates for dao.java, service.java, and serviceImpl.java files. The file - creation templates for Mybaits and Mybatis - plus are different.&lt;/p&gt;

&lt;h4&gt;
  
  
  4. Remote Invocation Framework (Remote Invocation Settings)
&lt;/h4&gt;

&lt;p&gt;Explanation 1: It is mainly used for selecting templates during file creation and writing methods.&lt;br&gt;
Explanation 2: The Dubbo Framework is mainly for creating provider files and writing methods into provider files.&lt;br&gt;
Explanation 3: Openfeign is mainly used for creating Controller files and writing methods into controller files.&lt;/p&gt;

&lt;h2&gt;
  
  
  II. Creation of Business - Logic Files
&lt;/h2&gt;

&lt;p&gt;Explanation 1: The parent directory of the business - logic file directory is based on the directory of the SpringApplication. For example, if the directory of SpringApplication is /src/java/com/test, then the directory of Entity is: /src/java/com/test/entity/&lt;em&gt;Entity.&lt;br&gt;
Explanation 2: The mapper.xml file is created under the resources directory, and the default file directory is mapper. For example, src/resources/mapper/&lt;/em&gt;/EntityMapper.xml.&lt;br&gt;
Explanation 3: The way to create files from the database source table structure includes creating entity.java, mapper.xml, dao.java, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo) files.&lt;br&gt;
Explanation 4 - Steps for [Creating Files from the Database Source Table Structure]:&lt;br&gt;
a. Select the database in the Idea side navigation bar.&lt;br&gt;
b. Select the table structure, such as the activity table.&lt;br&gt;
c. Right - click and select the [Database To Business Logic] button.&lt;br&gt;
Explanation 5: The scope of business - logic files created from an entity class includes mapper.xml, dao.java, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo) files.&lt;br&gt;
Explanation 6 - Steps for [Creating Business - Logic Files from an Entity Class]:&lt;br&gt;
Method 1:&lt;br&gt;
a. In the left - hand side project directory.&lt;br&gt;
b. Select the entity class for which you want to create business - logic files.&lt;br&gt;
c. Right - click and select the [Entity To Business Logic] button.&lt;br&gt;
Method 2:&lt;br&gt;
a. Select within the code of the entity class for which you want to create business - logic files.&lt;br&gt;
b. Right - click and select the [Entity To Business Logic] button.&lt;/p&gt;

&lt;h2&gt;
  
  
  III. Business - Logic Methods
&lt;/h2&gt;

&lt;p&gt;Explanation 1: Methods are written into files such as mapper.xml, dao.java, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo).&lt;br&gt;
Explanation 2: Methods are automatically written into dao.java, service.java, and serviceImpl.java. For controller or provider (Dubbo) files, it depends on the [Remote Invocation Framework] to decide whether to write into the controller or provider. Writing into mapper.xml depends on whether an xml method is selected.&lt;br&gt;
Explanation 3: The paging of methods and the packaging of return - page parameters are set respectively in Paging Wrapper Setting (Paging Settings) and View Wrapper Setting (Return Front - End Parameter Wrapper Settings).&lt;br&gt;
Explanation 4: It supports writing methods starting from files such as dao.java, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo) to other files. For example, when writing a method in the mapper.java file, it will also write to mapper.xml, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo) files.&lt;br&gt;
Explanation 5 - Steps for Use: In mapper.xml, dao.java, service.java, serviceImpl.java, controller.java, or provider.java (for Dubbo) files, right - click [Method To Business Logic] and select the required parameters.&lt;/p&gt;

&lt;h2&gt;
  
  
  IV. SQL Assistant Functions
&lt;/h2&gt;

&lt;p&gt;Explanation 1: The SQL assistant functions are used to generate ALTER statements for adding fields to an entity class and CREATE TABLE statements for adding an entity class to generate a table structure.&lt;br&gt;
Explanation 2: Since Java data types and MySQL data types do not have a one - to - one correspondence, only a basic general correspondence can be achieved. For example, for a status (1\2\3) that uses Integer in Java, the generated MySQL SQL statement uses the int type for reception, and the tinyint type in MySQL cannot be used. If you want to change the type, it needs to be modified manually.&lt;br&gt;
Explanation 3 - Steps for [Generating ALTER Statements for Table Structure Fields]:&lt;br&gt;
a. Select the field for which you want to generate the ALTER statement.&lt;br&gt;
b. Right - click and select the [Class Member To SQL] button.&lt;br&gt;
Explanation 4 - Steps for [Generating CREATE TABLE Statements for Table Structure]:&lt;br&gt;
Method 1:&lt;br&gt;
a. In the left - hand side project directory.&lt;br&gt;
b. Select the entity class for which you want to create business - logic files.&lt;br&gt;
c. Right - click and select the [Class To SQL] button.&lt;br&gt;
Method 2:&lt;br&gt;
a. Select within the code of the entity class for which you want to create business - logic files.&lt;br&gt;
b. Right - click and select the [Class To SQL] button.&lt;/p&gt;

&lt;p&gt;EMAIL: &lt;a href="mailto:sunflower.on.sun@gmail.com"&gt;sunflower.on.sun@gmail.com&lt;/a&gt;&lt;br&gt;
github issue:【&lt;a href="https://github.com/little-kelp/code-toolkit%E3%80%91" rel="noopener noreferrer"&gt;https://github.com/little-kelp/code-toolkit】&lt;/a&gt;&lt;br&gt;
QQ Group: 1030094275&lt;br&gt;
Odd - numbered versions are for Idea version 242.* and below. Even - numbered versions are for versions above 242. (excluding 242.)&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
