-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(extensions): allow github extensions to be installed through development mode #5002
feat(extensions): allow github extensions to be installed through development mode #5002
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5002 +/- ##
==========================================
- Coverage 98.56% 98.55% -0.02%
==========================================
Files 273 273
Lines 26072 26074 +2
Branches 5390 5390
==========================================
- Hits 25698 25697 -1
- Misses 218 222 +4
+ Partials 156 155 -1 ☔ View full report in Codecov by Sentry. |
6d362d0
to
7ae5ff3
Compare
Similar discussion #4960 I'd like to recommend to use plugin manager to install extensions that not published to npm yet. Something like This fix treats the URL The primary use of |
Hi Thanks for taking a look, The main reason i would like to have coc manage this instead of a plugin manager, is first most package managers do not provide an api to do this programatically, they are declarative, so you have do it in your plugin config, where as i want the clone and build of the extension to happen programatically when i choose that. I can easily do that with Secondly there is no way to ever build an extension from a clone of a As for the source being github, can be easily extended to work with other hosts, but most package managers only support github (maybe gitlab too, at the very best) to begin with any way. If it is a custom git repo, it should be probably managed by the user, i think coc providing a way to clone from github is at the very least an MVP, allowing users to pull from packages which are possibly not published or the repo is not synced with npm that often (which was one of my other use cases too, i had an extension not be up to date in npm compared to the repo), anything more should be managed by the user. I just wanted to make the existing feature |
cc @Freed-Wu |
2c7e715 chore(packages): dependencies (#5010) fce6804 feat(completion): add reTriggerAfterIndent (#5009) c7e92a7 chore(packages): dependencies (#5008) 97d7055 chore(packages): dev dependencies (#5007) 4a31f1a test(installer): pnpm case (#5006) e1999ee feat(extensions): allow github extensions to be installed through development mode (#5002)
Problem description #5001