Giter Site home page Giter Site logo

coc-marketplace's Introduction

coc-marketplace

coc.nvim extensions marketplace.

  • search keywords:coc.nvim from npmjs.com, display extensions in coc-lists
  • extension name starts with means installed already, with an uninstall action
  • extension name starts with x means uninstalled, with an install action
  • extension name ends with * is published by @chemzqm, IMO, is official

coc-marketplace

Install

:CocInstall coc-marketplace

Usage

  • :CocList marketplace list all available extensions
  • :CocList marketplace python to search extension that name contains python
  • You can tab on an extension to do install, uninstall, homepage actions.

Configurations

License

MIT

coc-marketplace's People

Contributors

dependabot-preview[bot] avatar fannheyward avatar mergify[bot] avatar ultirequiem avatar voldikss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coc-marketplace's Issues

Questions & Suggestions

大佬我说几点自己的建议:

  1. * 感觉放在前面会整齐一点,而且直观一点

  2. 另外还有个问题就是仅需要查看已安装或仅查看没安装的扩展,此时输入 进行过滤可能不太方便,有没有其他更好的解决方案呢?

  3. extension 的名字可以带上版本号(虽然没什么用貌似)

  4. 给页面加上点高亮会更好,像下面这样说明部分用浅色,名称用亮色

2019-06-03 22-42-03 的屏幕截图

Don't show or warn about archived repo

For example coclist marketplace python will show coc-python*

The user will probably assume coc-python* is the better extension (instead of coc-pyright) because of the star, but coc-python is archived.

Doesn't work behind proxy

Hi there.

I use marketplace at home okay but in the office all I get is this:

image

It never expands to the full list of extensions and searches don't work. The only difference is at work I have a proxy configured. I can get the same result at home when blocking registry.npmjs.com on the firewall.

Currently you're using fetch:

const resp = (await fetch(uri)) as any;

After quick search I'd propose to use fetch-with-proxy which seems to respect system settings and environment variables (example from the website, I don't code in TypeScript):

import fetch from 'fetch-with-proxy';
// ...
fetch(uri)
      .then((response) => response.text());
      .then(console.log)
      .catch(console.error)

You've done a wonderful job, just one suggestion...

Add (or document) mappings

If you have mappings for this, I was unable to find them even in the code. The
ability to both view details of and uninstall or deactivate extensions from the
marketplace plugin would make it far more useful. Right now, the only thing I
know how to do with this plugin is install extensions. Every action I take
after that, just installs them again.

I see where the actions have been added
but no mappings.

I could spend more time at this point figuring out exactly how to map the
actions through CocList but I just don't much time at all and you probably
already know how.

note: I use marketplace through CocList like so:

nnoremap <silent><nowait> <space>m  :<C-u>CocList marketplace<cr>

Possible to install with plugin manager

I'm trying to use minpac to install coc.nvim extensions.

Right now I'm doing this . . . (Note that this a much shorter than the actual)

call minpac#add('neoclide/coc.nvim', {'branch': 'release'})
call minpac#add('fannheyward/coc-marketplace', {'do': 'silent !yarn install --frozen-lockfile'})
call minpac#add('neoclide/coc-git', {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-tsserver', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-html', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-json', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
if executable('ra_lsp_server')
	call minpac#add('fannheyward/coc-rust-analyzer', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
elseif executable('rls')
	call minpac#add('neoclide/coc-rls', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
endif

I have installed the extensions as the wik says here and minpac told me it's installed but I unable to run :CocList marketplace.

Running :CocList extensions it show me all off my extensions that should be loaded followed by [RTP], then version, then their path. coc-marketplace loads as enabled.

SSL version error

Got below error when using a proxy

2019-08-05T09:47:47.574 ERROR (pid:15235) [list-manager] - { Error: write EPROTO 4401731008:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:252:

coc-settings.json:

{
  "http.proxy": "proxyserver:8000",
  "http.proxyStrictSSL": false
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.