Giter Club home page Giter Club logo

copilot-clone's Introduction

Captain Stack

Captain Stack — Code suggestion for VSCode

A clone version of Github Copilot. Instead of using AI, this extension sends your search query to Google, then retrieves StackOverflow answers and autocompletes them for you.

Note: ⚠️ This sample can only be used for extension development in Insider release. You cannot publish extensions using Proposed API. Meaning it's not gonna work on VSCode. You'll need to download and use the VSCode Insider version

Demo Video

Note: vscode inline-completions feature is still not ready for production (VSCode store won't accept extensions like this yet). Check out the original Microsoft/examples/inline-completions repository

Running the Sample

  • Download this repository to your local machine
  • Run npm install in the terminal to install dependencies. A postinstall script would download the latest version of vscode.proposed.d.ts
  • Run the Run Extension target in the Debug View. Or from the top menu, choose Run > Start Debugging.

This will: - Start a task npm: watch to compile the code - Run the extension in a new VS Code window (you should play the code here)

Play with Copilot

To trigger inline completion, you'll need to type //find {your keyword}. (start with //find, end with a dot .)

For example

//find binary search in javascript.

Make sure that showInlineCompletions is enabled in your settings!

"editor.inlineSuggest.enabled": true

Have fun

copilot-clone's People

Contributors

hieunc229 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.