All Features #6
Closed
pranshugupta54
started this conversation in
Tips
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Traycer: AI-Powered Code Analysis in Real Time
What's Traycer?
Traycer is an advanced code analysis tool for Visual Studio Code, enhancing software quality and developer productivity with live, context-aware insights. Acting like a vigilant senior developer, it analyzes changes in real-time, identifying issues and offering corrections without disrupting your workflow. Traycer ensures comprehensive coverage by examining changes and their implications on related code, addressing potential bugs, and enhancing application robustness. It provides clear, actionable suggestions that can be integrated into your code with a single click.
Table of Content
Features
Triggering Analysis: Manual vs. Automated
Understand the difference between manually triggering the analysis with a button click and having it automatically occur in real-time as you code.
Manual Trigger Analysis: Users can manually initiate the analysis by right-clicking and selecting "Analyze File" or "Analyze Changes".
Automated Trigger Analysis: Analysis is performed automatically in real-time as users write and modify their code.
Switching Between Manual and Automated Analysis
Learn how to configure your preferences to switch between manual and automated analysis modes.
Configuring Your Preferences
Change the Settings of VSCode Workspace (.vscode/settings.json):
Extension Settings Page:
execution-mode-settings.mp4
Using Command Palette: -
Ctrl+Shift+P
ORCmd+Shift+P
on Mac).Traycer: Enable Auto Analysis
ORTraycer: Disable Auto Analysis
.Manually Triggered Analysis
This allows users to have full control over when the analysis runs. Users can trigger the analysis process manually by clicking the "Analyze" button in the Traycer right-click menu. This method is useful when you want to review and refine code at specific points in your development workflow.
Steps to Trigger Manual Analysis
Traycer
from the context menu.Analyze File
ORAnalyze Changes
from the sub-menu.manual-trigger.mp4
Checking Analysis Status
To check the status of your analysis, hover over the Traycer icon. It will display the count of running analyses, such as "Traycer in-flight analysis: X". If the count is 0, it means there are no analyses currently running.
analysis-status.mp4
Comments
Traycer adds comments to your code, suggesting improvements and highlighting potential issues. These comments provide actionable insights to help you refine your code, maintain high standards, and address problems early in the development process.
Navigating the Comment:
To navigate and manage comments in VSCode, follow these steps:
Cmd + J
ORCtrl + J
to open the VSCode panel for comments. This panel displays all the comments in the current context.navigate-comment.mp4
Apply Suggestions
Using the Traycer extension, you can manage suggestions efficiently. Select the Apply Suggestion button provided by the Traycer extension to implement the suggested change directly into your code.
Follow these steps to accept or decline suggestions:
Accept Suggestion
accept-suggestion.mp4
Decline Suggestion:
decline-suggestion.mp4
Show Difference
Using the Traycer extension, you can easily compare changes made to your code. Follow these steps to view the differences:
show-diff.mp4
Collapse and Expand Comments
You can collapse or expand comments to manage your workspace efficiently.
Follow these steps for collapsing individual comment:
expand-collapse-one.mp4
To minimize all comments at once:
Using Command Palette: -
Traycer: Collapse All File Comments
Using right-click menu
Traycer
from the context menu.Collapse All File Comments
.collapse-all.mp4
Delete Comments
Easily remove comments to maintain a clear and efficient workspace, ensuring that your coding environment remains organized and free of unnecessary clutter.
To delete individual comment:
Use the trash icon (
) on the top right of the comment box to collapse the comment.
delete-one.mp4
To delete all comments at once:
Using Command Palette: -
Traycer: Delete All File Comments
- to delete comments for all files.Traycer: Delete All File Comments
- to delete comments for the active file.Using right-click menu
Traycer
from the context menu.Delete All File Comments
.delete-all.mp4
Reply to thread
Use the 'Reply to Thread' feature in Traycer AI to respond to code insights and suggestions directly within the Visual Studio Code environment.
Steps for conversation:
reply.mp4
Highlight Comments
The "Highlight Comments" feature in Traycer allows users to easily identify and distinguish comments within their code, enhancing readability and code review processes.
Configuring Your Preferences
Change the Settings of VSCode Workspace (.vscode/settings.json):
Extension Settings Page:
highlight-comment.mp4
Using Command Palette: -
Traycer: Enable Comments Highlighting
orTraycer: Disable Comments Highlighting
.Supported Languages
Currently, Traycer supports the following programming languages:
Feedback Forum
We value your input and encourage you to share your experiences and suggestions with us. Connect with us and the community in the following ways:
Beta Was this translation helpful? Give feedback.
All reactions