4 ms·
I was going to write exactly this and I'm glad you beat me to it (and that someone else is experiencing this benefit). It's obviously not a replacement for a h
by nlh 5y ago
I was going to write exactly this and I'm glad you beat me to it (and that someone else is experiencing this benefit). It's obviously not a replacement for a human writing a big program (yet...), but it does a damn fine job of giving you a shell of a function based on a comment.
PS - it is also AMAZING with CSS and saves so much time on easy things that I just haven't memorized. "Style the LI so there are no bullet points" and boom...'list-style: none;'
- davidbarker 5y agoGreat to hear we’re having similar experiences. It’s also quite impressive how Copilot will learn from any patterns you’ve typed on previous lines — so when I’m using a certain color name in a variable, it knows that I likely want to use it in subsequent code. Or, more concretely, when using tokens for colors (e.g. blue.50 for light blue, blue.900 for dark blue) it can figure out that I probably want my background to be an x.50 colour and my text to be, say, x.700. So cool!