Code Monkey home page Code Monkey logo

continue's Introduction

Continue logo

Continue

Continue is an open-source autopilot for VS Code and JetBrains—the easiest way to code with any LLM

Task and tab autocomplete

Answer coding questions

Highlight + select sections of code and ask Continue for another perspective

  • “what does this forRoot() static function do in nestjs?”
  • “why is the first left join in this query necessary here?”
  • “how do I run a performance benchmark on this rust binary?”

Edit in natural language

Highlight + select a section of code and instruct Continue to refactor it

  • “/edit rewrite this to return a flattened list from a 3x3 matrix”
  • “/edit refactor these into an angular flex layout on one line"
  • “/edit define a type here for a list of lists of dictionaries”

Generate files from scratch

Open a blank file and let Continue start new Python scripts, React components, etc.

  • “/edit get me started with a basic supabase edge function”
  • “/edit implement a c++ shortest path algo in a concise way”
  • “/edit create a docker compose file with php and mysql server"

And much more!

Getting Started

Download for VS Code and JetBrains

You can try out Continue for free using a proxy server that securely makes calls with our API key to models like GPT-4, Gemini Pro, and Phind CodeLlama via OpenAI, Google, and Together respectively.

Once you're ready to use your own API key or a different model / provider, press the + button in the bottom left to add a new model to your config.json. Learn more about the models and providers here.

Contributing

Check out the contribution ideas board, read the contributing guide, and join #contribute on Discord

License

Apache 2.0 © 2023 Continue Dev, Inc.

continue's People

Contributors

sestinj avatar actions-user avatar tydunn avatar langlangbart avatar commandblock2 avatar bra1ndump avatar thebenforce avatar rootedbox avatar lun-4 avatar germankrause avatar bjornjorgensen avatar restlessronin avatar my8bit avatar apawloski avatar dependabot[bot] avatar danieleades avatar pzaback avatar eduardocalixtokorp avatar ninjaperson24119 avatar iamshankhadeep avatar benedict-lee avatar nperez0111 avatar yuuuxt avatar yuiseki avatar pkirkovsky avatar sanders41 avatar masegraye avatar elpaggio avatar justinmilner1 avatar mearman avatar

Forkers

ceafive

continue's Issues

# DRAFT (Continue-generated): Error in example.ts code for repeat() and factorial() functions

DRAFT: GENERATED BY CONTINUE

Description

The provided code in example.ts for the repeat() and factorial() functions is not executing as expected.

Steps to Reproduce

  1. Run the code provided in example.ts with the following command: npm start example.ts
  2. Observe the output in the console.

Expected Behavior

The repeat() function should return a string of "a" characters repeated 5 times, and the factorial() function should return the correct factorial value of 3.

Actual Behavior

The repeat() function throws an error and does not return the expected value, and the factorial() function also throws an error and does not return the expected value.

Solution

The code for the repeat() function should be updated to the following:

function repeat(num: number, str: string): string {
  return str.repeat(num);
}

The code for the factorial() function should be updated to the following:

function factorial(num: number): number {
  if(num === 0 || num === 1) {
    return 1;
  }
  return num * factorial(num - 1);
}

Expected Result

After the changes to the repeat() and factorial() functions have been made, rerunning the code provided in example.ts should produce the following output in the console:

aaaaa
6

Additional Instructions

Please review the updated code and confirm that the issue has been resolved.

# DRAFT (Continue-generated): Error in fib3 function implementation

DRAFT: GENERATED BY CONTINUE

Description

The fib3 function implemented in example.ts (lines 41-44) is causing some issues that need to be addressed.

Reproduction Steps

  1. Call the fib3 function with any integer value greater than 1, for example fib3(5)
  2. Observe that the function throws an error due to fib() being undefined.

Current Behavior

As described in the reproduction steps, the fib3 function is throwing an error due to fib() being undefined. This is because the return fib(n - 2) + fib(n - 1); statement is calling fib whereas the function is named fib3.

Ideal Solution

To fix the issue, change the return fib(n - 2) + fib(n - 1); statement to return fib3(n - 2) + fib3(n - 1); to ensure the correct function is being called.

Expected Behavior

After implementing the ideal solution, the fib3 function should work as expected and return the correct values for any input greater than or equal to 1.

Thank you for bringing this issue to our attention and please let us know if you have any further concerns or questions.

# DRAFT (Continue-generated): Imported modules not used in example.ts

DRAFT: GENERATED BY CONTINUE

Issue Description

The modules factorial and repeat are imported in the example.ts file, but neither of them are being used in the code. This results in unused code and may cause confusion for future maintainers.

Steps to Reproduce

  1. Open the example.ts file.
  2. Notice that the modules factorial and repeat are imported at the beginning of the file, but never used in the code.
  3. Attempt to call either factorial or repeat functions in the console or elsewhere in the code.
  4. Observe that they are not recognized, indicating that they are not being imported properly or used in the code.

Expected Behavior

The example.ts file should import modules that are necessary for the code's functionality and use them properly in the code.

Ideal Solution

The unused modules should be removed from the file if they are not necessary for the code, or used in the code if they are necessary. This will ensure that the code stays maintainable and less confusing to future developers.

Additional Notes

This is a small issue, but it is important to optimize the code and avoid unused imports as much as possible. Please let me know if there are any questions or if further information is needed.

# DRAFT (Continue-generated): Complaint about example.ts code segment

DRAFT: GENERATED BY CONTINUE

There seems to be an issue with the code segment provided in example.ts that involves lines 8-12.

To reproduce the problem, simply execute the code as is, or using the following command: ts-node example.ts.

The issue appears to be related to two function calls, repeat() and factorial(), and the code execution does not produce the expected behavior.

The ideal solution to this problem would be to update the repeat() and factorial() functions so that they work as expected. Alternatively, if these functions are not critical to the application, they can be removed altogether.

Once the issue has been resolved, the expected behavior is that the code will execute without error and the output will reflect the expected results of the repeat() and factorial() functions.

Thank you for your attention to this matter.

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.