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

Auto-indent not working in Jupyter Notebooks #925

Closed
sujaybokil opened this issue Jun 27, 2020 · 5 comments
Closed

Auto-indent not working in Jupyter Notebooks #925

sujaybokil opened this issue Jun 27, 2020 · 5 comments
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@sujaybokil
Copy link

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Write a function\class definition e.g. def func(a, b):
  2. Press Enter

Actual behavior (cursor position)

image

Expected behavior (cursor position)

image

NOTE: This issue wasn't present till the most recent update

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local
  • Extension version: 2020.06.90262
  • VS Code version: 1.46
  • Setting python.jediEnabled: false
  • Setting python.languageServer: None
  • Python and/or Anaconda version: 4.8.3 (python 3.7.7)
  • OS: Windows 10
  • Virtual environment: conda

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

@dmtryzarubin
Copy link

same problem

@FanusArefaine
Copy link

Same Problem

@hopezh
Copy link

hopezh commented Jun 28, 2020

same problem here...

@FanusArefaine
Copy link

I fixed the issue after I completely wiped vscode and install again (Installed Feb2020 update)

steps to wipe off vs code completely:

sudo can be added (on mac) in front

  1. rm -rf $HOME/Library/Application\ Support/Code
  2. rm -rf $HOME/.vscode
  3. remove the application
  4. download the. app again
  5. Install

mine worked, hopefully yours will.

@joyceerhl
Copy link
Contributor

Thanks for reporting this, everyone! We have merged a fix for this (#12428), and while that fix will become available in the next release, you can get it now by installing the Insiders build of VS Code and opting into daily or weekly updates from the Python extension. We are already tracking this bug in microsoft/vscode-python#12389, so I'm closing this as a duplicate of that issue. Hope this helps and sorry for the trouble!

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 11, 2020
@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Nov 11, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

6 participants