Prompt Center
The Prompt Center is an intelligent assistance feature in the VJSP development environment designed to help developers quickly generate standardized and consistent prompts, improving development efficiency and code consistency. Prompts are categorized by common development scenarios, covering multiple dimensions such as controls, components, databases, layouts, default values, etc. Users can directly select and fine-tune them according to actual needs.
Function Entry
In the VJSP IDE interface, click the 【Prompt Center】 button at the top or sidebar to open the prompt panel.
📎 Example Interface:
Prompt Sources
Prompts can come from the web side, including publicly available prompt templates provided by the official team, as well as prompts or instructions created by users themselves on the web side.
👉Click to view specific operation steps.
Prompt Categories
The Prompt Center categorizes commonly used prompts into the following five types for quick positioning:
| Category | Description |
|---|---|
| Controls | Suitable for UI controls such as input boxes, buttons, dropdown menus, including prompt text or placeholder text. |
| Components | Descriptive prompts or configuration suggestions for reusable business components. |
| Database | Database-related prompts including field comments, table name descriptions, SQL query prompts, etc. |
| Layout | Explanatory text related to page structure, grid systems, responsive design, and other layout aspects. |
| Default Values | Default prompts or example values for common fields (such as usernames, dates, statuses). |
Usage Method
In the Prompt Center panel, browse prompts under the desired category.
Click any prompt entry, and the prompt will automatically fill into the currently active dialog box or editing area.
Personalize and modify the inserted prompt content according to your specific business scenario (such as replacing variable names, default values, etc.).
After confirmation, it can be directly used in scenarios such as interface copy, code comments, configuration files, etc.
📎 Usage Example:
Best Practices
Maintain Consistency: Prioritize using standard expressions provided by the Prompt Center to ensure terminology consistency within the project.
Timely Feedback: If you find missing or inappropriate prompts, suggest additions or optimizations through feedback channels.
Combine Context: Although prompts can be used directly, it is recommended to make appropriate localization adjustments based on user roles, language environment, etc.
