Comments (2)
Of course right after I post this I dig through the Wiki a bit more and find this example:
" use <tab> for trigger completion and navigate next complete item
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
This basically solves my problem since it solves the backspace issue and I can then use TAB to have the CoC menu refresh after I insert a '.'
I still would have figured that entering in a '.' would trigger the autocomplete based on triggerCharacters, but maybe I could be mistaken about that or missing something else.
from coc.nvim.
and then type "." to call a method on console the autocomplete suggestions do not pop up.
The popup menu should just be shown unless you have "coc.preferences.autoTrigger": "none",
in your coc-settings.json. If not, there must be something wrong.
having the suggestion menu disappear if I have to hit backspace to correct a mistake does not feel great.
Yes, it could be improved.
from coc.nvim.
Related Issues (20)
- 有什么配置可以让光标快速从括号里移动到右括号后吗?
- Coc API
- Is modifying current workspace available? HOT 3
- How to select an item HOT 5
- using singularity environment for R languageserver
- Move across symbol usage highlights HOT 1
- Extend CocDiagnostics or fillDiagnostics to work with CocList HOT 6
- Coc not updating workspace configuration
- Coc not updating user workspace folder config on demand HOT 3
- Some CoC extension features doesn't work when there's a space in the home directory on Windows HOT 1
- Keybindings when renaming
- 请问能够默认包含头文件和 自定义宏 进行检测, 不需要通过 #include 包含这个头文件
- Unable to correctly select the first parameter of the function HOT 4
- Is it able to open multiple list window. HOT 1
- List not work after some operation HOT 5
- client coc abnormal exit with: 4 HOT 2
- jumpdefinition buffer 1 not created HOT 13
- Add global argument to disable autocommands on CursorMove HOT 6
- change `codeLens.separator` accoding to filetype comment char HOT 2
- Repeated Diagnostic Messages with Verible Language Server HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc.nvim.