![]() ![]() If solution-wide analysis is enabled, JetBrains Rider allows you to see even more code issues. The 'Pencils' widget helps you to configure highlighting and visual helpers for your code. The action list, which can be opened by pressing Alt+Enter or clicking the action indicator, contains a list of quick-fixes for the issue at the caret. High-priority code issues (in this case, errors related to an unresolved symbol and an incorrect return type) are highlighted with red text and a red curly underline.Ī marker corresponding to a suggestion is displayed on the error stripe. For more information, see Import missing namespaces.Ī marker corresponding to a warning is displayed on the error stripe.Ī marker corresponding to an error is displayed on the error stripe.Īction indicator that appears to the left of the caret position if JetBrains Rider has anything to suggest there. Simply press Alt+Enter or click this popup to have JetBrains Rider add the missing directive for all types in the file. Status indicator helps you to quickly see whether the current file has any code issues.Ĭode analysis hints make missing function returns, missing breaks in switch statements, and disposed resources easier to notice.Ī fix popup that appears for non-imported types. If solution-wide analysis is enabled, all files that contain errors are shown with highlighted tabs.Ī medium-priority code issue (in this case, a warning about a symbol name that does not match the naming style) is highlighted with a curly underline.Ī low-priority code issue (in this case, a suggestion related to an unused public member) is greyed out. In this example, we can see the following features of JetBrains Rider code inspection: To illustrate the design-time code inspection performed by JetBrains Rider, consider the following code excerpt displayed in the editor: ![]() Design-time inspection featuresĭesign-time inspection features is a major addition to the basic features of Rider editor. The map of the issues is also displayed on the error stripe in the right part of the editor window, where you can see instantly the status of the file and click the marks to navigate to specific code issues. All detected code issues are highlighted in the editor according to their severity levels. JetBrains Rider starts analyzing a code file as soon as you open it in the editor, all the way you edit it, until it is closed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |