Giter Site home page Giter Site logo

helixform / codecursor Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 52.0 2.32 MB

An extension for using Cursor in Visual Studio Code.

Home Page: https://marketplace.visualstudio.com/items?itemName=ktiays.aicursor

License: MIT License

Rust 39.84% TypeScript 39.90% JavaScript 1.48% CSS 18.77%
chatgpt extension gpt-4 ide openai plugin rust typescript visual-studio-code

codecursor's People

Contributors

davidmetcalfe avatar ktiays avatar unixzii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

codecursor's Issues

Automatically stopped after generating the code

Why is it that when the code is generated, the generation is automatically stopped when the code has not been generated. And in the lower right corner, a button showing whether to accept the generation is complete

The insertion and replacement methods seem to have some minor issues, as some code is missing.

Thank you for creating this plugin, it is amazing. However, I have encountered an issue while using it, which is that the replace function sometimes loses some variables. I'm not sure what the cause is.
for example, I want to write a function that generates random numbers.
image
When the "Insert" and "Replace" buttons are clicked, the code inside the editor will change like this.
image
The variables 'timestamp' and 'randomNumber' are missing.

What context is passed to the model?

I'm loving CodeCursor. I am having a hard time understanding what exactly is getting passed to the model when I click Ask.

It seems that sometimes, the entire active file is passed as context, and sometimes only half the file. Is there any capability to have context from multiple files? Or a whole project?

I notice that my active selections are also passed. Is there any other context that is passed when I have an active selection? What is that logic?

Maybe it can be added to the readme, as it's important information to know how to use this.

Need Guidance on Setting API Key for Azure OpenAI Integration with CURSOR Extension

Hello,

I'm looking to utilize the Azure OpenAI API with the CURSOR extension to enhance its capabilities. However, I've encountered a hurdle that I hope to get some assistance with. It appears that there's no obvious option or field within the extension settings to input the API Key for Azure OpenAI.

Could anyone provide insights or guidance on how to configure the API Key for Azure OpenAI within the CURSOR extension? Any help or directions to relevant documentation would be greatly appreciated.

Thank you in advance for your support.

Response interrupted

I am getting a (Response interrupted) error for all requests. I confirm my API key works and OpenAI is not down. The extension has become unusable :(

How to re-login to Cursor account

I have logged in before, and it was working well several hours ago. I don't know why it's suddenly logged out, and I didn't find a way to re-login. I tried re-installing the extension but it does not work.

The log is as follows:

[Extension Host] Error: Server returned status code 401
	at t.exports.__wbg_new_15d3966e9981a196 (/home/az/.vscode/extensions/ktiays.aicursor-0.4.0/dist/extension.js:1:10999)
	at wasm://wasm/000d775e:wasm-function[90]:0x79de
	at wasm://wasm/000d775e:wasm-function[99]:0xcb44
	at wasm://wasm/000d775e:wasm-function[153]:0x1a517
	at wasm://wasm/000d775e:wasm-function[394]:0x2ae06
	at I (/home/az/.vscode/extensions/ktiays.aicursor-0.4.0/dist/extension.js:1:3237)
	at o (/home/az/.vscode/extensions/ktiays.aicursor-0.4.0/dist/extension.js:1:2164)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

Chat deprecation notice

When chatting about selected content, a prefixed notice appeared. It only starts today.

You are on an old version of Cursor that will be deprecated soon. Please download the latest version at cursor.so to get new features and continued support.

image

Also, when asking a new question in the same chat, it would repetitively answer all previous questions before replying to the new question. Is that how Cursor work or a bug in this extension?

[issue] can not install in VSCODE

When I try to install the plugin, Vscode prompts me with this error, What this picture means is
The "ktiays.aicursor" extension cannot be installed because it is not compatible with the current Visual Studio Code version (version 1.70.0).

Snipaste_2023-03-28_17-02-37

can't sign in

even if I successfully sign in to the page, the plugin still displays "Waiting for sign in/sign up..."

"Reset Chat" is disabled when the extension is placed in panel

I want to move the extension from Activity Bar to Panel for a wider view. But the "Reest Chat" button is greyed out there. It is normal when placed back to Activity Bar.

My environment:

  • extension version: 0.3.2
  • VSCode version: 1.77.0
  • system: openSUSE Tumbleweed 20230322

The screenshot is as below:

image

Sign in fail

Hi,
thanks for your development, the plugin is very convenient,
I encounter a problem, when press login, my chrome open the url
https://www.cursor.so/loginDeepPage

You may now proceed back to Cursor
If you have any trouble, please contact [email protected]

and then I go back to VSCode, it still doesn't login,
any suggestion?

Can't see the generate code option.

When I open the command palette and search for "codecursor", the only options I see are

  • View: Show CodeCursor
  • CodeCursor: Focus on Chat View
  • CodeCursor: Reset Chat

There is no "Code Cursor: Generate Code" as in the picture shown in README.

Is it possible to make this available entirely local

By this I mean is it possible to just copy these extensions functions like accessing your codebase and use it not with a cursor API key or an OpenAI API key but with a locally hosted LLM, for example dolphin-mixtral hosted with Ollama

Lower the required version to 1.73

Hi, currently the extension requires a higher version of vscode.

There are many users currently stays in 1.73 due to the custom-UI issue. Would it be possible to lower this version requirement? Thanks!

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.