xCode plugin which indent the source code with save
by Thilina Chamin Hewagama
1) Download the project
2) Build
3) Quit xCode & Re-Launch
Note: Tested with xCode 6.4 (supports xCode 6 & above)
xCode plugin which indent the source code when save
The plugin shouldn't align empty lines if the "Automatically trim trailing whitespace" / "Include whitespace-only lines" option is enabled. This leads to lots of warnings when you're using Swiftlint for example.
e.g
static func loginUser() {
...
}
static func logoutUser() {
...
}
becomes
static func loginUser() {
...
}
**--------**
static func logoutUser() {
...
}
When installed with Alcatraz i find myself having to reinstall it basically every day. Anyone else having this issue?
Since last update, AutoIndentWithSave stopped working
We are using uncrustify and BBUncrustify plugin to format Objective-C code.
For Swift, however, we would like to use Auto Indent With Save.
So the feature request is to add a setting for plugin to configure file extensions for which the plugin should work. This way we can use it for Swift only, for Objective-C we will use uncrustify.
How to uninstall this package?please
Xcode 7.2 Beta 2 Compatibility? When will this be out?
I know that when using Ctrl+I to re-indent in Xcode sometimes the code is jumping (scrolled) somewhere else. This is very inconvenient when using the plugin and saving the file while typing. The place I am currently writing disappears off-screen and I have to search for it again. Is there some solution that can keep the current position of the scroller or the current line where the cursor is?
can you please update the plugin that work with xcode 7 with Swift 2 and Later versions , thanks for the Plugin by the way
Modified Xcode 8 with MakeXcodeGr8Again, AutoIndentWithSave freezes Xcode, another package XXIndentOnSave also seems to freeze Xcode.
I've tested both white space trimming and trimming blank lines and it doesn't occur.
Whenever I use Xcode's re-indent feature, it trims all the whitespaces if I chose it in the settings.
When I use the plugin, each time I save the file it adds unneeded tabs for each blank line...
I would expect the plugin to do the same thing as Xcode's re-indent feature.
Those tabs are absolutely not needed and should not be added.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.