Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whole line completion not working #495

Open
amacfie-tc opened this issue Apr 22, 2024 · 1 comment
Open

Whole line completion not working #495

amacfie-tc opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@amacfie-tc
Copy link

What happened?

CodeGPT seems unable to show completions at the beginning of a line. Below is a Python file in PyCharm 2024.1 (Professional Edition). When the cursor is at the very beginning of the line or after four spaces there's no completion given:
2024-04-22-135302_458x88_scrot

But if there are 1, 2, or 3 spaces before the cursor there is a completion:
2024-04-22-135435_463x89_scrot

Relevant log output or stack trace

No response

Steps to reproduce

No response

CodeGPT version

2.6.3-241

Operating System

None

@amacfie-tc amacfie-tc added the bug Something isn't working label Apr 22, 2024
@carlrobertoh
Copy link
Owner

This is most likely related to how we process the response. We are simply cutting the output until the first newline is found, which obviously won't work in all situations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants