wilhelmeek / linear-ls

Linear Language Server

Home Page:https://www.npmjs.com/package/linear-ls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linear-ls

Linear Language Server

Installation

npm i -g linear-ls

neovim

If you use lspconfig, add the following:

if not lspconfigconfigs.linear_ls then
  lspconfigconfigs.linear_ls = {
    default_config = {
      cmd = { "linear-ls", "--stdio" },
      filetypes = { "typescript" },
      root_dir = function(fname)
        return lspconfig.util.find_git_ancestor(fname)
      end,
    },
}
end
lspconfig.lls.setup({
  capabilities = capabilities,
})

And have your Linear token sourced as LINEAR_API_KEY.

Features

Hover on Issues

Hovering on ticket identifier shows the ticket description.

image

Issue Completion

Typing team key, hyphen and search term (e.g. EUC-thing) triggers issue search. Selecting a result puts in a link to your issue.

image

Create Ticket from Text Selection

TODO

About

Linear Language Server

https://www.npmjs.com/package/linear-ls

License:MIT License


Languages

Language:TypeScript 100.0%Language:JavaScript 0.0%