Half success, don't recognise the arrow function return value
/**
* Given two intervals, return the union of the two intervals.
* @returns None
*/exportconstunion=([Vm,VM],[Bm,BM])=>[Math.max(Vm,Bm),Math.min(VM,BM)];/**
* Given a viewport and a bounding box, return the part of the bounding box that is visible in the
* viewport.
* @param view - the viewport, a 2-element array of the form [x, y]
* @param box - the box to clip against
* @param [] - `view` is the viewport, which is a box with two numbers.
* @returns None
*/exportconstclip=(view,box,[a,b]=union(view,box))=>b>a?[a,b]:false;
What sorcery is this :D , i guess i will be commenting my code from now on :D
/**
* *When the user clicks on an image, set the focusedImageUrl to the image's url.*
* @param imgUrl - The URL of the image to be displayed.
* @returns None
*/focusImage(imgUrl){this.focusedImageUrl=imgUrl;}
Very nice, the summary is really well done, but the thing I really wish exist in the extension is ability to generate @example, I often use Github Copilot to generate the doc for me and they also gave me nice @example, but it's not the best experience generating doc with copilot, hopefully this extension can keep up the good work!
Actually, VSCode can also be combined with a one-click configuration tool like Servbay to easily install Ollama and CodeGPT in VSCode. I've introduced related content in my main article, and I hope it can be helpful for beginners!
Really nice extension, gonna definitely use it from now. Only afraid of the functionality that the comments surpasses maximum length of line and I would have to edit it each time :) . Would be even great if it detects some linting feature already enabled in the codebase. Anyways, thanks a lot for bringing this up!!
Full-stack dev shipping Django/React SaaS and Shopify stores since 2018. 37 client projects, 11 live Shopify builds. I write production war stories so you don’t repeat my outages.
Now I would love a similar plugin to solve one of the 2 hard things in compute science (martinfowler.com/bliki/TwoHardThin...) : Finding a name !
Select code -> AI suggest a proper name
Seems to do a pretty good job and it kinda encourages us to give variables/params proper names too 😅
I noticed that too.
Half success, don't recognise the arrow function return value
What sorcery is this :D , i guess i will be commenting my code from now on :D
Very nice, the summary is really well done, but the thing I really wish exist in the extension is ability to generate
@example, I often use Github Copilot to generate the doc for me and they also gave me nice@example, but it's not the best experience generating doc with copilot, hopefully this extension can keep up the good work!Actually, VSCode can also be combined with a one-click configuration tool like Servbay to easily install Ollama and CodeGPT in VSCode. I've introduced related content in my main article, and I hope it can be helpful for beginners!
Really nice extension, gonna definitely use it from now. Only afraid of the functionality that the comments surpasses maximum length of line and I would have to edit it each time :) . Would be even great if it detects some linting feature already enabled in the codebase. Anyways, thanks a lot for bringing this up!!
Woah!
Now I would love a similar plugin to solve one of the 2 hard things in compute science (martinfowler.com/bliki/TwoHardThin...) : Finding a name !
Select code -> AI suggest a proper name
I neeeeed dis
required sign in to use it but sign in also not working.