Code Assembly Strategies: Evaluating Template Engines and Shell Scripting
Fragment Assembly ChallengesConstructing code files by combining fragments often leads to ad-hoc scripting that lacks standardization. While build tools like Rsbuild or Vite offer templating capabilities, configuring them for simple concatenation tasks can be cumbersome.Using EJS as a Template EngineEJS operates similarly to traditional server- ...
Posted on Mon, 29 Jun 2026 17:12:38 +0000 by trazan
JSDoc Documentation Generation and Configuration
1. Installation
# Global installation
npm i -g jsdoc
# Local installation
npm i -D jsdoc
2. Basic Usage
/**
* A sample variable declaration
* @type {number}
*/
var sampleVariable = 123;
/**
* A sample function
* @param {string} arg1 - First argument, string type
* @param {number} arg2 - Second argument, number type
* @return {boolean} ...
Posted on Tue, 26 May 2026 21:08:58 +0000 by bad_gui
JavaCC and FMPP: Powerful Tools for Code Parsing and Generation
Streamlining Deveolpment with JavaCC and FMPP
In software development, code generation is an essential technique for reducing repetitive work and increasing productivity. For highly repetitive and template-based code, manual implementation can be time-consuming and error-prone. This article explores two powerful tools—JavaCC and FMPP—that autom ...
Posted on Thu, 14 May 2026 23:51:16 +0000 by pmeasham
Custom Velocity Templates for MyBatisPlus Code Generation
Controller Template
package ${package.Controller};
import org.springframework.web.bind.annotation.RequestMapping;
#if(${restControllerStyle})
import org.springframework.web.bind.annotation.RestController;
#else
import org.springframework.stereotype.Controller;
#end
#if(${superControllerClassPackage})
import ${superControllerClassPackage};
#end ...
Posted on Wed, 13 May 2026 21:34:02 +0000 by jd57
Enhancing Development Workflow with the CodeGeeX AI Assistant for Visual Studio
CodeGeeX operates as a sophisticated AI-powered extension within the Visual Studio environment, leveraging large-scale models to interpret developer context and accelerate the software development lifecycle. The plugin supports a wide array of programming languages and offers a suite of capabilities designed to streamline coding tasks.
Key fun ...
Posted on Sun, 10 May 2026 06:02:13 +0000 by buddymoore
Automating MyBatis Code Generation with Maven and Plugin Configuration
Setting Up the Maven Project
Begin by establishing a standard Maven project structure to house the generator configuration and dependencies.
Configuring Maven Dependencies and Build Plugin
Update the pom.xml to include the necessary libraries for MyBatis and the generator tool. The configuration below specifies the Maven plugin responsible f ...
Posted on Thu, 07 May 2026 03:30:36 +0000 by bodzan