Metals
coc-metals
Our great sponsors
Metals | coc-metals | |
---|---|---|
18 | 3 | |
2,017 | 168 | |
0.9% | - | |
9.8 | 5.7 | |
5 days ago | almost 2 years ago | |
Scala | TypeScript | |
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.
Metals
-
Reconnecting with Scala. What's new?
Links: - https://dotty.epfl.ch/ - https://scala-native.org/en/stable/ - https://www.scala-js.org/ - https://typelevel.org/ - https://zio.dev/ - https://github.com/scala-native/scala-native/pull/3120 - https://github.com/lampepfl/dotty/pull/16517 - https://dotty.epfl.ch/docs/reference/experimental/index.html - https://scala-cli.virtuslab.org/ - https://scalameta.org/metals/ - https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html - https://www.scala-lang.org/blog/2023/04/18/faster-scalajs-development-with-frontend-tooling.html - https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html
-
Tmux, NeoVim, etc. to write pure Kotlin code?
You might want to look at Scala, they have proper LSP support with metals which means you can write your code in vscode, neovim, emacs, or even fleet (the new jetbrains text editor).
-
New plugin to support LSP file operations
Please write in the comments if you know of any language servers I should test it with. Currently I tested only metals and rust-analyzer.
-
Why are all the guides on using LSP functionality full of bloat?
If you are using nvim-lspconfig you can pass the settings as a Lua table to the setup function. For example, here are may metals settings:
- Type-Signature.com
-
What is the one thing you need everyday to make your job easier?
Bazel support in Metals. I didn't spend all that time figuring out and adjusting Emacs/Spacemacs and making my workflow (almost) mouse-free just to scrap my config and switch to IDEA's rodent infested ways.
-
Scala 2.13.9 is here
There is one small issue involving code completion returning inappropriate completions in some cases; https://github.com/scalameta/metals/pull/4414 will fix it, once it's included in a release. Perhaps that's the PR you saw?
-
Scala Isn't Fun Anymore
It is, by quite a bit.
While the "Scala IDE" project is dead for all practical purposes, IntelliJ IDEA's Scala plugin is actually pretty amazing. There's also a VisualStudio plugin that does pretty much the same and is advancing by leaps and bounds. There are also interconnecting projects that provide i.e. language server or build server that are reused by other projects. It's pretty modular. Metals (https://scalameta.org/metals/) is amazing.
In general the language has become a wee bit faster to build, there was good progress with build times during the 2.12/2.13 cycles.
With Scala3 the language got a bit simpler; concepts that were implemented explicitly using (hehe) implicits got their own keywords and a lot of the opinionated boilercode that cause a lot of debates is now generated during complication and hidden. A lot of "standardization" has occurred.
- A Python-compatible statically typed language erg-lang/erg
-
What is your favorite programming language?
Have a look at https://scalameta.org/metals/
coc-metals
- Scala - what is best development setup?
-
Special Scala in Vim stream this Saturday
Hello Everyone! This Saturday the 10th at 3pm CEST I'll be doing a special livestream where I walk through setting up Metals to use with Vim and go over all the features. We'll look also look at the differences between coc-metals and nvim-metals. If you've ever been curious about Scala development in Vim, or just want to see Metals in another context, feel free to come hang out, lob questions at me, or just talk Metals and/or Vim.
-
Anybody else feel built in LSP still lacking behind CoC?
From my experience with maintaining a coc plugin, coc-metals and also a new nvim lsp focused plugin, nvim-metals, I'd say in general, yea it has a ways to go yet before an average user feels it's as stable as coc is.
What are some alternatives?
intellij-plugins - Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform
Jupyter Scala - A Scala kernel for Jupyter
sbt - sbt, the interactive build tool
bloop - Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.
Scalastyle - scalastyle
dotty - The Scala 3 compiler, also known as Dotty.
intellij-scala-bundle - IntelliJ Scala Bundle - get started with Scala in a single click!
scalajs-benchmark - Benchmarks: write in Scala or JS, run in your browser. Live demo:
scala - Scala 2 compiler and standard library. Bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3
scala-trace-debug - Macro based print debugging. Locates log statements in your IDE.
Wartremover - Flexible Scala code linting tool