It should show up in the right click

It should show up in the right click menu and the command palette. Can you check logs in the output and select Traycer to see what’s going on?
63 Replies
Pranshu Gupta
Pranshu Gupta2y ago
No description
Tanveer Gill
Tanveer GillOP2y ago
That looks healthy to me
Pranshu Gupta
Pranshu Gupta2y ago
The icon on right bottom footer
No description
Pranshu Gupta
Pranshu Gupta2y ago
It started working on another project 😂
Tanveer Gill
Tanveer GillOP2y ago
We don't support JSX!
Pranshu Gupta
Pranshu Gupta2y ago
Ohh oh yes my bad
Tanveer Gill
Tanveer GillOP2y ago
No, we should make this apparent to the user somehow
Pranshu Gupta
Pranshu Gupta2y ago
No description
Tanveer Gill
Tanveer GillOP2y ago
I think we should show un-supported language in the status
Pranshu Gupta
Pranshu Gupta2y ago
Maybe when they click on the icon, it says "We don't support jsx extension yet"
Tanveer Gill
Tanveer GillOP2y ago
Yeah And perhaps also in the right-click menu if someone is looking for the command there
Pranshu Gupta
Pranshu Gupta2y ago
Yes
Tanveer Gill
Tanveer GillOP2y ago
This is good feedback!
Pranshu Gupta
Pranshu Gupta2y ago
Can we only analyze the file and changes? Why not selected portion like co-pilot
Tanveer Gill
Tanveer GillOP2y ago
We want to keep the UX really simple. Also, because we go beyond the selected code snippet anyways by following references
Pranshu Gupta
Pranshu Gupta2y ago
Going to be much better to get a chat on the left panel just like CoPilot where we could interact
Tanveer Gill
Tanveer GillOP2y ago
Yes! We want to do one thing at a time, really well 🙂
Pranshu Gupta
Pranshu Gupta2y ago
Yup, it's still in the very early stage - more feature with time
Tanveer Gill
Tanveer GillOP2y ago
The manual commands are there but the main experience is that Traycer is smart enough to know what to analyze based on what you are working on.
Pranshu Gupta
Pranshu Gupta2y ago
not sure why I'm getting these comments - we already have imports
No description
Tanveer Gill
Tanveer GillOP2y ago
Yeah, we are working to reduce noise. Maybe we need to do a better job at following references of imported variables. We already did some work to fix this but it seems that it isn't enough https://discord.com/channels/1230383226376163328/1237565998597541928/1240099607762173963 Traycer runs analysis of all the changed function automatically when a file is saved. That's what I meant here https://discord.com/channels/1230383226376163328/1243621199368425472/1243624337928359966
Pranshu Gupta
Pranshu Gupta2y ago
ohk Kinda getting same comment multiple times rn
Pranshu Gupta
Pranshu Gupta2y ago
Something went wrong that it commented thrice
No description
Pranshu Gupta
Pranshu Gupta2y ago
Im randomly getting errors like: [error] Error: 14 UNAVAILABLE: read ECONNRESET [error] CodeExpectedError: cannot open file:///response_3/0. Detail: Unable to read file '/response_3/0' (Error: Unable to resolve nonexistent file '/response_3/0')
Tanveer Gill
Tanveer GillOP2y ago
Hmm... we use a GRPC connection with our backend service. Maybe something's causing it to break every few seconds... Will double check to if I see same behavior I am not seeing such disconnects at my end...
Pranshu Gupta
Pranshu Gupta2y ago
Steps: - Open a code file which you never analyzed - Hit Traycer with right click - You'll see loading icon on bottom - Hit analyze file again on Traycer 2 times It poped up 3 comments I tried "Delete comments" now, is there a way to get the comments back?
Pranshu Gupta
Pranshu Gupta2y ago
Used the analyze file button thrice but it does nothing
No description
Tanveer Gill
Tanveer GillOP2y ago
No way to get comments back once they are deleted…
Pranshu Gupta
Pranshu Gupta2y ago
Ohhk
Tanveer Gill
Tanveer GillOP2y ago
There are rate limits in place if you try to run analysis too many times it won’t
Pranshu Gupta
Pranshu Gupta2y ago
Hm 🤔 We need a way so that user knows about hitting the limit - as a user i don't know if it's still analyzing or some error came out
Tanveer Gill
Tanveer GillOP2y ago
It does run the analysis but after some delay
Pranshu Gupta
Pranshu Gupta2y ago
it gave some error
No description
Tanveer Gill
Tanveer GillOP2y ago
Perhaps we can show a message when a limit is hit along with the time to wait until analysis runs Not sure why you are hitting econnreset. Something is killing the gRPC connection while the analysis is running Something as in, your campus network, ISP etc.
Pranshu Gupta
Pranshu Gupta2y ago
I'm on Wifi at my home - I don't think we have any restriction at all like campus networks
Tanveer Gill
Tanveer GillOP2y ago
FYI, we do have a mechanism to resume analysis automatically from where it was last when disconnects happen
Pranshu Gupta
Pranshu Gupta2y ago
It does connect when tries to reconnect
No description
Tanveer Gill
Tanveer GillOP2y ago
Yeah, it does connect and also resumes analysis if let’s say half the file was done, it will continue doing the other half But that said, you should not see disconnects unless something is breaking the long running connections
Pranshu Gupta
Pranshu Gupta2y ago
It's just a 30 line file, no comments even after connected to server
Tanveer Gill
Tanveer GillOP2y ago
FYI, lack of comments could also mean that there is nothing to comment about
Pranshu Gupta
Pranshu Gupta2y ago
🤔 oh it's the same file where i deleted 3 (*3 repeated) comments
Tanveer Gill
Tanveer GillOP2y ago
Oh I see I know what's up We keep a cache of previous analysis even if the comments are deleted And we don't run the expensive gpt4o analysis unless there is a large enough change since last analysis
Pranshu Gupta
Pranshu Gupta2y ago
Can simply use the cache to add back comments when user tries to analyze multiple times without file change
Tanveer Gill
Tanveer GillOP2y ago
That is true But it might also annoy the user if they removed the comment because it was irrelevant
Pranshu Gupta
Pranshu Gupta2y ago
How can re-analyze work then? for full file 🤔 Skipping the comments which were deleted manually - by clicking bin button for single comment or re-analyze only these comments
Tanveer Gill
Tanveer GillOP2y ago
Yeah, I was thinking the same Clicking bin icon is capturing a very clear intent of the user Maybe if they did delete all from the command then it means that they just wanted to reduce clutter
Pranshu Gupta
Pranshu Gupta2y ago
thumbs up and down can also be used to see user's behaviour
Tanveer Gill
Tanveer GillOP2y ago
Yes...
Pranshu Gupta
Pranshu Gupta2y ago
it's working good for now, am I missing something or there's no way to interact with it currently?
Tanveer Gill
Tanveer GillOP2y ago
I guess the state in which your file is right now, you won't get new comments unless you change code It will work with a clean slate on all other files Also, restarting VS Code is a clean slate always
Pranshu Gupta
Pranshu Gupta2y ago
A way so that user can comment or talk - like - "@Traycer we already have the try-catch block outside the code block" and then Traycer tries to check again... very similar to CodeRabbit comments on pull request
Tanveer Gill
Tanveer GillOP2y ago
We are currently building the reply functionality on comments 🙂
Pranshu Gupta
Pranshu Gupta2y ago
Ohk, that's gonna be really cool 🤔 How exactly will it have project context then?
Tanveer Gill
Tanveer GillOP2y ago
We are going to build cross-session cache. I am just telling you the current behavior
Pranshu Gupta
Pranshu Gupta2y ago
Why gpt4o? CodeRabbit works good on gpt-3.5-turbo which is really cheap. As an individual beginner developer, they'd probably not want to pay so much - won't it be good for beginner devs to have a cheaper solution
Tanveer Gill
Tanveer GillOP2y ago
We use both models
Pranshu Gupta
Pranshu Gupta2y ago
Ohk How are the pricing planned btw?
Tanveer Gill
Tanveer GillOP2y ago
We are still in the alpha phase and learning. So, we will decide soon The tool will be free for open source forever
Pranshu Gupta
Pranshu Gupta2y ago
Let's hope to get a free plan for Students - we really wanna try out such things but we don't have enough to pay for them all
Tanveer Gill
Tanveer GillOP2y ago
I know… that’s why the free open source plan 🙂
Pranshu Gupta
Pranshu Gupta2y ago
😅 How are we going to know open source from vscode?
Tanveer Gill
Tanveer GillOP2y ago
Can’t discuss that here…
Pranshu Gupta
Pranshu Gupta2y ago
ohhk

Did you find this page helpful?