Skip to content

Using Smart Q&A

Introduction

When you encounter code-related issues during programming, you can get help from the Smart Q&A feature of FeiSuan JavaAI. Whether you need code explanations, adding code comments, or generating unit tests, FeiSuan JavaAI can assist you. Additionally, when encountering compilation failures and other issues, simply select the corresponding error code or error log information and start a conversation through the FeiSuan JavaAI plugin, providing your issue details. FeiSuan JavaAI will provide solutions and guidance to help you quickly overcome difficulties. Such support ensures a smoother and more efficient development process.

Creating a New Session

  1. Click the upper right corner to create a new session, enter your question (the input box lower left corner defaults to Smart Q&A; if not, you need to switch to Smart Q&A first before entering your question). You can also select related context before entering your question.

Selecting Context

  1. Context provides 5 choices as follows (shortcut input #):
TypeScopeTypical Operations
Current FileCurrent project engineering fileClass structure refactoring/method logic enhancement
Selected CodeEditor-selected file contentAdding exception handling/performance optimization
Changed CodeGit staging area code changes listCode style unification/logic optimization
Code RepositoryCurrent project engineeringDesign pattern introduction/module decoupling
Git Commit HistoryCurrent git commit log listAnalyzing commit log information/checking compliance with standards

Note: For more detailed content about selecting context, please refer to the article content about associated context in the Java Chat module.

  1. Enter your question, Smart Q&A will generate answers.

Selecting Smart Type

  1. In the code editing area, click the FeiSuan icon, select the Q&A type, and the FeiSuan JavaAI answer content will be displayed on the right side.

Quick Actions After Generating Answers

  1. After smart answers are completed, you can quickly save results through insert/copy/save as file methods for future reference.

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