开发者

Resharper force line break before dot

开发者 https://www.devze.com 2023-03-06 23:55 出处:网络
How do you force line breaks before the dot? For example: Method开发者_StackOverflow中文版() .CallAnother()

How do you force line breaks before the dot?

For example:

Method开发者_StackOverflow中文版()
    .CallAnother()
        .AndAnother()

I also want to flow the following:

Bind<IService>().ToMethod(ctx => new DataRetrievalService()).InSingletonScope().Named(
            "LIVESERVICE");

As:

Bind<IDataRetrievalService>()
    .ToMethod(
        ctx => new AdobeDataRetrievalService())
    .InSingletonScope()
    .Named("LIVESEARCHRETRIEVALSERVICE");

This may be the same thing or it could be something different??


You can vote for this issue on the JetBrains YouTrack site for ReSharper. Hopefully if it garners enough support, it will be in the next minor release.

0

精彩评论

暂无评论...
验证码 换一张
取 消