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

Copying code from OI to VSCode gives bad indentation #909

Open
clickclack777 opened this issue Jan 12, 2024 · 1 comment · May be fixed by #976
Open

Copying code from OI to VSCode gives bad indentation #909

clickclack777 opened this issue Jan 12, 2024 · 1 comment · May be fixed by #976
Labels
Bug Something isn't working

Comments

@clickclack777
Copy link

Describe the bug

When copying code from OI to VSCode gives bad indentation. All indentations are off by two spaces. Looks like it is the markdown in OI that is creating the issue.

Reproduce

  1. Generate code in OI
  2. Copy code
  3. Paste it in VSCode

Expected behavior

Proper indentation when copy & pasting code from OI

Screenshots

Screenshot 2024-01-13 at 00 48 43

Open Interpreter version

0.2.0

Python version

3.11.7

Operating System name and version

Sonoma 14.2.1

Additional context

No response

@clickclack777 clickclack777 added the Bug Something isn't working label Jan 12, 2024
@clickclack777
Copy link
Author

clickclack777 commented Jan 18, 2024

It also created line breaks when pasting the code into VSCode that can't be repaired.

Screenshot 2024-01-18 at 21 09 59

@Notnaton Notnaton linked a pull request Feb 12, 2024 that will close this issue
6 tasks
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

Successfully merging a pull request may close this issue.

1 participant