Comments (4)
Here's a screenshot for the smooth effect in Vim.
from emacs-ycmd.
in Vim, just after I type this line, immediately I can get completion when I type something like 'cap'.
That's because the YCM client looks at every char you type, notices when you finished an identifier and immediately sends the new identifier to ycmd so that it can be included in the database.
In addition, after I delete that line, it will be "cleaned" from the identifier completion candidates.
That's because you probably exited insert mode in Vim to delete the line. When you do that, YCM ships the entire buffer to ycmd for re-scanning of identifiers (which will remove identifiers that don't exist in the file anymore).
I don't know what kind of magic @Valloric did for Vim client, but it works very smoothly.
YCM has been around for years now so it has covered lots of corner cases. emacs-ycmd is still young, so you need to give it some time.
from emacs-ycmd.
Thanks for explaining.
YCM has been around for years now so it has covered lots of corner cases. emacs-ycmd is still young, so you need to give it some time
Yeah, I definitely agree. It's already making rapid progress. I just bring this up.
from emacs-ycmd.
There's definitely room to lots of improvement in the performance of the emacs client. Right now we just re-parse a file every two seconds, and that of course leads to lags. I'm going to convert this issue into separate ones that reflect @Valloric's specific techniques, but I'll reference this one for posterity.
from emacs-ycmd.
Related Issues (20)
- REQUEST [error] Error (error) while connecting to http://127.0.0.1:6259/event_notification HOT 3
- evil-jump-backward does not jump to a proper line after `ycmd-goto-declaration` HOT 1
- ycmd does not work with C/C++ tramp files HOT 8
- YCMD right complete candidates after 5 chars HOT 6
- how dose emacs-ycmd detect a java project ? HOT 7
- Skip ycmd completion response deferred error HOT 6
- For grins: emacs-ycmd + company-ycmd slightly slower than vim's YouCompleteMe for C++ HOT 2
- Busy synchronization HOT 4
- request-backend set to 'curl causes error (wrong-type-argument number-or-marker-p nil) HOT 5
- company-complete fails to insert function arguments in C++ mode HOT 1
- project handover
- can not be compatible with company-quickhelp and no function arguments in candicates when inside a function
- please delete
- temp buffer with Unicode problem HOT 4
- Python 3 ycmd still uses python 2 error checking HOT 1
- emacs-ycmd couldn't encode chinese
- ycmd-restart-semantic-server makes ycm say unsupported command HOT 1
- Ycmd server can't start HOT 2
- "Attempt to change byte length of a string" error in Emacs 28.0.50 HOT 1
- C++ parsing is not working since version 28.2
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 emacs-ycmd.