Changeset View
Changeset View
Standalone View
Standalone View
.editorconfig
- This file was added.
1 | # https://editorconfig.org | ||||
---|---|---|---|---|---|
2 | root = true | ||||
gszymaszek: `https`, please 🙂 | |||||
3 | | ||||
4 | [*] | ||||
5 | charset = utf-8 | ||||
https://community.kde.org/Policies/Kdelibs_Coding_Style this style guide does not differentiate between different file types, note specific rules for specific file types can easily be added. lbergdoll: https://community.kde.org/Policies/Kdelibs_Coding_Style this style guide does not differentiate… | |||||
6 | end_of_line = lf | ||||
7 | indent_size = 4 | ||||
8 | indent_style = space | ||||
9 | insert_final_newline = true | ||||
10 | max_line_length = 100 | ||||
11 | trim_trailing_whitespace = true | ||||
lbergdoll: This is a recommendation and most editors do not enforce it. | |||||
12 | | ||||
13 | [*.md] | ||||
14 | trim_trailing_whitespace = false | ||||
lbergdoll: This has to do with markdown and the way it handles line breaks. | |||||
I think it’s better to suggest some line length limit in Markdown files as well, as it makes these files readable in plain text (incapable of Markdown previewing or of text soft wrapping, like mcedit) editors. Like it’s in cgit/syntax-highlighting/tree/README.md gszymaszek: I think it’s better to suggest some line length limit in Markdown files as well, as it makes… | |||||
gszymaszek: Is it really a good idea? |
https, please 🙂