Does anyone know what these code notes are for in ...
# random
s
Does anyone know what these code notes are for in IntelliJ? Why wouldn't I just add in-code comment blocks that also get pushed to the repo?
c
This looks similar to the UI to create a GitHub PR/GitLab MR comment, but if I remember correctly that says 'Add Comment', not 'Add Note'
How do you trigger it?
s
It just appeared in the gutter, can't even find an option to show/hide it
but it doesn't seem like these notes show up anywhere else either, except for the file/line where they're added.
t
It could be for the air plugin if you use that.
s
yes, I found an option to also include those notes in the context. but are they made specifically for air? same question, why wouldn’t you use standard code comments?
t
I’ve only used it for air. It’s not comments for the code. It’s comments so that you can talk to the agent while giving specific references. You can add a bunch of notes and then reply to the agent and it includes your notes in your message as context. It’s useful for if the agent made a change and you have questions about it or suggestions on what you want it to change.
s
I see now, that does make some sense, ty