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
If the line (including indentation nut excluding semicolon) exceeds 80 characters then it gets reformatted and the last argument in a function will get a trailing comma.
This messes up the code.
which creates a runtime error due to the trailing comma.
The solutions currently is to either rewrite the code so that the length of the line is below 80 characters or remove the HTML extension. That might be a temporary solution for code you write yourself. But for other code it will just mess things up and become a big blocker for using Zed.
Check for existing issues
Describe the bug / provide steps to reproduce it
If the line (including indentation nut excluding semicolon) exceeds 80 characters then it gets reformatted and the last argument in a function will get a trailing comma.
This messes up the code.
becomes
which creates a runtime error due to the trailing comma.
The solutions currently is to either rewrite the code so that the length of the line is below 80 characters or remove the HTML extension. That might be a temporary solution for code you write yourself. But for other code it will just mess things up and become a big blocker for using Zed.
Environment
Zed: v0.153.7 (Zed)
OS: macOS 15.0.0
Memory: 18 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: