Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.78 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.78 KB

Scaladex search

This humble vscode plugin adds a "Scaladex search" action that lets you search for Scala libraries and store them in your clipboard, ready to paste in (depending on which file is open):

  • SBT build definitions
  • mill build definitions
  • bleep build definitions
  • ammonite scripts
  • scala-cli scripts
  • scala files

demo

Installation

Install the extension from the Marketplace

Instructions

  1. Open the command palette
  2. Select "Scaladex search"
  3. type the name of a Scala library and press enter
  4. Select the library you're looking for
  5. Select one or more artifacts
  6. Select an artifact version
  7. CTRL-V wherever

Development

The plugin is written in Scalajs.

To run VSCode in an Extension Development Host (useful for manual testing), run sbt open.

See pme123/vscode-scalajs-hello for more developent instructions.

Refs:

Packaging / publishing

You need a local install of NodeJS with NPM. Install VSCode extension manager with:

npm install -g @vscode/vsce

Then use:

sbt fullOptJS
vsce package
vsce publish