Skip to content

Java Chat Usage

Introduction

What is Java Chat?
Java Chat is an intelligent programming AI assistant with deep contextual awareness, providing full-process coding support to developers through natural language interaction. You can use Java Chat to help you analyze and optimize existing project engineering and code refactoring operations.

Smart Workflow

Feature Overview

  • Structured Requirement Input: Please clearly indicate the specific programming task or goal you wish to accomplish. For example, whether you need to implement a new functional module or optimize existing code, you can describe it in text. The recommended format for description is in steps, with more detail being better.
  • Context Association Matrix: Provide any information context that helps understand the task. Java Chat will optimize based on the context combined with requirement descriptions. You can also attach relevant code snippets or entire code files, allowing Java Chat to provide improvement suggestions or fixes directly based on actual code. For complex issues involving multiple files, providing a complete project structure view is more comprehensive.
  • View and Manage Code Changes: After Java Chat generates code content, you can carefully review these changes through the change comparison view, making decisions to accept, reject, or further modify local code snippets, ensuring the final result meets expected code outcomes.
  • Multi-file Modification: When Java Chat modifies multiple code files within an engineering project, each file's modification will go through at least a generation and application process. During the generation of code changes, you can see related changed files and their corresponding statuses in both Java Chat's response cards and workspace.
  • Multi-round Dialogue: After one round of dialogue and generation of code change files, if you need to continue supplementing requirements or modifying requirements, you can continue asking questions in the current task's conversation flow. Java Chat will combine previously generated code changes with supplementary requirements and generate new code modification suggestions, producing one or more new code change files.
  • View Snapshots and Version Rollback: When Java Chat-generated code fails to meet expectations or your requirements change, you can use the snapshot function to roll back to previous conversation states and code versions, continuing to ask questions from there and adjusting requirements.

Context Association Matrix Description:

TypeScopeTypical Operations
Current FileFiles in current project engineeringClass structure refactoring/method logic enhancement
Selected CodeEditor-selected file contentAdd exception handling/performance optimization
Changed CodeGit staging area code changes listCode style unification/logic optimization
Code RepositoryCurrent project engineeringDesign pattern introduction/module decoupling

邮箱:chendw@feisuanyz.com 邮编:518000 地址:深圳市前海深港合作区前湾一路1号A栋201室