Comments (2)
Hi @JuanSeBestia, thank you for your bug report.
Are you using macOS or Linux?
What happens if you run /usr/local/bin/swiftformat
in your terminal?
If you updated/changed your swift version you might need to recompile swiftformat
from vscode-swiftformat.
This has probably been related to wrong rpath configuration on Linux or the use of the command line toolchain instead of Xcode‘s on macOS
Closing due to inactivity. If you experience the same issue, feel free to comment or reopen this issue.
from vscode-swiftformat.
Related Issues (20)
- End of file newline is removed HOT 4
- Option to keep semicolons HOT 4
- Better handling of indentation
- Strange logic for calling swiftformat "--config .swiftformat --indent 4"???? HOT 1
- How is swiftformat.options configured? HOT 4
- Headers with variables don't work HOT 2
- Always adds `--header "// Created {created}"` to format command HOT 4
- Add configuration option to only run swift format when a .swiftformat file exists HOT 2
- SwiftFormat failed. error: File not found HOT 2
- Report ENOTDIR spawnSync /usr/bin/env/swiftformat ENOTDIR HOT 3
- Report ENOBUFS spawnSync /usr/bin/env ENOBUFS HOT 1
- Report EPIPE spawnSync /usr/bin/env EPIPE HOT 1
- Not working when swift project is inside /src HOT 2
- Better Format Selection HOT 4
- The default swiftformat.path value is invalid on Windows HOT 1
- Not working in SPM project HOT 1
- add windows suport HOT 4
- Report Command failed: /usr/local/bin/swift-format stdin --stdinpath /Users/quseasaif/Documents/Code/xcode/Little Lemon/Little Lemon/Menu.swift --indent 2Error: Unknown option '--stdinpath'Usage: swift-format format [--in-place] [--configuration <configuration>] [--assume-filename <assume-filename>] [--recursive] [--ignore-unparsable-files] [--parallel] [--color-diagnostics] [--no-color-diagnostics] [<paths> ...] See 'swift-format format --help' for more information. HOT 1
- SwiftFormat hanging for long time HOT 3
- Error: SwiftFormat failed. error: Cannot combine stdin with other file inputs.
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-swiftformat.