Like ChatGPT, when we select content, the icon to ask CGTP appears on top of the selection. And then, it adds a new entry in the chat with the selected content and the question prompt for it.
We want to show a AInalyzer icon to let users know they can click on the icon when they are in the editor, and the cursor moves, we show the icon on the gutter. Once clicked, we show a container with the selected text, if any, and a assistant prompt on the selection. For now, the assistant has a skeleton of what the AI agent would respond.