Chat
Use inline chat to ask questions about code in a Change Request.
Bazzy, our embedded Chat interface allows you to ask questions about code changes.
Start a chat by selecting a range of lines either from the origin file (R) or the changed file (L). Baz will add the entire encapsulating elements as an array of tuples where each tuple contains a line number and the corresponding line of code. Baz will also include any corresponding insights that indicate how this code is utilized.
With Bazzy, there's no need to explicitly reference specific files, folders, or the entire codebase when asking questions or seeking assistance. Bazzy automatically handles the heavy lifting by traversing your code's Abstract Syntax Tree (AST) to extract the necessary context. It intelligently identifies related code elements, ensuring you get accurate and relevant answers without the hassle of manually providing additional details. This seamless context awareness streamlines your workflow, making code reviews and troubleshooting faster and more efficient.
Explain
Select Explain
to receive a concise read through the code changes in a given range. Bazzy is instructed to provide explanations for specified code snippets with the relevant lines of code highlighted and provided in context.
Improve
Select Suggest better code
to enhance a given code snippet by making it more readable, shorter, or better named. If no improvement is necessary, Bazzy will state that the code looks good.
Ask Bazzy
You can also Ask Bazzy for implementation specific feedback, for example:
"How can I refactor this code to improve performance?"
"What potential security issues should I look out for in this snippet?"
"Can you suggest a better algorithm for this problem?"
"What design pattern would be suitable for this implementation?"
"How can I optimize this code for better readability?"
Last updated