Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 2312073003: Issue 27078. Describe RefactoringProblemSeverity values. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/RefactoringProblemSeverity.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="UTF-8"/> 4 <meta charset="UTF-8"/>
5 <title>Analysis Server API Specification</title> 5 <title>Analysis Server API Specification</title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <h1>Analysis Server API Specification</h1> 8 <h1>Analysis Server API Specification</h1>
9 <h1 style="color:#999999">Version <version>1.17.0</version></h1> 9 <h1 style="color:#999999">Version <version>1.17.0</version></h1>
10 <p> 10 <p>
(...skipping 3595 matching lines...) Expand 10 before | Expand all | Expand 10 after
3606 </p> 3606 </p>
3607 </field> 3607 </field>
3608 </object> 3608 </object>
3609 </type> 3609 </type>
3610 <type name="RefactoringProblemSeverity"> 3610 <type name="RefactoringProblemSeverity">
3611 <p> 3611 <p>
3612 An enumeration of the severities of problems that can be 3612 An enumeration of the severities of problems that can be
3613 returned by the refactoring requests. 3613 returned by the refactoring requests.
3614 </p> 3614 </p>
3615 <enum> 3615 <enum>
3616 <value><code>INFO</code></value> 3616 <value>
3617 <value><code>WARNING</code></value> 3617 <code>INFO</code>
3618 <value><code>ERROR</code></value> 3618 <p>A minor code problem. No example, because it is not used yet.
3619 <value><code>FATAL</code></value> 3619 </p>
3620 </value>
3621 <value>
3622 <code>WARNING</code>
3623 <p>A minor code problem. For example names of local variables
3624 should be camel case and start with a lower case letter. Staring
3625 the name of a variable with an upper case is OK from the language
3626 point of view, but it is nice to warn the user.
3627 </p>
3628 </value>
3629 <value>
3630 <code>ERROR</code>
3631 <p>The refactoring technically can be performed, but there is a
3632 logical problem. For example the name of a local variable being
3633 extracted conflicts with another name in the scope, or
3634 duplicate parameter names in the method being extracted, or
3635 a conflict between a parameter name and a local variable, etc.
3636 In some cases the location of the problem is also provided, so
3637 the IDE can show user the location and the problem, and let the
3638 user decide whether she wants to perform the refactoring. For
3639 example the name conflict might be expected, and the user wants
3640 to fix it afterwards.
3641 </p>
3642 </value>
3643 <value>
3644 <code>FATAL</code>
3645 <p>A fatal error, which prevents performing the refactoring.
3646 For example the name of a local variable being extracted is not a
3647 valid identifier, or selection is not a valid expression.
3648 </p>
3649 </value>
3620 </enum> 3650 </enum>
3621 </type> 3651 </type>
3622 <type name="RemoveContentOverlay"> 3652 <type name="RemoveContentOverlay">
3623 <p> 3653 <p>
3624 A directive to remove an existing file content overlay. 3654 A directive to remove an existing file content overlay.
3625 After processing this directive, the file contents will once 3655 After processing this directive, the file contents will once
3626 again be read from the file system. 3656 again be read from the file system.
3627 </p> 3657 </p>
3628 <p> 3658 <p>
3629 If this directive is used on a file that doesn't currently 3659 If this directive is used on a file that doesn't currently
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
4508 This section contains a list of all of the errors that are 4538 This section contains a list of all of the errors that are
4509 produced by the server and the data that is returned with each. 4539 produced by the server and the data that is returned with each.
4510 </p> 4540 </p>
4511 <p> 4541 <p>
4512 TODO: TBD 4542 TODO: TBD
4513 </p> 4543 </p>
4514 <h2 class="domain"><a name="index">Index</a></h2> 4544 <h2 class="domain"><a name="index">Index</a></h2>
4515 <index></index> 4545 <index></index>
4516 </body> 4546 </body>
4517 </html> 4547 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/RefactoringProblemSeverity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698