Skip to content
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

Possible to merge Freed-Wu/coc-jq? #7

Open
wader opened this issue Apr 10, 2024 · 7 comments
Open

Possible to merge Freed-Wu/coc-jq? #7

wader opened this issue Apr 10, 2024 · 7 comments

Comments

@wader
Copy link
Owner

wader commented Apr 10, 2024

No description provided.

@wader
Copy link
Owner Author

wader commented Apr 10, 2024

👋 @Freed-Wu would it be possible to merge your changes into vscode-jq and make it possible to share code base? I haven't used coc.nvim myself, how does it differ from using neovim with jq-lsp? does more things like highlighting, snippets etc?

@Freed-Wu
Copy link

I think you should open this issue in https://github.com/Freed-Wu/coc-jq 😄

@Freed-Wu
Copy link

Freed-Wu commented Apr 11, 2024

This is difference:

Freed-Wu@73af4e2

And dependence should be changed to coc.nvim

@wader
Copy link
Owner Author

wader commented Apr 11, 2024

Sorry I should have been clearer 😄

I didn't see any "Issues" tab on your fork but now i see it, i was probably just temporary confused. That's why i created an issue on my repo instead.

By difference i meant how using coc with vscode-jq is different user experience-wise compared to using neovim + jq-lsp.

The point of this issue was to see if it would be possible to use vscode-jq with both vscode and coc somehow? the code diff didn't look that much so it seems possible? or is it common that one has to fork vscode extensions and modify them to use with coc?

@Freed-Wu
Copy link

By difference i meant how using coc with vscode-jq is different user experience-wise

You can see https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions

use vscode-jq with both vscode and coc somehow

You can notice Freed-Wu@73af4e2 , there are some difference between vscode and coc.nvim's APIs, I do not know how to use them without any modification. Maybe you can ask the maintainer of coc.nvim? @fannheyward

@fannheyward
Copy link

@wader
Copy link
Owner Author

wader commented Apr 11, 2024

@fannheyward Thanks for the references, that makes things clearer

I haven't really needed to touch vscode-jq much as most of the logic is in https://github.com/wader/jq-lsp so maybe it's not a big maintenance burden to maintain a fork.

Think i would be fine doing something like what vscode-ltex does also if @Freed-Wu is up for trying it. I've already thought about packaging a vsxi for vscode-jq but haven't gotten around to do it.

Lastly thanks for helping making my jq dev tools easier to use and accessible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants