After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786620 - Add a .editorconfig file to the project's root directory
Add a .editorconfig file to the project's root directory
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-22 15:46 UTC by Al Thomas
Modified: 2017-08-23 06:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add .editorconfig file (934 bytes, patch)
2017-08-22 15:46 UTC, Al Thomas
none Details | Review
Updated patch, with fixed indent_size removed (917 bytes, patch)
2017-08-22 16:18 UTC, Al Thomas
committed Details | Review

Description Al Thomas 2017-08-22 15:46:15 UTC
Created attachment 358165 [details] [review]
Add .editorconfig file

EditorConfig (http://editorconfig.org/) has become the
de facto standard for defining the use of white space in
project files. Code editors then choose the right
settings automatically when a file is edited.
Comment 1 Jürg Billeter 2017-08-22 16:01:39 UTC
Review of attachment 358165 [details] [review]:

::: .editorconfig
@@ +7,3 @@
+[*.{vala,vapi,gs,metadata}]
+indent_style = tab
+indent_size = 4

indent_size should not be specified. Users can edit files using their preferred indentation width.
Comment 2 Al Thomas 2017-08-22 16:18:26 UTC
Created attachment 358171 [details] [review]
Updated patch, with fixed indent_size removed