Tag Archives: code style

Export EditorConfig Code Style, Optimize References for SDK Projects, and More ReSharper 2019.1 EAP Updates

The latest ReSharper 2019.1 Early Access Preview (EAP) and Rider 2019.1 EAP builds come with a number of improvements to formatting and code cleanup. ReSharper can export code style settings to EditorConfig. In the editor, pressing backspace returns to the proper indent position … Continue reading

Posted in How-To's | Tagged , , , , | 11 Comments

A Look at what’s new in Rider 2018.3: Code Completion, TODO and More

We have already looked at the many new and improved features of Rider! Let’s look at even more available in the Rider 2018.3 version. We are going to look at what’s new in Code Completion with regards to Package references, configuration files and … Continue reading

Posted in How-To's | Tagged , , , | 5 Comments

Roslyn Analyzer Rulesets and stylecop.json support in Rider 2018.2

Code analysis is an important technique to keep our code clean, readable and free of defects. Besides its own code analysis features, Rider 2018.1 started to add support for Roslyn Analyzers, such as xunit.analyzers, which seamlessly blend into the familiar … Continue reading

Posted in How-To's | Tagged , , , , , | 5 Comments

Extending JavaScript/TypeScript code analysis with JSLint, ESLint, and TSLint

ReSharper and Rider come with code analysis and quick-fixes for JavaScript/TypeScript. In our latest 2018.2 releases, we’re extending the built-in code analysis rules with support for JSLint, ESLint, and TSLint static analysis tools! All of these linters help ensure our JavaScript and … Continue reading

Posted in How-To's | Tagged , , , , , , , | 2 Comments

Formatter comments and more in ReSharper and Rider 2018.2

Probably everyone has faced this issue once or twice: we’ve gone through all these options to find some proper formatting and code style settings. Most of our code looks pretty and clean now. But then, there are these few cases, … Continue reading

Posted in How-To's | Tagged , , , , | 1 Comment

You ain’t gonna use it! – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. After 10 weeks, it’s time to wrap up our series about code smells. Let’s go out with imprinting the acronym YAGUI in our … Continue reading

Posted in How-To's | Tagged , , , , | 3 Comments

Null pointers: an opportunity, not an exception – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. Last week, we looked more closely at using the classical object-oriented concept of inheritance in our code base. This week, we will look … Continue reading

Posted in How-To's | Tagged , , , , | 15 Comments

Code completion improvements in Rider 2018.2 EAP

In our latest Rider 2018.2 EAP (Early Access Preview) build, we made a number of improvements to code completion. The scoring engine from R# is now being used, resulting in better code suggestions. We’ve added code completion for scratch files, … Continue reading

Posted in How-To's | Tagged , , , , , | 7 Comments

Super SuperClasses – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. In our previous post, we looked at refactoring our code in a way that makes it more extensible, using dependency injection (DI) and … Continue reading

Posted in How-To's | Tagged , , , , | 7 Comments

Dependency injection doesn’t strictly require frameworks – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. Last week, we looked at using constructors vs. factory methods, and how sometimes factories can help make our code more readable. In this post, let’s … Continue reading

Posted in How-To's | Tagged , , , , | 13 Comments