sassoftware / sassoftware/sas-copilot

Comment overwrites first line of code

Open
#40 2 comments 0 reactions 1 assignee View on GitHub

@2TomLi is already working on this.

Since Apr 8, 2024.

bug
Dominant language
TypeScript
Stars
12
Forks
1
Avg merge
4m
Merged PRs (30d)
1

Description

Describe the bug
Generated comment overwrites first line of code

To Reproduce
Steps to reproduce the behavior:

  1. Select 2 line of code form end to beginning; cursor still on first line
  2. Click on 'add comments'
  3. Comment generated overwriting lines of code.

Expected behavior
Use insert to generate code before selected code

Screenshots
Screenshot 2024-04-08 195724

Desktop (please complete the following information):

  • OS: Windows
  • Version: 0.0.2

Reporter's Organization
CA BLX

Additional context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.