You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\domark Use tabs instead of spaces at the beginning of the line.
186
+
\domark Use spaces instead of tabs at the beginning of the line.
187
+
188
+
\domark Use four spaces per each indentation level. 4 spaces = 1 tab
140
189
141
190
\notmark Do not mix tabs and spaces at the beginning of the line.
142
191
@@ -176,7 +225,7 @@ \subsection{Line-breaks}
176
225
x + 567567563 / 2121231 + foobar;
177
226
\end{verbatim}
178
227
179
-
\domark If necessary break line before operators, except parentheses.
228
+
\domark If necessary break line before operators, except parentheses and assignment (=).
180
229
\begin{verbatim}
181
230
string _text =
182
231
"this is a long string need to be"
@@ -188,6 +237,13 @@ \subsection{Line-breaks}
188
237
\end{verbatim}
189
238
190
239
\domark Put the closing parentheses in the same line with the last parameter, except curly braces.
240
+
\begin{verbatim}
241
+
int grantPermissions(
242
+
string user,
243
+
string password,
244
+
int id,
245
+
PersmissionSet permission )
246
+
\end{verbatim}
191
247
192
248
\domark If necessary prefer to start method calls in a new line.
193
249
@@ -202,8 +258,6 @@ \subsection{Line-breaks}
202
258
203
259
\subsection{Vertical spaces}
204
260
205
-
\notmark Do not put empty line around opening parentheses.
206
-
207
261
\domark Separate members in classes with an empty lines.
208
262
\begin{verbatim}
209
263
private
@@ -219,4 +273,12 @@ \section{Commenting}
219
273
220
274
\notmark Do not use block comments (/* */).
221
275
276
+
\appendix
277
+
278
+
\chapter{C\#}
279
+
280
+
\section{EditorConfig for Visual Studio}
281
+
282
+
For further details and \emph{some} automatic style and convention settings please use the \texttt{.editorcongif} file next to this document. It only contains Visual Studio and C\#{} specific settings. This file do not cover every details present in this documents and provided \emph{as is}.
0 commit comments