xingwei.zhu
6 年前
当前提交
b2103118
共有 2 个文件被更改,包括 76 次插入 和 0 次删除
|
|||
########################################## |
|||
#### #### |
|||
#### EditorConfig for JetBrains Rider #### |
|||
#### #### |
|||
#### by Project UIWidget #### |
|||
#### #### |
|||
########################################## |
|||
|
|||
################# How to ################# |
|||
# |
|||
# (1) Code Cleanup |
|||
# |
|||
# Prepare: Preferences -> Manage Layers -> |
|||
# add a layer from UIWidgetCleanupPlugin. |
|||
# DotSettings to your personal layer |
|||
# |
|||
# Whenever want to clean-up, use |
|||
# Menu -> Code -> Code Cleanup -> UIWidget |
|||
# -> OK |
|||
# |
|||
# |
|||
# (2) Code Inspect |
|||
# Preferences -> Editor -> Inspection |
|||
# Settings -> select "Read settings from |
|||
# editorconfig..." |
|||
# |
|||
############################################ |
|||
|
|||
|
|||
#### !!!! EditorConfig Starts Here !!!! ##### |
|||
root = true |
|||
|
|||
# For CSharp Only |
|||
[*.cs] |
|||
|
|||
################ |
|||
# Code Cleanup # |
|||
################ |
|||
|
|||
# indents (4 spaces) |
|||
indent_style=space |
|||
indent_size=4 |
|||
|
|||
|
|||
# no requirement for converting type declaration to var |
|||
csharp_for_built_in_types=can_use_either |
|||
csharp_for_other_types=can_use_either |
|||
csharp_for_simple_types=can_use_either |
|||
|
|||
|
|||
# use this.{} for all instance members |
|||
csharp_instance_members_qualify_members=all |
|||
|
|||
|
|||
# all braces start at the end of a line |
|||
csharp_brace_style=end_of_line |
|||
|
|||
|
|||
# don't use 'private' whenever possible |
|||
csharp_default_private_modifier=implicit |
|||
|
|||
|
|||
# not requirement for converting named arguments into positioned arguments whenever possible |
|||
csharp_arguments_named=named |
|||
|
|||
|
|||
################### |
|||
# CODE INSPECTION # |
|||
################### |
|||
|
|||
# use this.{} for all instance members |
|||
resharper_arrange_this_qualifier_highlighting=error |
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> |
|||
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=UIWidget/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="UIWidget"><JsReformatCode>True</JsReformatCode><HtmlReformatCode>True</HtmlReformatCode><XMLReformatCode>True</XMLReformatCode><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="False" AddMissingParentheses="True" ArrangeBraces="True" ArrangeAttributes="True" ArrangeArgumentsStyle="False" ArrangeCodeBodyStyle="True" ArrangeVarStyle="False" /><CssReformatCode>True</CssReformatCode><VBReformatCode>True</VBReformatCode><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSReformatCode>True</CSReformatCode><CSUpdateFileHeader>True</CSUpdateFileHeader><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences><CSArrangeQualifiers>True</CSArrangeQualifiers><CSShortenReferences>True</CSShortenReferences><IDEA_SETTINGS>&lt;profile version="1.0"&gt; |
|||
&lt;option name="myName" value="UIWidget" /&gt; |
|||
&lt;/profile&gt;</IDEA_SETTINGS></Profile></s:String></wpf:ResourceDictionary> |
撰写
预览
正在加载...
取消
保存
Reference in new issue