Giter VIP home page Giter VIP logo

Comments (6)

Shougo avatar Shougo commented on June 21, 2024
  1. neocomplcache#complete_common_string() not works with phpcomplete
    For 1st issue. The complete_common_string does not bring me the whole line include variables of the keyword, it just the keyword it self.

neocomplcache#complete_common_string() is NOT whole line completion like . Please execute ':help neocomplcache#complete_common_string()'.

  1. lacks of some build-in function name with with phpcomplete

PHP omni completion is too slow.
So I disabled PHP omni function by default.
Please set neocomplcache_omni_pattens['php'].
Like this:
let g:neocomplcache_omni_patterns['php']= '[^. \t]->\h\w_|\h\w_::'

from neocomplcache.vim.

markwu avatar markwu commented on June 21, 2024

Hi Shougo:

For 1st issue, I just make misunderstanding :( , thanks for correcting me.

For 2nd Issue, I follow your settings list above, it works well when I type "memcache::" and neocomplcache popup a dialog for me to complete the class method and functions. But, I still can not complete the class name, if I type only 'mem' to get the whole class name 'memcache', I just get a function 'memory_get_usage'. The class name 'memcache' does exist in phpcomplete build-in functions, but not exist in ~./neocon/syntax_cache/php.

Thanks,
Regards, Mark

from neocomplcache.vim.

Shougo avatar Shougo commented on June 21, 2024

Please set this. But too slow....
let g:neocomplcache_omni_patterns['php']= '[. \t]->\h\w|\h\w*'

from neocomplcache.vim.

markwu avatar markwu commented on June 21, 2024

I see, now I know what you mean. It is really slow :(
That's why you use syntax keyword to replace omni phpcomplete.

Sorry, One more questions, If I already has a tags file for my whole project files generated by ctags. Can I incorporate it into neocomplcache to get it complete according my tags file?

Thanks,

Regards, Mark

from neocomplcache.vim.

Shougo avatar Shougo commented on June 21, 2024

Please execute :NeoComplCacheCachingTags.
neocomplcache don't caching automatically.
Because tags_complete's caching is slow.

from neocomplcache.vim.

markwu avatar markwu commented on June 21, 2024

Hi Shougo:

Thanks for your great help, you just solve all my issues. Now, the neocomplcache plugin works very well in my development env.

Thanks,

Regards, Mark

from neocomplcache.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.