-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue_891] give more space for Files column (#933)
* [issue_891] give more space for Files column + put columns width magic numbers into some consts * [issue_891] adjust .gitignore * [issue_891] adjust column widths for all places New consts for that are moved into dedicated consts file
- Loading branch information
1 parent
1770db0
commit 1428a7e
Showing
7 changed files
with
85 additions
and
24 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 |
---|---|---|
@@ -1,12 +1,41 @@ | ||
# Created by https://www.toptal.com/developers/gitignore/api/rust | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=rust | ||
|
||
### Rust ### | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
debug/ | ||
target/ | ||
|
||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
Cargo.lock | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# MSVC Windows builds of rustc generate these, which store debugging information | ||
*.pdb | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/rust | ||
|
||
|
||
### IDE ### | ||
.vscode | ||
target | ||
src/test | ||
.settings | ||
.commit_message | ||
*.bk | ||
*.rustfmt | ||
.idea/ | ||
*.iml | ||
|
||
### Other ### | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# settings | ||
.settings | ||
.tokeirc | ||
|
||
# benchmark | ||
results.csv | ||
|
||
node_modules | ||
*.code-workspace |
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
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
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,12 @@ | ||
// Set of common pub consts. | ||
|
||
pub const FALLBACK_ROW_LEN: usize = 81; | ||
|
||
// Column widths used for console printing. | ||
pub const LANGUAGE_COLUMN_WIDTH: usize = 10; | ||
pub const PATH_COLUMN_WIDTH: usize = 80; | ||
pub const FILES_COLUMN_WIDTH: usize = 8; | ||
pub const LINES_COLUMN_WIDTH: usize = 12; | ||
pub const CODE_COLUMN_WIDTH: usize = 12; | ||
pub const COMMENTS_COLUMN_WIDTH: usize = 12; | ||
pub const BLANKS_COLUMN_WIDTH: usize = 12; |
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
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
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