Tag Archives: code style

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 , , , , , | 2 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

Every method begins with “new” – 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 additional ways of bringing the code language closer to the business language. Today, we will discuss the usage … Continue reading

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

Put it down in layman’s terms – 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. So far in this series about code smells, we’ve made the point that keeping the language of the code close to the language of the … Continue reading

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