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

Format Document not responding. #8125

Open
ttSpace opened this issue Jan 3, 2025 · 2 comments
Open

Format Document not responding. #8125

ttSpace opened this issue Jan 3, 2025 · 2 comments
Assignees

Comments

@ttSpace
Copy link

ttSpace commented Jan 3, 2025

Describe the bug

Image

Steps to Reproduce

  1. Create a Python Application.
  2. Check Formatter (Tools/Options/Text Editor/Python/Formatting) is black (default).
  3. Type
#####this is a comment
import os,sys;
spam( ham [ 1 ], { eggs: 2 } )
def foo ():pass
x=1;y     =2;
y = 2
  1. Go to Edit > Advanced >Format Document, make sure below dialog prompted to install the formatter.

Image

Expected behavior

Prompted to Install Formatter.

Additional context and screenshots

No Response.

Image

@StellaHuang95
Copy link
Contributor

@ttSpace I wasn't able to repro on Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.13.0 Preview 3.0 [35702.167.main]. Are you saying that the dialog that prompts to install black is not popping up? That could be because black already exists in the environment, does the file get formatted?

@ttSpace
Copy link
Author

ttSpace commented Jan 6, 2025

@StellaHuang95 The dialog box did not appear, and the file remained unchanged. BTW, black is not included in the environment.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants