Google Java Style Guidewhitespace characters in string and character literals are escaped. 2. Tab characters are not used for indentation. 2.3.2 Special escape sequences For any character that has a special escape sequence (\b, \t multiple blocks: if/else-if/else or try/catch/finally). Example: void doNothing() {} 4.2 Block indentation: +2 spaces Each time a new block or block-like construct is opened, the indent increases by two When there are multiple continuation lines, indentation may be varied beyond +4 as desired. In general, two continuation lines use the same indentation level if and only if they begin with syntactically0 码力 | 19 页 | 84.76 KB | 1 年前3
Google Python Style GuideDecorators Threading Power Features 1 Python Style Rules Semicolons Line length Parentheses Indentation Blank Lines Whitespace Shebang Line Comments Classes Strings Files and Sockets TODO Comments Imports 0/csv_file_name_extension_full_specification.html Make note of the indentation of the elements in the line continuation examples above; see the indentation section for explanation. Parentheses link Use parentheses bar() return foo for (x, y) in dict.items(): ... No: if (x): bar() if not(x): bar() return (foo) Indentation link Indent your code blocks with 4 spaces. Never use tabs or mix tabs and spaces. In cases0 码力 | 30 页 | 94.81 KB | 1 年前3
Pandoc User’s Guide (April 7, 2024)... indent if true, pandoc will use document class settings for indentation (the default LaTeX template otherwise removes indentation and adds space between paragraphs) linestretch adjusts line spacing ConTeXt Headers and Footers); repeat up to four times for different placement indenting controls indentation of paragraphs, e.g. yes,small,next (see ConTeXt Indenta- tion); repeat for multiple options 49 optional space, that space will be considered part of the block quote marker and not part of the indentation of the contents. Thus, to put an indented code block in a block quote, you need five spaces after0 码力 | 168 页 | 475.29 KB | 1 年前3
Google C++ Style Guidenamespace mynamespace { // All declarations are within the namespace scope. // Notice the lack of indentation. class MyClass { public: ... void Foo(); }; } // namespace mynamespace // In the .cc file namespace extensively). Spaces vs. Tabs Use only spaces, and indent 2 spaces at a time. We use spaces for indentation. Do not use tabs in your code. You should set your editor to emit spaces when you hit the tab key parenthesis and the open curly brace. • All parameters should be aligned if possible. • Default indentation is 2 spaces. • Wrapped parameters have a 4 space indent. Unused parameters that are obvious from0 码力 | 83 页 | 238.71 KB | 1 年前3
Google's R Style Guidename (or variableName), FunctionName, kConstantName 3. Line Length: maximum 80 characters 4. Indentation: two spaces, no tabs 5. Spacing 6. Curly Braces: first on same line, last on own line 7. else: match (e.g., lm). • kConstantName Syntax Line Length The maximum line length is 80 characters. Indentation When indenting your code, use two spaces. Never use tabs or mix tabs and spaces. Exception: When0 码力 | 8 页 | 47.42 KB | 1 年前3
The Weblate Manual 2.0translation do not both start with same number of spaces. Space in beginning is usually used for indentation in the interface and thus is important to keep. Trailing space Source and translated do not both /exports/stats/(string: project)/(string: component)/ Query Parameters: indent (integer) – pretty printed indentation jsonp (string) – JSONP callback function to wrap the data Retrieves statistics for given component0 码力 | 143 页 | 461.20 KB | 1 年前3
The Weblate Manual 2.2translation do not both start with same number of spaces. Space in beginning is usually used for indentation in the interface and thus is important to keep. Trailing space Source and translated do not both /exports/stats/(string: project)/(string: component)/ Query Parameters: indent (integer) – pretty printed indentation jsonp (string) – JSONP callback function to wrap the data Retrieves statistics for given component0 码力 | 160 页 | 473.95 KB | 1 年前3
The Weblate Manual 2.1translation do not both start with same number of spaces. Space in beginning is usually used for indentation in the interface and thus is important to keep. Trailing space Source and translated do not both /exports/stats/(string: project)/(string: component)/ Query Parameters: indent (integer) – pretty printed indentation jsonp (string) – JSONP callback function to wrap the data Retrieves statistics for given component0 码力 | 160 页 | 473.21 KB | 1 年前3
The Weblate Manual 4.8.1chars.BeginSpaceCheck ignore-begin-space A space in the beginning of a string is usually used for indentation in the interface and thus important to keep. Trailing newline Source and translation do not both keys indent JSON indentation style JSON indentation style Available choices: spaces – Spaces tabs – Tabs storage post-load Allows adjusting JSON output behavior, for example indentation or sorting. Formats in version 3.10.2. Add-on ID: Configuration: Triggers: weblate.yaml.customize indent YAML indentation width Long lines wrapping Available choices: 80 – Wrap lines at 80 chars 100 – Wrap lines at0 码力 | 772 页 | 10.93 MB | 1 年前3
The Weblate Manual 4.9chars.BeginSpaceCheck ignore-begin-space A space in the beginning of a string is usually used for indentation in the interface and thus important to keep. Trailing newline Source and translation do not both keys indent JSON indentation style JSON indentation style Available choices: spaces – Spaces tabs – Tabs storage post-load Allows adjusting JSON output behavior, for example indentation or sorting. Formats in version 3.10.2. Add-on ID: Configuration: Triggers: weblate.yaml.customize indent YAML indentation width Long lines wrapping Available choices: 80 – Wrap lines at 80 chars 100 – Wrap lines at0 码力 | 779 页 | 10.94 MB | 1 年前3
共 312 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32













