You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No way to debug, or even see the output for commands and actions
Share the steps needed to reliably reproduce the problem. Please include actual and expected results. We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub.
I am seriously frustrated at the moment.
I just spent over 2 hours trying to get autopep8 to run when saving the file.
It ran fine when executed with ctrl-shift-p.
I could see the flashing autopep8 in the status bar
there was not output in any of the logs or the console window
The result is that I kept changing settings and trying again because I couldn't get any feedback about the problem.
My final solution was to rename my user settings file so only the workspace settings would be used. This is not at all user friendly.
I previously submitted an issue about settings #136068 that describes the problems with settings.
CPUs Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2904)
GPU Status 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled
Load (avg)
Memory (System) 31.74GB (8.77GB free)
Process Argv . --crash-reporter-id 99c965d6-d9dd-4aad-92e7-7948a08539da
Screen Reader no
VM 0%
It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!
First, I didn't think it was an extension problem. I though it was a vscode problem that there was no place for output.
Today I finally found the error output from trying to run autopep8 in The output pane after selecting Python in the dropdown. I'm not sure why I didn't see that before. Maybe I was too focused on logs.
As for deciding where to create the issue, when it comes to settings sometimes it is hard to tell what is part of an extension vs. used to control extensions.
I will give you an example to clarify what I mean. I finally got both formatting and sorting imports (formatting) working. It was easier once I found the output from running on save.
Without the default formatter set to ms-python.python (an extension) it won't work. I finally found this sentence in defaultsettings
"Defines a default formatter which takes precedence over all other formatter settings."
It had previously been set on editor, but that won't work if I have non python files that need a different default formatter.
I moved it into a Python language block and that work.
However, when I moved codeActionsOnSave to the Python block it didn't work.
I haven't found any place in the documentation that tells me which settings are language settings and which aren't.
I already figured out that "python.editor.tabSize" doesn't work because tabSize is a language setting and python.x.y is not a language setting even though it starts with a language.
The amount of time I waste when moving from one project to another with different languages is terrible and frustrating.
Also, it seems like every issue I report gets quickly closed without discussion and without a solution.
No way to debug, or even see the output for commands and actions
Share the steps needed to reliably reproduce the problem. Please include actual and expected results. We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub.
I am seriously frustrated at the moment.
I just spent over 2 hours trying to get autopep8 to run when saving the file.
It ran fine when executed with ctrl-shift-p.
The result is that I kept changing settings and trying again because I couldn't get any feedback about the problem.
My final solution was to rename my user settings file so only the workspace settings would be used. This is not at all user friendly.
I previously submitted an issue about settings #136068 that describes the problems with settings.
CPUs Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2904)
GPU Status 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled
Load (avg)
Memory (System) 31.74GB (8.77GB free)
Process Argv . --crash-reporter-id 99c965d6-d9dd-4aad-92e7-7948a08539da
Screen Reader no
VM 0%
Extension Author (truncated) Version
vscode-lark dir 0.1.0
comment-anchors Exo 1.9.6
auto-rename-tag for 0.1.10
Python-autopep8 him 1.0.2
volar joh 0.33.2
vscode-dependency-cruiser jua 0.0.1
vscode-format-context-menu lac 1.0.4
vscode-attrs-sorter mrm 2.1.0
vscode-duplicate mrm 1.2.1
python ms- 2022.2.1924087327
vscode-pylance ms- 2022.3.2
remote-containers ms- 0.224.3
remote-ssh ms- 0.76.1
remote-wsl ms- 0.64.2
vscode-remote-extensionpack ms- 0.21.0
(1 theme extensions excluded)
Preview on GitHub
The text was updated successfully, but these errors were encountered: