From b0bd5203555812fa624af6fe6f23b6e237140900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Tue, 11 May 2021 14:08:56 +0200 Subject: [PATCH 1/5] Advertise some more compiler plugins --- _overviews/plugins/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_overviews/plugins/index.md b/_overviews/plugins/index.md index 91978ab80b..f24d7a2ef3 100644 --- a/_overviews/plugins/index.md +++ b/_overviews/plugins/index.md @@ -42,6 +42,7 @@ include: - Alternate compiler back ends such as [Scala.js](https://www.scala-js.org), [Scala Native](http://scala-native.org), and [Fortify SCA for Scala](https://developer.lightbend.com/docs/fortify/current/). - Linters such as [Wartremover](https://www.wartremover.org) and [Scapegoat](https://github.com/sksamuel/scapegoat). + - Plugins that support reformatting and other changes to source code, such as [scalafix](https://scalacenter.github.io/scalafix/) and [scalafmt](https://scalameta.org/scalafmt/) (which are built on the [semanticdb](https://scalameta.org/docs/semanticdb/guide.html) and [scalahost](https://github.com/Duhemm/scalahost) compiler plugins). @@ -54,6 +55,8 @@ include: such as the code coverage tool [scoverage](https://github.com/scoverage/scalac-scoverage-plugin). - Plugins that add metaprogramming facilities to Scala, such as [Macro Paradise](https://github.com/scalamacros/paradise). +- Plugins that modify existing Scala constructs in user code, +- such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/kubukoz/better-tostring). - Plugins that add entirely new constructs to Scala by restructuring user code, such as [scala-continuations](https://github.com/scala/scala-continuations). From 9aaff97197d191266ceb479c4273ca6b06b86492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Tue, 11 May 2021 18:54:24 +0200 Subject: [PATCH 2/5] Remove some non-plugins and outdated plugins scalafix/scalafmt aren't compiler plugins, scalahost isn't maintained. --- _overviews/plugins/index.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/_overviews/plugins/index.md b/_overviews/plugins/index.md index f24d7a2ef3..bbe52303a9 100644 --- a/_overviews/plugins/index.md +++ b/_overviews/plugins/index.md @@ -42,10 +42,6 @@ include: - Alternate compiler back ends such as [Scala.js](https://www.scala-js.org), [Scala Native](http://scala-native.org), and [Fortify SCA for Scala](https://developer.lightbend.com/docs/fortify/current/). - Linters such as [Wartremover](https://www.wartremover.org) and [Scapegoat](https://github.com/sksamuel/scapegoat). - -- Plugins that support reformatting and other changes - to source code, such as [scalafix](https://scalacenter.github.io/scalafix/) and [scalafmt](https://scalameta.org/scalafmt/) (which are - built on the [semanticdb](https://scalameta.org/docs/semanticdb/guide.html) and [scalahost](https://github.com/Duhemm/scalahost) compiler plugins). - Plugins that alter Scala's syntax, such as [kind-projector](https://github.com/typelevel/kind-projector). - Plugins that alter Scala's behavior around errors and warnings, such as [silencer](https://github.com/ghik/silencer). @@ -54,9 +50,9 @@ include: - Plugins that instrument user code to collect information, such as the code coverage tool [scoverage](https://github.com/scoverage/scalac-scoverage-plugin). - Plugins that add metaprogramming facilities to Scala, - such as [Macro Paradise](https://github.com/scalamacros/paradise). + such as [Macro Paradise](https://github.com/scalamacros/paradise), [semanticdb](https://scalameta.org/docs/semanticdb/guide.html). - Plugins that modify existing Scala constructs in user code, -- such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/kubukoz/better-tostring). + such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/kubukoz/better-tostring). - Plugins that add entirely new constructs to Scala by restructuring user code, such as [scala-continuations](https://github.com/scala/scala-continuations). From 44a51b2a142921c76f15e37ddb3a7278febab984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Tue, 11 May 2021 18:55:21 +0200 Subject: [PATCH 3/5] Add splain, clippy --- _overviews/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/plugins/index.md b/_overviews/plugins/index.md index bbe52303a9..5716ae07df 100644 --- a/_overviews/plugins/index.md +++ b/_overviews/plugins/index.md @@ -44,7 +44,7 @@ include: - Linters such as [Wartremover](https://www.wartremover.org) and [Scapegoat](https://github.com/sksamuel/scapegoat). - Plugins that alter Scala's syntax, such as [kind-projector](https://github.com/typelevel/kind-projector). - Plugins that alter Scala's behavior around errors and warnings, - such as [silencer](https://github.com/ghik/silencer). + such as [silencer](https://github.com/ghik/silencer), [splain](https://github.com/tek/splain) and [clippy](https://scala-clippy.org/). - Plugins that analyze the structure of source code, such as [Sculpt](https://github.com/lightbend/scala-sculpt) and [acyclic](https://github.com/lihaoyi/acyclic). - Plugins that instrument user code to collect information, From ecd45158161d338b373f6c450b09cf9af7ad709f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Mon, 17 May 2021 00:12:56 +0200 Subject: [PATCH 4/5] Rename better-tostring org --- _overviews/plugins/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/plugins/index.md b/_overviews/plugins/index.md index 5716ae07df..9e1b2015b7 100644 --- a/_overviews/plugins/index.md +++ b/_overviews/plugins/index.md @@ -52,7 +52,7 @@ include: - Plugins that add metaprogramming facilities to Scala, such as [Macro Paradise](https://github.com/scalamacros/paradise), [semanticdb](https://scalameta.org/docs/semanticdb/guide.html). - Plugins that modify existing Scala constructs in user code, - such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/kubukoz/better-tostring). + such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/polyvariant/better-tostring). - Plugins that add entirely new constructs to Scala by restructuring user code, such as [scala-continuations](https://github.com/scala/scala-continuations). From 3d94c2fb4c6df2b8db2bfda9209c5bd65aab64c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Wed, 2 Jun 2021 19:17:24 +0200 Subject: [PATCH 5/5] Update index.md --- _overviews/plugins/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_overviews/plugins/index.md b/_overviews/plugins/index.md index 9e1b2015b7..20b3508cf9 100644 --- a/_overviews/plugins/index.md +++ b/_overviews/plugins/index.md @@ -46,11 +46,10 @@ include: - Plugins that alter Scala's behavior around errors and warnings, such as [silencer](https://github.com/ghik/silencer), [splain](https://github.com/tek/splain) and [clippy](https://scala-clippy.org/). - Plugins that analyze the structure of source code, such as - [Sculpt](https://github.com/lightbend/scala-sculpt) and [acyclic](https://github.com/lihaoyi/acyclic). + [Sculpt](https://github.com/lightbend/scala-sculpt), [acyclic](https://github.com/lihaoyi/acyclic) and [graph-buddy](https://github.com/VirtusLab/graphbuddy). - Plugins that instrument user code to collect information, such as the code coverage tool [scoverage](https://github.com/scoverage/scalac-scoverage-plugin). -- Plugins that add metaprogramming facilities to Scala, - such as [Macro Paradise](https://github.com/scalamacros/paradise), [semanticdb](https://scalameta.org/docs/semanticdb/guide.html). +- Plugins that enable tooling. One such plugin is [semanticdb](https://scalameta.org/docs/semanticdb/guide.html), which enables [scalafix](https://scalacenter.github.io/scalafix/) (a well-known refactoring and linting tool) to do its work. Another one is [Macro Paradise](https://github.com/scalamacros/paradise) (only needed for Scala 2.12). - Plugins that modify existing Scala constructs in user code, such as [better-monadic-for](https://github.com/oleg-py/better-monadic-for) and [better-tostring](https://github.com/polyvariant/better-tostring). - Plugins that add entirely new constructs to Scala by