mdoc
coursier
mdoc | coursier | |
---|---|---|
4 | 10 | |
395 | 2,035 | |
0.3% | 0.3% | |
8.5 | 9.2 | |
14 days ago | 10 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mdoc
- Optimal decision-making with examples built using scala
-
Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
Literally what scaladoc is, it comes with sbt. Although, it's better when enhanced with mdoc so that you get the standard microsite template like these. It would be nice to have an sbt serveDocs and if everyone would host their docs for external linking, but javadoc doesn't do that either.
-
A Scala rant
The good news is that scaladoc is produced by default by sbt and published by default. So you can often pull it from the same repository your library jar came from, extract it with zip, and read the docs. But that's also totally unnecessary - javadoc.io allows you to put in your module info and serves the docs for you, so if there's an older version you can access the documentation this way. Rely on the type signatures, since they can't lie, whilst comments (including scaladoc comments) can. Honestly, library authors should be using mdoc and including examples on every public method, and that type of documentation is something you can almost always contribute to a project for a quick pr kudos.
-
The future of Scaladoc
I know it's not new but the "Snippet validation and results (mdoc)" features in mdoc are so cool. Really takes some of the tedium out of working with documentation since you can know that as you evolve your code the compiler will make sure you keep the docs in sync. Whole new level of Readme-Driven Development
coursier
-
babashka not working - Fatal error: Failed to create the main Isolate. (code 8)
This is an upstream page size issue, equivalent issue here: https://github.com/coursier/coursier/issues/2636
-
A new, reworked ScalaDoc is here!
I feel like this is already is the case, one can use coursier https://get-coursier.io/ or scala-cli to get started with Scala extremely fast.
-
Scala is close to having an amazing Jupyter Notebook experience for data science workflows
I had a nice workflow installing different Java versions using SDKMAN but switched to Coursier because that't what's recommended in the Almond installation guide. In order to run `jupter lab` and start up the notebook environment, I need to separately install Jupyter Lab via conda (and activate that conda environment).
-
Splitting software into multiple applications and libraries. Most practical ways!
Could a Java project use a similar scheme? Probably, but the practicality of that is dependent on programatic resolution tools like coursier which don't exist in a convenient form for Java programmers quite yet.
-
5 Useful Database Command Line Tools
Shell for issuing SQL to relational databases via JDBCIf you have Coursier installed, you can quickly connect to a demo Hypersonic database with:
-
Getting an error installing metals for lsp-mode
This seems the same thing: - https://github.com/oracle/graal/issues/4479 - https://github.com/coursier/coursier/issues/2395
-
Scala setup in Ubuntu
I use coursier to install scala. https://get-coursier.io/
-
Some Scala 3 local REPL changes
If you truly must avoid it, then take a look at coursier and ammonite: https://get-coursier.io/ and cs launch com.lihaoyi:ammonite_2.13.1:2.0.4 -M ammonite.Main
- Install Scala 3 on Mac m1
-
SBT CodeArtifact - An SBT plugin to publish artifacts to AWS CodeArtifact.
I'm digging a bit deeper on this Google Artifact Repository task and it looks like it won't. See https://github.com/coursier/coursier/issues/1987 for more details.
What are some alternatives?
sbt-mima-plugin - A tool for catching binary incompatibility in Scala
sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala
sbt-unidoc - sbt plugin to create a unified Scaladoc or Javadoc API document across multiple subprojects.
sbt-groll - sbt plugin to roll the Git history
sbt-docker - Create Docker images directly from sbt
sbt-updates - sbt plugin that can check Maven and Ivy repositories for dependency updates
sbt-dependency-graph - sbt plugin to create a dependency graph for your project
sbt-pack - A sbt plugin for creating distributable Scala packages.
sbt-codeartifact - An sbt plugin for publishing packages to AWS CodeArtifact.
sbt-microsites - An sbt plugin to create awesome microsites for your project
sbt-native-packager - sbt Native Packager