Only show "Generate Code" prompter on blank line

Describe your feature request
Wake up babe, new feature just landed.

Ghostwriter closer to me than ever.

Screenshot 2023-09-19 at 2.25.27 PM

Amazing.

However, I feel like it’s a little intrusive. Would it be possible to only show it when I click on a blank line, or have a setting to toggle it?

Notice how in the following attachment how my cursor is at the end of an existing line of code debug("Message sent").
Screenshot 2023-09-19 at 2.27.10 PM

I would expect it to appear when I’m at a newline like this:
Screenshot 2023-09-19 at 2.27.53 PM

Maybe also hitting the Escape key could hide it?

What problem(s) would this feature solve?
Just a little bit of improved DevEx. I’d use codegen usually on newlines over lines that already have code in them.

Explain what you were trying to do when you came across the problem leading to this feature request
Just clicked around in the editor and found this new feature.

2 Likes

Additionally, it also shows up for users who do not have Ghostwriter, making it more intrusive to them (and me) than it is to you I suspect.

2 Likes

exactly, if I had ghostwriter I might be more okay with this; but being a user who does not? It is quite annoying.

2 Likes

I think the point is that it shows up to people without GW, so they buy it. But maybe it should only show up once if you don’t have it.

4 Likes

Would be nice if that popup was a tour of some type (a tour is one of the dismiss-able items such as a banner, etc) for free users, and then re-activated once you purchase Ghostwriter

4 Likes

That makes sense, I still think that we’d be better off without it though.

4 Likes

It is dismiss able… kinda, press the arrow then the X but it comes back soon after.

3 Likes

I especially think it should be hidden on Education Team accounts. HS students aren’t going to pay for it - and they shouldn’t be tempted to. Perhaps a toggle for managers of a team?

4 Likes

Think again, I’m in HS!
It’s very useful for pumping out code really quickly!

(Along with helping finish assignments quickly without much effort. :face_with_hand_over_mouth:)

I’d say its worth my future monthly investments.

1 Like

I think this might be more of a problem for people who are still learning to code, as AI can be easy in the short term but not in the long run.

1 Like

Adding on to this, I’m having some inconvenience with the new “Edit code” popover when I highlight something near the end of a line

3 Likes