This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cdcea53
Showing
31 changed files
with
2,904 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# License | ||
|
||
***TaSp*** - Consistent file indentation tool | ||
|
||
Copyright © 2018 by Ralf Kilian | ||
|
||
Distributed under the *MIT License*: | ||
|
||
``` | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# *TaSp* <img src="tasp.png" alt="TaSp logo" height="48px" width="48px" align="right"/> | ||
|
||
**Table of contents** | ||
* [Definition](#definition) | ||
* [Details](#details) | ||
* [Requirements](#requirements) | ||
* [Documentation](#documentation) | ||
* [Contact](#contact) | ||
* [Useless facts](#useless-facts) | ||
|
||
---- | ||
|
||
## Definition | ||
|
||
The *TaSp* project consists of two simple components to replace tabs with spaces (or vice versa) for a consistent indentation method inside files and also to consistently indent messed up files. | ||
|
||
[Top](#tasp-) | ||
|
||
## Details | ||
|
||
When many different people work on the same text, config or code file, the indentation inside sometimes gets messed up because some people did not follow the instructions and different text editors with different indentation settings (spaces or tabs) were used. | ||
|
||
Depending on the preferences set up in the text editors, these will represent the tabs differently on the screen. | ||
|
||
For example, a user who prefers a tab with the width of eight spaces and which is saved as tab character creates a file. When another user who prefers a tab with the width of four spaces opens that file, the indentation may look messed up to him. | ||
|
||
Some people prefer saving tabs as spaces. Instead of saving tabs with the tab character, the tab will be saved with a user-defined amount of spaces (e. g. four spaces for one tab). So, no matter what the preferred tab width is, the indentation looks identical in every text editor. | ||
|
||
Every user has his own preferences or specifications what type of indentation to use. To avoid a complete mess, tab and space indentations basically should not get mixed inside a file. Depending on the amount and size of the files, manually adjusting the used indentations sometimes takes quite some time. | ||
|
||
For consistent indentation *TaSp* provides two simple components. Further information can be found inside the [wiki](https://github.com/urbanware-org/tasp/wiki). | ||
|
||
On April 2018 the project has officially been discontinued. Details can be found [here](https://github.com/urbanware-org/tasp/wiki#end-of-life). | ||
|
||
[Top](#tasp-) | ||
|
||
## Requirements | ||
|
||
In order to run *TaSp*, the *Python* framework must be installed on the system. | ||
|
||
Depending on which version of the framework you are using: | ||
|
||
* *Python* 2.x (version 2.7 or higher is recommended, may also work with earlier versions) | ||
* *Python* 3.x (version 3.2 or higher is recommended, may also work with earlier versions) | ||
|
||
[Top](#tasp-) | ||
|
||
## Documentation | ||
|
||
Inside the `docs` sub-directories there are plain text files containing the documentation for each component with further information and usage examples. | ||
|
||
[Top](#tasp-) | ||
|
||
## Contact | ||
|
||
As mentioned above, this project has been discontinued. For this reason, no new features will be implemented, existing features will not be enhanced and remaining bugs will not be fixed either. | ||
|
||
However, if you have questions about it, you can contact me by sending an email to <[email protected]>. | ||
|
||
[Top](#tasp-) | ||
|
||
## Useless facts | ||
|
||
* The project name is an abbreviation for ***Ta****bs* *and* ***Sp**aces*. | ||
* The first version uploaded on *GitHub* was *TaSp* 2.0.10 built on April 7<sup>th</sup>, 2018. | ||
* Before uploading, the project has neither been changed nor even touched for more than three years. | ||
|
||
[Top](#tasp-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
|
||
CHANGELOG (TaSp) | ||
|
||
Version 2.0.10 (2018-04-07) | ||
|
||
+ Added new versions of the Clap and PaVal core modules (replaced the | ||
existing ones). | ||
|
||
* Revised (refurbished) all components of the project in general | ||
(negligible changes). | ||
|
||
Version 2.0.9 (2015-04-04) | ||
|
||
+ Added an optional command-line argument to the Tasp Indent component | ||
to left-justify the line if it only consists of a single character. | ||
|
||
* Revised (renamed) the command-line argument for the padding used to | ||
indent (for more clarity). | ||
* Revised the description of some command-line arguments inside the | ||
TaSp Indent script. | ||
|
||
Version 2.0.8 (2015-01-24) | ||
|
||
* Revised some code inside the TaSp Indent as well as the TaSp Replace | ||
core module (negligible changes). | ||
* Revised the confirmation prompt inside the TaSp Common core module. | ||
* Revised the description of some command-line arguments inside the | ||
TaSp scripts (for more clarity). | ||
|
||
Version 2.0.7 (2014-03-22) | ||
|
||
* Revised (reduced) some code inside the TaSp Common and TaSp Indent | ||
core module. | ||
* Revised the confirmation prompt inside the TaSp Common core module. | ||
* Revised the output of the verbose mode of the TaSp scripts (added | ||
some blank lines). | ||
|
||
Version 2.0.6 (2014-03-13) | ||
|
||
+ Added an error handler to the TaSp scripts in case no command-line | ||
argument parser can be initialized. | ||
|
||
* Revised the output messages of the verbose mode (added some further | ||
status messages). | ||
|
||
Version 2.0.5 (2014-03-08) | ||
|
||
* Revised the description of further command-line arguments inside the | ||
TaSp scripts (for more consistency as well as more clarity). | ||
* Revised the output messages of the verbose mode (added file numbers | ||
for basic progress information). | ||
|
||
Version 2.0.4 (2014-03-05) | ||
|
||
+ Added an optional command-line argument to enable verbose mode for | ||
the TaSp scripts. | ||
|
||
* Revised the description of some command-line arguments inside the | ||
TaSp scripts. | ||
* Revised the method to print a text box inside the TaSp Common core | ||
module (which reduced some code). | ||
|
||
Version 2.0.3 (2014-02-19) | ||
|
||
+ Added a confirmation prompt before overwriting any input files. | ||
+ Added an optional command-line argument to skip the confirmation | ||
prompt and instantly process the data (for scripting purposes). | ||
|
||
Version 2.0.2 (2014-02-11) | ||
|
||
* Revised the handling of temporary files inside the TaSp Indent and | ||
TaSp Replace core module. | ||
|
||
- Removed some unnecessary module imports from all project modules. | ||
|
||
Version 2.0.1 (2014-02-05) | ||
|
||
* Revised the description of some command-line arguments inside the | ||
TaSp Indent script. | ||
* Revised the method to indent each line inside the TaSp Indent core | ||
module (which reduced some code). | ||
|
||
# Fixed the indentation bug inside the TaSp Indent core module (some | ||
lines have not been indented correctly). | ||
|
||
Version 2.0.0 (2014-02-04) | ||
|
||
* First official release of this major version. | ||
|
Empty file.
Oops, something went wrong.