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

Index files in looping #18

Open
afranioce opened this issue May 25, 2020 · 1 comment
Open

Index files in looping #18

afranioce opened this issue May 25, 2020 · 1 comment

Comments

@afranioce
Copy link

I use coc.nvim on index showing a message "Indexed n/n", when it completes 100% it ends up indexing again and returns to 1%.

NeoVim

NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.4.3/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Project
image

coc-settings.json
image

@dantleech
Copy link
Contributor

dantleech commented May 25, 2020

The only way I can imagine that happening is if Phpactor crashed at 100%.

Things you can do

  • Enable logging in .phpactor.json|yaml and see if there is an error
  • Check :CocCommand workspace.showOutput [1]
  • Try the latest develop version of Phpactor

[1] You might need to set this in :CocConfig

        "phpactor": {
            "trace.server": "verbose"
        },

Alternatively you can also run (in your project root):

$ phpactor index:build --reset

To build the index - this might show the error more clearly (if there is one)

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

2 participants