Comments (6)
@crankedguy - yep, this should be added on the google/yapf side. It's issued here google/yapf. when yapf support this feature, I'll update the bundled yapf.
from vscode-extension-yapf.
The extension didn't hang up. It's still running, and just do nothing modification if yapf package raise a exception for a file. But it will indeed report an error in yapf extension output channel cause I think most of people wonβt look at it unless the extension doesn't work.
from vscode-extension-yapf.
thanks for the info. great, only open since two months...
from vscode-extension-yapf.
@EeyoreLee The extension should still have error recovery without hanging + report an error to the user w/ stack trace in the Extension's output pane.
from vscode-extension-yapf.
@EeyoreLee The extension should still have error recovery without hanging + report an error to the user w/ stack trace in the Extension's output pane.
this is one of the main problems that this does not happen
edit : clarification, main problem is that it is simply hanging itself up and ignoring the whole file if such a line occurs
from vscode-extension-yapf.
@EeyoreLee You are right, I oversaw that in the specific output channel, however it is a bit of a burden that the whole file is affected by this,,, you cannot even disable that with # yapf: disable, yapf is just completely unusable for Python 3.12 at all then as far as I can see, if there is no other solution to circumvent that at least for portions of code
from vscode-extension-yapf.
Related Issues (20)
- yapf: input filenames did not match any python files - No formatting done. HOT 2
- Format Selection is formatting the entire file HOT 5
- Can we mention this in python extension blog? HOT 1
- Add a way to provide a path to a custom yapf executable HOT 1
- Trailing \ stripped when formatting in VS Code HOT 8
- Not working if there's ipython magic function in cell HOT 20
- Path to .style.yapf HOT 5
- Yapf formatter with devcontainers not sticking HOT 3
- Range Formatting HOT 6
- Trailing empty line added to end of file / notebook cell HOT 4
- Python 3.7 is not supported HOT 2
- Formatting will be break for jupyter on `FormatOnType` mode if there are some magic function
- The "yapf" extension is configured to format programs, but not "Python"-files. HOT 6
- Cannot start server HOT 3
- Formatter is constantly formatting HOT 5
- The new version format: {year}.{month}.1{day}{hour}{minute}{second} HOT 1
- Yapf formatting on type instead of on save HOT 4
- Keep getting the message "there is no formatter for 'python' files installed" HOT 3
- SyntaxError for a Python 3.7 conda environment HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-extension-yapf.