Skip to content

Restuta/PostfixCompletion

 
 

Repository files navigation

Simple ReSharper code completion/templating plugin.

The idea is to prevent caret jumps backwards while typing C# code.

Download

Version debug release
ReSharper 7.0 debug release
ReSharper 8.0 debug release

Available templates

Iterting over all kinds of collections, reverse iteration:

foreach

Wrapping up boolean expressions with if-statement:

if/ifnot

Checking nullable expressions for null:

null/notnull

Surrounding IDisposable expressions with using-statemenet:

using

Awaiting expressions of 'Task' type:

await

.var

.field

.not

.return

.throw

.while/.whilenot

Future work

.check

.yield

.field

.switch

.format

collections:

.ifempty/empty

.ifsingle/single

.ifnonempty

types:

int.list => List?

Foo.new => new Foo()

Feedback

alexander.shvedov[at]jetbrain.com

About

PostfixCompletion plugin for JetBrains ReSharper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published