# SonarLint for IntelliJ 4.7 released

**URL:** <https://community.sonarsource.com/t/sonarlint-for-intellij-4-7-released/23742>\
**Category:** Releases\
**Tags:** intellij, sonarqube-ide\
**Created:** [April 27, 2020, 4:13pm UTC](https://community.sonarsource.com/t/sonarlint-for-intellij-4-7-released/23742 "2020-04-27T16:13:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBL\_SonarSource](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jbl_sonarsource/32/64_2.png) [@JBL\_SonarSource](https://community.sonarsource.com/u/JBL_SonarSource)\
**Post date:** [April 27, 2020, 4:13pm UTC](https://community.sonarsource.com/t/sonarlint-for-intellij-4-7-released/23742/1 "2020-04-27T16:13:14Z")

</div>

Hi here, I’m pleased to announce that SonarLint :sonarlint: for IntelliJ 4.7 has just been published to the [JetBrains Plugin Repository](https://plugins.jetbrains.com/plugin/7973-sonarlint). The highlights of this version are:

- 2 new rules for Python, and improved accuracy thanks to the use of type information for builtins
- 2 new rules for Java, with significant performance improvements

We also fixed a few bugs, such as a compatibility issues with older versions of our TypeScript analyzer, and display of rule descriptions.

See the [release notes](https://sonarsource.atlassian.net/browse/SLI-383?jql=project%20%3D%2010120%20AND%20fixVersion%20%3D%2011964%20ORDER%20BY%20priority%20DESC%2C%20key%20ASC) for the full details.

---

<div class="post-metadata">

**Author:** ![tobiaspreuss](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tobiaspreuss/32/14320_2.png) [@tobiaspreuss](https://community.sonarsource.com/u/tobiaspreuss)\
**Post date:** [April 30, 2020, 9:43pm UTC](https://community.sonarsource.com/t/sonarlint-for-intellij-4-7-released/23742/2 "2020-04-30T21:43:16Z")

</div>

Hey. It would be useful to have the new rules being named or linked in the release notes. It is a bit cumbersome to find out which rules is new otherwise. Thanks.

---

<div class="post-metadata">

**Author:** ![JBL\_SonarSource](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jbl_sonarsource/32/64_2.png) [@JBL\_SonarSource](https://community.sonarsource.com/u/JBL_SonarSource)\
**Post date:** [May 4, 2020, 1:42pm UTC](https://community.sonarsource.com/t/sonarlint-for-intellij-4-7-released/23742/3 "2020-05-04T13:42:38Z")

</div>

Hey, thanks for the suggestion!

For this version, here are the new rules:

- Python:
  - [Arguments given to functions should be of an expected type](https://rules.sonarsource.com/python/RSPEC-5655)
  - [Functions and lambdas should not reference variables defined in enclosing loops](https://rules.sonarsource.com/python/RSPEC-1515)

- Java:
  - [Raw types should not be used](https://rules.sonarsource.com/java/RSPEC-3740)
  - [“@Deprecated” code marked for removal should never be used](https://rules.sonarsource.com/java/RSPEC-5738)

We’ll try to come up with something more accessible for next announcements - listing all new rules is OK when there are only a few of them like this time, but can be hard to read when there are more than a dozen.
