-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a snippet for EditorConfig file content #50
Changes from 1 commit
d2b8acb
8bed168
1ec23fe
97e610d
e5d911f
3e8daa9
28b223c
9288d3c
fb861db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
root = ${1:true} | ||
|
||
[*] | ||
charset = ${2:utf-8} | ||
end_of_line = ${3:lf} | ||
indent_size = ${4:4} | ||
indent_style = ${5:space} | ||
insert_final_newline = ${6:true} | ||
trim_trailing_whitespace = ${7:true} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the same property ordering as here: https://github.com/sindresorhus/editorconfig-sublime#example-file There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can get all your default recommend settings. Can I add the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
]]></content> | ||
<tabTrigger>editorconfig</tabTrigger> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should probably set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, in fact I dropped the scope to ease fast creation of editorconfig. The scenario I was thinking was :
I don't know if the initial scope of ST can parameterized by user, that's why I didn't specified the scope. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
||
</snippet> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the configurability here. 99% of people would set it to
true
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done