-
-
Notifications
You must be signed in to change notification settings - Fork 961
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
Roadmap for v0.1 #9
Comments
is it possible to support code block detection like ncm2 with ncm2-markdown-subscope ? |
@iamcco There is a plan for something like that, but not high priority for now. |
Can use it on Win10? |
@kdurant it works on my win7, should works on win10 as well. |
Microsoft's python-language-server is just released: https://github.com/Microsoft/python-language-server According to https://github.com/Microsoft/vscode-python/blob/master/src/client/activation/languageServer.ts#L159, the VSCode-python can download LS bin. |
could you please consider adding emmet support? so I could use Tab to expand html markup without conflict with coc auto-complete " Use <Tab> for confirm completion.
" Coc only does snippet and additional edit on confirm.
inoremap <expr> <Tab> pumvisible() ? "\<C-y>" : "\<Tab>"
|
@sandangel you just need to extend the remap, like: let g:user_emmet_leader_key = '<C-e>'
let g:user_emmet_expandabbr_key = '<C-x><C-e>'
imap <silent><expr> <Tab> <SID>expand()
function! s:expand()
if pumvisible()
return "\<C-y>"
endif
let col = col('.') - 1
if !col || getline('.')[col - 1] =~# '\s'
return "\<Tab>"
endif
return "\<C-x>\<C-e>"
endfunction Notice |
thanks @chemzqm for your tip. However, I mean it would be great if we can add emmet to completion source and only have to use Tab to expand it. With the above tip, we can only expand emmet after close the popup menu. |
I don't understand how could this work, provide a complete item with label like |
|
@chemzqm Any idea if VS Code Debug Protocol will be supported? |
@adelarsq I've thinked about it, but one big problem is I don't know how to make it easy to use, ex: I can't create buttons in terminal vim. |
@chemzqm We can take ideas from vim-vebugger. About buttons, we can use denite or quickmenu to provide "buttons". |
there are a bunch of vim debuggers to look at for ideas, here's one which even uses the debug protocol (i haven't used it): https://github.com/puremourning/vimspector |
I've experienced with emmet completion in VSCode, I think it's worthy to have it, since it would help to reduce the number of key stroke you need to use for snippet. |
Is it possible to add semantic highlighting through LSP protocol? |
@Moroxus LSP don't have semantic highlight yet, but it's possible for coc to implement. |
Is it possible to add icons in the completion menu, similar to vscode, that distinguish methods, property and snippet ? Thanks. |
@ovidius72 it's possible, through what is available in Unicode and font with colored characters/emoji (plus terminal support of that if you're on terminal), or custom fonts. There's no option for enabling or tweaking that in coc though. |
Thanks @oblitum |
@ovidius72 hi, I just meant that it's not impossible, since you can use emoji/unicode/custom-fonts for that, but coc.nvim doesn't provide options for tweaking |
@ovidius72 you would put your emoji around here: https://github.com/neoclide/coc.nvim/blob/master/src/util/complete.ts#L72 |
@ovidius72, for example:
|
@oblitum Wow this is nice. |
@ovidius72 anything is possible, since it's open source, good luck maintaining the patch though. |
@ovidius72 the kind of the completion is generally shown in the middle though, never left-side, it's the way Vim does things, you could try patching it for that but you would be really going against how Vim works, to the point you better stick to vscode. |
@oblitum ok, I understand that make sense. |
I find the repo coc-jedi, does it conflict with the integration of Microsoft/vscode-python? BTW, what's the difference between the sources (vim plugins?) and extensions (node package?). I'm new to coc.nvim and vimL, and wonder whether there exist a fast and easy way to port something like ncm2-tmux, ncm2-look and ncm2-en to coc.nvim. Thanks. |
They could work together, but you may have duplicated complete items.
Coc load sources from viml plugin as extension internally, the source could be implemented in viml as vim plugin, or javascript as node package. The call to viml function could quite slow, and block your typing, so it's recommended to use node module, and it could make use of javascript APIs from coc.
Not yet, but possible in the feature. |
A way to change location and name of |
@oblitum Oh, thanks; that was what I wanted in the first place. |
@kutsan fyi, updated example, due to breaking changes. |
FWIW, I think all plugin specific global variables should be prefixed with the plugin name, and |
I've removed using of |
@chemzqm I think you also need to change the coc.txt file as well
|
Thanks for the great work @chemzqm! I've found pyls to be a bit of a pain and look forward to coc.nvim with the Microsoft Python extension! |
@theFool32 I've just added support for coc.nvim in tmux-complete (wellle/tmux-complete.vim#84) |
Hello. The current state is rather confusing for coc.nvim, as there isn't release tags anymore since 08/2019 and compiled state is being pushed to the release branch since then. Given that, does this issue represent anything yet? Should it be closed or is there still plans for reaching 0.1? |
Need lots of tests, but I don't have too much time recently. |
Is there going to be a new release? I saw that this issue seems a little bit abandoned. Should we use directly master or just wait for release be updated (talking about production, of course) |
@carlosala the release branch, as instructed from readme, doesn't require compilation from user. Each commit in that branch is a release. |
Add Alacritty themes
Coc is working now, but still lots of work ahead to make it better.
Let me know if you have some ideas for it.
The text was updated successfully, but these errors were encountered: