Giter Site home page Giter Site logo

Comments (11)

sheitmann avatar sheitmann commented on June 1, 2024 2

@fschmied
I'm using ImplicitNullability too because it contains more features and does not show me messages the other devs could misinterpret.
I used the built in version of R# only the few days ImplicitNullability wasn't available ;)

So keep up the great work @ulrichb :)

from implicitnullability.

sheitmann avatar sheitmann commented on June 1, 2024

ReSharper 2016.1 has a new option for null analysis mode:
Implicit [NotNull]: only when entity have explicit [CanBeNull] attribute (EXPERIMENTAL).

So the analysis itself seems now integrated into ReSharper itself, however not sure about the possible quick fix or additional checks and warnings ImplicitNullability provides.

from implicitnullability.

drewnoakes avatar drewnoakes commented on June 1, 2024

@sheitmann thanks very much. I'll check this out! It'd still be great to control this at the assembly level via an assembly attribute (see #3).

from implicitnullability.

ulrichb avatar ulrichb commented on June 1, 2024

I've just released a pre-release version with R# 2016.1 support.

from implicitnullability.

ulrichb avatar ulrichb commented on June 1, 2024

R# 2016.1 support has been added in v3.0.0.

from implicitnullability.

fschmied avatar fschmied commented on June 1, 2024

@sheitmann

ReSharper 2016.1 has a new option for null analysis mode:

However, this option doesn't allow being turned on for methods, but off for properties. This (besides the additional inspection warnings) is one benefit of still using ImplicitNullability.

from implicitnullability.

drewnoakes avatar drewnoakes commented on June 1, 2024

I did check out R#'s own implicit not-null and, as it says in the options dialog, it's definitely experimental. Plenty of false flags and gotchas. There's still a lot of room in this space.

The Roslyn team is also considering adding this to the language itself. This may be what motivated R# to add the option.

dotnet/roslyn#5032

TypeScript is shipping a good solution to nullability in the upcoming 2.0. I hope we'll see support in the language directly one day.

But that would still be several years off. There's definitely a need for this awesome extension.

So thanks again to @ulrichb :)

from implicitnullability.

ulrichb avatar ulrichb commented on June 1, 2024

@sheitmann, @drewnoakes Thanks!

Yeah. I'm also looking forward to seeing the "Non-nullable types" in TypeScript 2.0.

Unfortunately, the "Non-nullable ref types" in C# have been postponed to "C# 7 + 1" :(

from implicitnullability.

drewnoakes avatar drewnoakes commented on June 1, 2024

Seems that R# has now removed the experimental implicit not-null option. Thanks for continuing your work on this extension.

from implicitnullability.

ulrichb avatar ulrichb commented on June 1, 2024

In R# 2017.1 this option hasn't been completely removed. JB changed it to be available only in the "internal mode".

Just to be sure: Are you asking for a release of the 3.6.0 features for R# 2016.1? (I dropped R# 2016.1 support in the current version.)

from implicitnullability.

drewnoakes avatar drewnoakes commented on June 1, 2024

Interesting. I wondered whether it still respected the value in my .DotSettings file even if not in internal mode.

I'm on 2017.1 so am fine without 2016.1, thanks.

from implicitnullability.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.