Thank you for your awesome tool guys! But there is a problem for me. Documentation mentions that you provide automatic imports for javascript and typescript languages. But I was not able to find how to make it work. It looks like it should import something when you select an option from the autocomplete list.
I've installed YCM with all languages support ./install.py --all
And configured it to work with tsserver by removing third_party/ycmd/third_party/tern_runtime/node_modules directory
and installing typescript from youcompleteme/third_party/ycmd
by run npm install -g --prefix third_party/tsserver typescript
My .vimrc:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'valloric/youcompleteme'
call vundle#end() " required
filetype plugin indent on " required
{
"compilerOptions": {
"target": "es6"
},
"include": [
"src/**/*"
]
}
export default class Aaa {
a() {
}
}
b.js:
export default class Bbb {
b() {
}
}
Now completion works only for default js objects like window or console
Then I try to extend Bbb with Aaa in b.js:
export default class Bbb extends Aaa {
Problems:
The only problem I see in logs is ProjectRootPath: undefined. But I was not able to handle it. I tried different options like include, rootDir, baseUrl, etc. But nothing helped to get rid of this message.
Would you guys please explain how is it supposed to work and what are the limitations. I am talking about auto import and suggestion of class names without opening them in buffers. Thank you!
tsserver log:
Info 0 [18:15:8.784] Starting TS Server
Info 1 [18:15:8.784] Version: 3.2.2
Info 2 [18:15:8.784] Arguments: /usr/bin/node /usr/bin/tsserver
Info 3 [18:15:8.784] Platform: linux NodeVersion: 8 CaseSensitive: true
Info 4 [18:15:8.795] Search path: /home/user/dev/test/src
Info 5 [18:15:8.796] For info: /home/user/dev/test/src/d.js :: Config file name: /home/user/dev/test/jsconfig.json
Info 6 [18:15:8.796] Opened configuration file /home/user/dev/test/jsconfig.json
Info 7 [18:15:8.818] Starting updateGraphWorker: Project: /home/user/dev/test/jsconfig.json
Info 8 [18:15:9.849] Finishing updateGraphWorker: Project: /home/user/dev/test/jsconfig.json Version: 1 structureChanged: true Elapsed: 1031ms
Info 9 [18:15:9.854] Project '/home/user/dev/test/jsconfig.json' (Configured) 0
Info 9 [18:15:9.854] Files (20)
Info 9 [18:15:9.854] -----------------------------------------------
Info 9 [18:15:9.854] Open files:
Info 9 [18:15:9.854] FileName: /home/user/dev/test/src/d.js ProjectRootPath: undefined
Info 9 [18:15:10.220] Starting updateGraphWorker: Project: /home/user/dev/test/jsconfig.json
Info 10 [18:15:10.227] Finishing updateGraphWorker: Project: /home/user/dev/test/jsconfig.json Version: 2 structureChanged: true Elapsed: 7ms
Info 11 [18:15:10.227] Structure before ensureProjectForOpenFiles:
Info 12 [18:15:10.227] Project '/home/user/dev/test/jsconfig.json' (Configured) 0
Info 12 [18:15:10.227] Files (20)
Info 12 [18:15:10.227] -----------------------------------------------
Info 12 [18:15:10.227] Open files:
Info 12 [18:15:10.227] FileName: /home/user/dev/test/src/d.js ProjectRootPath: undefined
Info 12 [18:15:10.227] Structure after ensureProjectForOpenFiles:
Info 13 [18:15:10.227] Project '/home/user/dev/test/jsconfig.json' (Configured) 0
Info 13 [18:15:10.227] Files (20)
Info 13 [18:15:10.227] -----------------------------------------------
Info 13 [18:15:10.227] Open files:
Info 13 [18:15:10.227] FileName: /home/user/dev/test/src/d.js ProjectRootPath: undefined
Info 13 [18:15:10.228] got projects updated in background, updating diagnostics for /home/user/dev/test/src/d.js
Info 14 [18:15:16.60] Starting updateGraphWorker: Project: /home/user/dev/test/jsconfig.json
Info 15 [18:15:16.63] Finishing updateGraphWorker: Project: /home/user/dev/test/jsconfig.json Version: 3 structureChanged: false Elapsed: 3ms
When typing Aaa, you should press ctrl-space. YCM's semantic completion is triggered by certain characters (like .) being typed, or manually using ctrl-space. Does that make it work?
Thank you so much for your answer! Yes, it works for the case of completion of the class name. But still there is no auto import. Is there any other key combination to trigger this feature? I tried c-y with no luck :(
Well, I don't know a huge amount about it, but here is the test case that we have:
https://github.com/Valloric/ycmd/blob/master/ycmd/tests/javascript/get_completions_test.py#L143
This uses the following file:
https://github.com/Valloric/ycmd/blob/master/ycmd/tests/javascript/testdata/test.js
You can find that in your <path_to_YCM_install>/third_party/ycmd/ycmd/tests/javascript/testdata/test.js.
And does completion at line 36 right at the end. I can confirm that when using TSServer for completion, I get the import added correctly.
Can you try it? Open that file above and gp to the end, enter insert mode and hit ctrl-space. select B氓r and hit ctrl-y. It should add the import.
Oh, thanks a lot! I can see the problem much clearer now. It does work if the line ends with the class name typed. Import statement is inserted correctly in this case. But if there are some characters after the cursor then auto import won't work. In my case I was typing between the word "extends" and "{" symbol:
export default class Bbb extends [cursor position] {
Is there something that could help in this case?
I don't see that behaviour.
As you can see in the video below, using the ycmd test case file, I can change 'Foo' to 'B氓r', using semantic completion and the import is added automatically.

Doesn't work for me only in this particular case :( what can I do for the further investigation?
I've just updated and reinstalled ycm and the same problem still happens.
vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)
Included patches: 1-1453
Modified by [email protected]
Compiled by [email protected]
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +farsi +mouse_sgr -tag_any_white
+arabic +file_in_path -mouse_sysmouse +tcl
+autocmd +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
+balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
+browse +fork() -mzscheme +textobjects
++builtin_terms +gettext +netbeans_intg +timers
+byte_offset -hangul_input +num64 +title
+channel +iconv +packages +toolbar
+cindent +insert_expand +path_extra +user_commands
+clientserver +job +perl +vertsplit
+clipboard +jumplist +persistent_undo +virtualedit
+cmdline_compl +keymap +postscript +visual
+cmdline_hist +lambda +printer +visualextra
+cmdline_info +langmap +profile +viminfo
+comments +libcall -python +vreplace
+conceal +linebreak +python3 +wildignore
+cryptv +lispindent +quickfix +wildmenu
+cscope +listcmds +reltime +windows
+cursorbind +localmap +rightleft +writebackup
+cursorshape +lua -ruby +X11
+dialog_con_gui +menu +scrollbind -xfontset
+diff +mksession +signs +xim
+digraphs +modify_fname +smartindent +xpm
+dnd +mouse +startuptime +xsmp_interact
-ebcdic +mouseshape +statusline +xterm_clipboard
+emacs_tags +mouse_dec -sun_workshop -xterm_save
+eval +mouse_gpm +syntax
+ex_extra -mouse_jsbterm +tag_binary
+extra_search +mouse_netterm +tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -g -O2 -fdebug-prefix-map=/build/vim-NQEcoP/vim-8.0.1453=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-E -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib -llua5.2 -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lm
Printing YouCompleteMe debug information...
-- Client logfile: /tmp/ycm_15aupa6c.log
-- Server Python interpreter: /usr/bin/python3
-- Server Python version: 3.6.7
-- Server has Clang support compiled in: True
-- Clang version: clang version 7.0.0 (tags/RELEASE_700/final)
-- Extra configuration file found but not loaded
-- Extra configuration path: /home/user/.vim/bundle/youcompleteme/third_party/
ycmd/.ycm_extra_conf.py
-- TypeScript completer debug information:
-- TSServer running
-- TSServer process ID: 26038
-- TSServer executable: /home/user/.vim/bundle/youcompleteme/third_party/ycm
d/third_party/tsserver/bin/tsserver
-- TSServer logfiles:
-- /tmp/tsserver_nszxeoq2.log
-- TSServer version: 3.2.2
-- Server running at: http://127.0.0.1:34895
-- Server process ID: 25993
-- Server logfiles:
-- /tmp/ycmd_34895_stdout_1hnw17aj.log
-- /tmp/ycmd_34895_stderr_tymsg250.log
Are you saying that what I did in my demo behaves differently for you?
Yes, exactly. It does work when there is nothing after the cursor. But once there is at least one character it never updates imports. I press c-space in the both cases and it works differently.
Please can you try to reproduce with a minimal vimrc that just loads YCM? Could you record a gif/video so we can see?
Yes I did it with the config from description with minimal changes. I will record video as soon as I get home.
Yeah I can't reproduce with your config and your example:

And without opening a.js

@sidorenkobw Which keys are you pressing after selecting the candidate? Selecting the candidate is not enough for the import statement to be automatically inserted. The CompleteDone event must be triggered, which happens if you type a character like a space or by closing the completion menu with <C-y>. Leaving insert mode with <ESC> works too.
I'm not sure if its related, but I'm seeing a similar completion problem on a vanilla Angular project created with ng new my-app. Everything works fine for me in a simple JS or TS project such as the one demonstrated in this issue. However, it seems I don't get completion options with ctrl-space or auto imports in the Angular project. Is anybody else seeing the same problem?
I'm not sure if its related, but I'm seeing a similar completion problem on a vanilla Angular project created with
ng new my-app. Everything works fine for me in a simple JS or TS project such as the one demonstrated in this issue. However, it seems I don't get completion options withctrl-spaceor auto imports in the Angular project. Is anybody else seeing the same problem?
+1
I have the same issue, like @sidorenkobw described
This is not helpful. We need more detail on how to reproduce the issue. See CONTRIBUTING.md. A first step would be to answer the question I asked. Without more info, the issue will be closed as not reproducible.
No answer. Closing.
I am having this same issue. In particular, local functions, classes, etc., are being classified as IDs.
So in the test.js example, I end up with the following:

Press ctrl-space
So <c-space> does nothing. If I check :imap <c-space> (as well as the verbose version), it correctly shows 102_InvokeSemanticCompletion() but it is not actually doing anything. If I call B<c-space> for example, my expectation is that I get that list, or something similar, but I don't.
Well, rather than "me too", could you see @micbou's post asking for more information? As you can see from this thread, we YCM developers can't reproduce the problem, so you need to tell us how.
Sure. This is a fresh install of YCM, using the same methods as OP.
OS: macOS 10.14.3
VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 11 2019 08:36:40)
macOS version
Included patches: 1-1000
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +digraphs +lispindent +persistent_undo +textobjects
+arabic -dnd +listcmds +postscript +textprop
+autocmd -ebcdic +localmap +printer +timers
+autochdir +emacs_tags +lua +profile +title
-autoservername +eval +menu -python -toolbar
-balloon_eval +ex_extra +mksession +python3 +user_commands
+balloon_eval_term +extra_search +modify_fname +quickfix +vartabs
-browse -farsi +mouse +reltime +vertsplit
++builtin_terms +file_in_path -mouseshape +rightleft +virtualedit
+byte_offset +find_in_path +mouse_dec +ruby +visual
+channel +float -mouse_gpm +scrollbind +visualextra
+cindent +folding -mouse_jsbterm +signs +viminfo
-clientserver -footer +mouse_netterm +smartindent +vreplace
+clipboard +fork() +mouse_sgr +startuptime +wildignore
+cmdline_compl +gettext -mouse_sysmouse +statusline +wildmenu
+cmdline_hist -hangul_input +mouse_urxvt -sun_workshop +windows
+cmdline_info +iconv +mouse_xterm +syntax +writebackup
+comments +insert_expand +multi_byte +tag_binary -X11
+conceal +job +multi_lang +tag_old_static -xfontset
+cryptv +jumplist -mzscheme -tag_any_white -xim
+cscope +keymap +netbeans_intg -tcl -xpm
+cursorbind +lambda +num64 +termguicolors -xsmp
+cursorshape +langmap +packages +terminal -xterm_clipboard
+dialog_con +libcall +path_extra +terminfo -xterm_save
+diff +linebreak +perl +termresponse
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SO
URCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/l
ocal/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv
-lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.14 -fstack-prot
ector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-
2level/CORE -lperl -lm -lutil -lc -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/
lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation -lruby.2.6
Info 0 [6:16:26.991] Starting TS Server
Info 1 [6:16:26.993] Version: 3.3.4000
Info 2 [6:16:26.993] Arguments: /usr/local/Cellar/node/11.12.0/bin/node /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/bin/tsserver
Info 3 [6:16:26.993] Platform: darwin NodeVersion: 11 CaseSensitive: false
Info 4 [6:16:26.997] Binding...
Info 5 [6:16:27.5] request:
{"seq": 0, "type": "request", "command": "status"}
Perf 6 [6:16:27.6] 0::status: elapsed time (in milliseconds) 0.6493
Info 7 [6:16:27.6] response:
{"seq":0,"type":"response","command":"status","request_seq":0,"success":true,"body":{"version":"3.3.4000"}}
Info 8 [6:16:27.7] request:
{"seq": 1, "type": "request", "command": "open", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js"}}
Info 9 [6:16:27.9] Search path: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata
Info 10 [6:16:27.10] ConfigFilePresence:: Current Watches: :: File: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js Status: File added to open files impacted by this config file
Info 11 [6:16:27.10] ConfigFilePresence:: Current Watches: :: File: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js Status: File added to open files impacted by this config file
Info 12 [6:16:27.10] For info: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js :: Config file name: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 13 [6:16:27.11] Opened configuration file /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 14 [6:16:27.13] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json 2000 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Config file
Info 15 [6:16:27.15] event:
{"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","reason":"Creating possible configured project for /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js to open"}}
Info 16 [6:16:27.30] DirectoryWatcher:: Added:: WatchInfo: /users/badfilms/.vim/plugged/youcompleteme/third_party/ycmd/ycmd/tests/javascript/testdata 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Wild card directory
Info 17 [6:16:27.32] Elapsed:: 2ms DirectoryWatcher:: Added:: WatchInfo: /users/badfilms/.vim/plugged/youcompleteme/third_party/ycmd/ycmd/tests/javascript/testdata 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Wild card directory
Info 18 [6:16:27.34] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js 500 Project: WatchType: Closed Script info
Info 19 [6:16:27.35] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js 500 Project: WatchType: Closed Script info
Info 20 [6:16:27.36] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js 500 Project: WatchType: Closed Script info
Info 21 [6:16:27.39] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js 500 Project: WatchType: Closed Script info
Info 22 [6:16:27.40] FileWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js 500 Project: WatchType: Closed Script info
Info 23 [6:16:27.42] Starting updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 24 [6:16:27.70] DirectoryWatcher:: Added:: WatchInfo: /users/badfilms/.vim/plugged/youcompleteme/third_party/ycmd/third_party/tsserver/lib/node_modules 1 Project: WatchType: node_modules for closed script infos in them
Info 25 [6:16:27.70] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /users/badfilms/.vim/plugged/youcompleteme/third_party/ycmd/third_party/tsserver/lib/node_modules 1 Project: WatchType: node_modules for closed script infos in them
Info 26 [6:16:27.569] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 27 [6:16:27.569] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 28 [6:16:27.570] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 29 [6:16:27.570] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 30 [6:16:27.571] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 31 [6:16:27.571] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 32 [6:16:27.572] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 33 [6:16:27.572] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 34 [6:16:27.572] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 35 [6:16:27.572] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 36 [6:16:27.573] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 37 [6:16:27.573] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 38 [6:16:27.573] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 39 [6:16:27.573] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 40 [6:16:27.574] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 41 [6:16:27.574] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/node_modules 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Failed Lookup Locations
Info 42 [6:16:27.577] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 43 [6:16:27.577] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 44 [6:16:27.577] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 45 [6:16:27.577] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 46 [6:16:27.577] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 47 [6:16:27.577] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 48 [6:16:27.577] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 49 [6:16:27.577] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 50 [6:16:27.577] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 51 [6:16:27.578] Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 52 [6:16:27.578] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 53 [6:16:27.578] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 54 [6:16:27.578] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 55 [6:16:27.578] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/YouCompleteMe/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 56 [6:16:27.578] DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 57 [6:16:27.578] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/badfilms/.vim/plugged/node_modules/@types 1 Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json WatchType: Type roots
Info 58 [6:16:27.579] Finishing updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json Version: 1 structureChanged: true Elapsed: 536ms
Info 59 [6:16:27.581] Scheduling throttled operation:
{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","fileNames":["/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.dom.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.scripthost.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js"],"compilerOptions":{"allowJs":true,"maxNodeModuleJsDepth":2,"allowSyntheticDefaultImports":true,"skipLibCheck":true,"noEmit":true,"checkJs":true,"configFilePath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","allowNonTsExtensions":true},"typeAcquisition":{"enable":true,"include":[],"exclude":[]},"unresolvedImports":["library"],"projectRootPath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata","kind":"discover"}
Info 60 [6:16:27.581] Scheduling request for: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 61 [6:16:27.581] event:
{"seq":0,"type":"event","event":"projectLoadingFinish","body":{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json"}}
Info 62 [6:16:27.583] event:
{"seq":0,"type":"event","event":"telemetry","body":{"telemetryEventName":"projectInfo","payload":{"projectId":"ff75863b5a321b0e0695b1b5fe49b978ac1a85e8c7d34264fa89e0601edaf061","fileStats":{"js":6,"jsSize":626,"jsx":0,"jsxSize":0,"ts":0,"tsSize":0,"tsx":0,"tsxSize":0,"dts":5,"dtsSize":917126,"deferred":0,"deferredSize":0},"compilerOptions":{"allowJs":true,"maxNodeModuleJsDepth":2,"allowSyntheticDefaultImports":true,"skipLibCheck":true,"noEmit":true,"checkJs":true},"typeAcquisition":{"enable":true,"include":false,"exclude":false},"extends":false,"files":false,"include":false,"exclude":false,"compileOnSave":false,"configFileName":"jsconfig.json","projectType":"configured","languageServiceEnabled":true,"version":"3.3.4000"}}}
Info 63 [6:16:27.584] Survey checkJs is ready
Info 64 [6:16:27.584] event:
{"seq":0,"type":"event","event":"surveyReady","body":{"surveyId":"checkJs"}}
Info 65 [6:16:27.594] event:
{"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","configFile":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","diagnostics":[]}}
Info 66 [6:16:27.595] Project '/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json' (Configured) 0
Info 66 [6:16:27.595] Files (11)
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.dom.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.scripthost.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js
Info 66 [6:16:27.595] -----------------------------------------------
Info 66 [6:16:27.595] Open files:
Info 66 [6:16:27.595] FileName: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js ProjectRootPath: undefined
Info 66 [6:16:27.595] Projects: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Perf 66 [6:16:27.596] 1::open: async elapsed time (in milliseconds) 588.3882
Info 67 [6:16:27.597] event:
{"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":8331}}
Info 68 [6:16:27.597] request:
{"seq": 2, "type": "request", "command": "reload", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "tmpfile": "/var/folders/v0/4778r7pd0nnfbr5jvtcckc_h0000gn/T/tmp729qtwms"}}
Perf 69 [6:16:27.598] 2::reload: elapsed time (in milliseconds) 0.4882
Info 70 [6:16:27.598] response:
{"seq":0,"type":"response","command":"reload","request_seq":2,"success":true,"body":{"reloadFinished":true}}
Info 71 [6:16:27.598] request:
{"seq": 3, "type": "request", "command": "semanticDiagnosticsSync", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "includeLinePosition": true}}
Perf 72 [6:16:27.637] 3::semanticDiagnosticsSync: elapsed time (in milliseconds) 38.1252
Info 73 [6:16:27.637] response:
{"seq":0,"type":"response","command":"semanticDiagnosticsSync","request_seq":3,"success":true,"body":[{"message":"Property 'm' does not exist on type 'Foo'.","start":155,"length":1,"category":"error","code":2339,"startLocation":{"line":14,"offset":5},"endLocation":{"line":14,"offset":6}},{"message":"Property 'nonExistingMethod' does not exist on type 'Bar'.","start":322,"length":17,"category":"error","code":2339,"startLocation":{"line":32,"offset":5},"endLocation":{"line":32,"offset":22}},{"message":"Expected 1-2 arguments, but got 0.","start":344,"length":11,"category":"error","code":2554,"startLocation":{"line":34,"offset":1},"endLocation":{"line":34,"offset":12},"relatedInformation":[{"span":{"start":{"line":278,"offset":27},"end":{"line":278,"offset":39},"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts"},"message":"An argument for 'thisArg' was not provided.","category":"message","code":6210}]},{"message":"Cannot find name 'B氓r'.","start":357,"length":3,"category":"error","code":2304,"startLocation":{"line":36,"offset":1},"endLocation":{"line":36,"offset":4}}]}
Info 74 [6:16:27.637] request:
{"seq": 4, "type": "request", "command": "syntacticDiagnosticsSync", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "includeLinePosition": true}}
Perf 75 [6:16:27.638] 4::syntacticDiagnosticsSync: elapsed time (in milliseconds) 0.9883
Info 76 [6:16:27.638] response:
{"seq":0,"type":"response","command":"syntacticDiagnosticsSync","request_seq":4,"success":true,"body":[]}
Info 77 [6:16:27.638] request:
{"seq": 5, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 14, "startOffset": 5, "endLine": 14, "endOffset": 6, "errorCodes": [2339]}}
Perf 78 [6:16:27.670] 5::getCodeFixes: elapsed time (in milliseconds) 31.8695
Info 79 [6:16:27.670] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":5,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":14,"offset":1},"end":{"line":14,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 80 [6:16:27.671] request:
{"seq": 6, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 32, "startOffset": 5, "endLine": 32, "endOffset": 22, "errorCodes": [2339]}}
Perf 81 [6:16:27.688] 6::getCodeFixes: elapsed time (in milliseconds) 16.5392
Info 82 [6:16:27.688] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":6,"success":true,"body":[{"fixName":"addMissingMember","description":"Declare method 'nonExistingMethod'","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":22,"offset":12},"end":{"line":22,"offset":12},"newText":"\n nonExistingMethod() {\n throw new Error(\"Method not implemented.\");\n }"}]}],"fixId":"addMissingMember","fixAllDescription":"Add all missing members"},{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":32,"offset":1},"end":{"line":32,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 83 [6:16:27.689] Sending request:
{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","fileNames":["/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.dom.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.scripthost.d.ts","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js","/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js"],"compilerOptions":{"allowJs":true,"maxNodeModuleJsDepth":2,"allowSyntheticDefaultImports":true,"skipLibCheck":true,"noEmit":true,"checkJs":true,"configFilePath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","allowNonTsExtensions":true},"typeAcquisition":{"enable":true,"include":[],"exclude":[]},"unresolvedImports":["library"],"projectRootPath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata","kind":"discover"}
Info 84 [6:16:27.689] request:
{"seq": 7, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 34, "startOffset": 1, "endLine": 34, "endOffset": 12, "errorCodes": [2554]}}
Perf 85 [6:16:27.690] 7::getCodeFixes: elapsed time (in milliseconds) 1.0932
Info 86 [6:16:27.690] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":7,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":34,"offset":1},"end":{"line":34,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 87 [6:16:27.691] request:
{"seq": 8, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 36, "startOffset": 1, "endLine": 36, "endOffset": 4, "errorCodes": [2304]}}
Perf 88 [6:16:27.700] 8::getCodeFixes: elapsed time (in milliseconds) 8.1173
Info 89 [6:16:27.700] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":8,"success":true,"body":[{"fixName":"import","description":"Import 'B氓r' from module \"./unicode\"","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"import { B氓r } from \"./unicode\";\n\n"}]}],"fixId":"fixMissingImport","fixAllDescription":"Add all missing imports"},{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":36,"offset":1},"end":{"line":36,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 90 [6:16:28.37] Received response:
{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","typeAcquisition":{"enable":true,"include":[],"exclude":[]},"compilerOptions":{"allowJs":true,"maxNodeModuleJsDepth":2,"allowSyntheticDefaultImports":true,"skipLibCheck":true,"noEmit":true,"checkJs":true,"configFilePath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","allowNonTsExtensions":true},"typings":[],"unresolvedImports":["library"],"kind":"action::set"}
Info 91 [6:16:28.38] Scheduled: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 92 [6:16:28.38] Scheduled: *ensureProjectForOpenFiles*
Info 93 [6:16:28.38] event:
{"seq":0,"type":"event","event":"setTypings","body":{"projectName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","typeAcquisition":{"enable":true,"include":[],"exclude":[]},"compilerOptions":{"allowJs":true,"maxNodeModuleJsDepth":2,"allowSyntheticDefaultImports":true,"skipLibCheck":true,"noEmit":true,"checkJs":true,"configFilePath":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json","allowNonTsExtensions":true},"typings":[],"unresolvedImports":["library"],"kind":"action::set"}}
Info 94 [6:16:28.289] Running: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 95 [6:16:28.289] Starting updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 96 [6:16:28.315] Finishing updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json Version: 2 structureChanged: true Elapsed: 26ms
Info 97 [6:16:28.315] Running: *ensureProjectForOpenFiles*
Info 98 [6:16:28.316] Structure before ensureProjectForOpenFiles:
Info 99 [6:16:28.316] Project '/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json' (Configured) 0
Info 99 [6:16:28.316] Files (11)
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.dom.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.scripthost.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js
Info 99 [6:16:28.316] -----------------------------------------------
Info 99 [6:16:28.316] Open files:
Info 99 [6:16:28.316] FileName: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js ProjectRootPath: undefined
Info 99 [6:16:28.316] Projects: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 99 [6:16:28.316] Structure after ensureProjectForOpenFiles:
Info 100 [6:16:28.316] Project '/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json' (Configured) 0
Info 100 [6:16:28.316] Files (11)
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.dom.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.scripthost.d.ts
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file2.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/imports.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/unicode.js
/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/identifier/test.js
Info 100 [6:16:28.316] -----------------------------------------------
Info 100 [6:16:28.316] Open files:
Info 100 [6:16:28.316] FileName: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js ProjectRootPath: undefined
Info 100 [6:16:28.316] Projects: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 100 [6:16:28.316] got projects updated in background, updating diagnostics for /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
Info 101 [6:16:28.317] event:
{"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js"]}}
Info 102 [6:16:28.418] event:
{"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","diagnostics":[]}}
Info 103 [6:16:28.424] event:
{"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","diagnostics":[{"start":{"line":14,"offset":5},"end":{"line":14,"offset":6},"text":"Property 'm' does not exist on type 'Foo'.","code":2339,"category":"error"},{"start":{"line":32,"offset":5},"end":{"line":32,"offset":22},"text":"Property 'nonExistingMethod' does not exist on type 'Bar'.","code":2339,"category":"error"},{"start":{"line":34,"offset":1},"end":{"line":34,"offset":12},"text":"Expected 1-2 arguments, but got 0.","code":2554,"category":"error","relatedInformation":[{"span":{"start":{"line":278,"offset":27},"end":{"line":278,"offset":39},"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/lib/node_modules/typescript/lib/lib.es5.d.ts"},"message":"An argument for 'thisArg' was not provided.","category":"message","code":6210}]},{"start":{"line":36,"offset":1},"end":{"line":36,"offset":4},"text":"Cannot find name 'B氓r'.","code":2304,"category":"error"}]}}
Info 104 [6:16:28.426] event:
{"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","diagnostics":[{"start":{"line":6,"offset":5},"end":{"line":6,"offset":8},"text":"Parameter 'foo' implicitly has an 'any' type, but a better type may be inferred from usage.","code":7044,"category":"suggestion"},{"start":{"line":6,"offset":5},"end":{"line":6,"offset":8},"text":"'foo' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":7,"offset":5},"end":{"line":7,"offset":8},"text":"Parameter 'bar' implicitly has an 'any' type, but a better type may be inferred from usage.","code":7044,"category":"suggestion"},{"start":{"line":7,"offset":5},"end":{"line":7,"offset":8},"text":"'bar' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}}
Info 105 [6:16:41.288] request:
{"seq": 9, "type": "request", "command": "reload", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "tmpfile": "/var/folders/v0/4778r7pd0nnfbr5jvtcckc_h0000gn/T/tmp6fx1f3z1"}}
Info 106 [6:16:41.289] response:
{"seq":0,"type":"response","command":"reload","request_seq":9,"success":true}
Perf 107 [6:16:41.290] 9::reload: elapsed time (in milliseconds) 1.7417
Info 108 [6:16:41.290] response:
{"seq":0,"type":"response","command":"reload","request_seq":9,"success":true,"body":{"reloadFinished":true}}
Info 109 [6:16:41.290] request:
{"seq": 10, "type": "request", "command": "semanticDiagnosticsSync", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "includeLinePosition": true}}
Info 110 [6:16:41.290] Starting updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json
Info 111 [6:16:41.296] Finishing updateGraphWorker: Project: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/jsconfig.json Version: 3 structureChanged: false Elapsed: 6ms
Perf 112 [6:16:41.310] 10::semanticDiagnosticsSync: elapsed time (in milliseconds) 19.9187
Info 113 [6:16:41.310] response:
{"seq":0,"type":"response","command":"semanticDiagnosticsSync","request_seq":10,"success":true,"body":[{"message":"Cannot find name 'B'.","start":148,"length":1,"category":"error","code":2304,"startLocation":{"line":13,"offset":19},"endLocation":{"line":13,"offset":20}},{"message":"Cannot find name 'Bar'. Did you mean 'bar'?","start":315,"length":3,"category":"error","code":2552,"startLocation":{"line":32,"offset":15},"endLocation":{"line":32,"offset":18},"relatedInformation":[{"span":{"start":{"line":1,"offset":5},"end":{"line":1,"offset":8},"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js"},"message":"'bar' is declared here.","category":"message","code":2728}]},{"message":"Cannot find name 'Bar'. Did you mean 'bar'?","start":366,"length":3,"category":"error","code":2552,"startLocation":{"line":36,"offset":1},"endLocation":{"line":36,"offset":4},"relatedInformation":[{"span":{"start":{"line":1,"offset":5},"end":{"line":1,"offset":8},"file":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/file3.js"},"message":"'bar' is declared here.","category":"message","code":2728}]},{"message":"Cannot find name 'B氓r'.","start":379,"length":3,"category":"error","code":2304,"startLocation":{"line":38,"offset":1},"endLocation":{"line":38,"offset":4}},{"message":"',' expected.","start":149,"length":1,"category":"error","code":1005,"startLocation":{"line":13,"offset":20},"endLocation":{"line":13,"offset":21}},{"message":"',' expected.","start":229,"length":5,"category":"error","code":1005,"startLocation":{"line":24,"offset":1},"endLocation":{"line":24,"offset":6}},{"message":"',' expected.","start":149,"length":1,"category":"error","code":1005,"startLocation":{"line":13,"offset":20},"endLocation":{"line":13,"offset":21}},{"message":"',' expected.","start":229,"length":5,"category":"error","code":1005,"startLocation":{"line":24,"offset":1},"endLocation":{"line":24,"offset":6}}]}
Info 114 [6:16:41.311] request:
{"seq": 11, "type": "request", "command": "syntacticDiagnosticsSync", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "includeLinePosition": true}}
Perf 115 [6:16:41.311] 11::syntacticDiagnosticsSync: elapsed time (in milliseconds) 0.3479
Info 116 [6:16:41.311] response:
{"seq":0,"type":"response","command":"syntacticDiagnosticsSync","request_seq":11,"success":true,"body":[{"message":"',' expected.","start":149,"length":1,"category":"error","code":1005,"startLocation":{"line":13,"offset":20},"endLocation":{"line":13,"offset":21}},{"message":"',' expected.","start":229,"length":5,"category":"error","code":1005,"startLocation":{"line":24,"offset":1},"endLocation":{"line":24,"offset":6}},{"message":"',' expected.","start":301,"length":3,"category":"error","code":1005,"startLocation":{"line":32,"offset":1},"endLocation":{"line":32,"offset":4}}]}
Info 117 [6:16:41.312] request:
{"seq": 12, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 13, "startOffset": 19, "endLine": 13, "endOffset": 20, "errorCodes": [2304]}}
Perf 118 [6:16:41.313] 12::getCodeFixes: elapsed time (in milliseconds) 1.6326
Info 119 [6:16:41.313] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":12,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":13,"offset":1},"end":{"line":13,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 120 [6:16:41.314] request:
{"seq": 13, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 32, "startOffset": 15, "endLine": 32, "endOffset": 18, "errorCodes": [2552]}}
Perf 121 [6:16:41.318] 13::getCodeFixes: elapsed time (in milliseconds) 3.7925
Info 122 [6:16:41.318] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":13,"success":true,"body":[{"fixName":"spelling","description":"Change spelling to 'bar'","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":32,"offset":15},"end":{"line":32,"offset":18},"newText":"bar"}]}],"fixId":"fixSpelling","fixAllDescription":"Fix all detected spelling errors"},{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":32,"offset":1},"end":{"line":32,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 123 [6:16:41.319] request:
{"seq": 14, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 36, "startOffset": 1, "endLine": 36, "endOffset": 4, "errorCodes": [2552]}}
Perf 124 [6:16:41.321] 14::getCodeFixes: elapsed time (in milliseconds) 1.4545
Info 125 [6:16:41.321] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":14,"success":true,"body":[{"fixName":"spelling","description":"Change spelling to 'bar'","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":36,"offset":1},"end":{"line":36,"offset":4},"newText":"bar"}]}],"fixId":"fixSpelling","fixAllDescription":"Fix all detected spelling errors"},{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":36,"offset":1},"end":{"line":36,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 126 [6:16:41.322] request:
{"seq": 15, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 38, "startOffset": 1, "endLine": 38, "endOffset": 4, "errorCodes": [2304]}}
Perf 127 [6:16:41.324] 15::getCodeFixes: elapsed time (in milliseconds) 1.9451
Info 128 [6:16:41.324] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":15,"success":true,"body":[{"fixName":"import","description":"Import 'B氓r' from module \"./unicode\"","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"import { B氓r } from \"./unicode\";\n\n"}]}],"fixId":"fixMissingImport","fixAllDescription":"Add all missing imports"},{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":38,"offset":1},"end":{"line":38,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 129 [6:16:41.325] request:
{"seq": 16, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 13, "startOffset": 20, "endLine": 13, "endOffset": 21, "errorCodes": [1005]}}
Perf 130 [6:16:41.325] 16::getCodeFixes: elapsed time (in milliseconds) 0.3210
Info 131 [6:16:41.325] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":16,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":13,"offset":1},"end":{"line":13,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 132 [6:16:41.326] request:
{"seq": 17, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 24, "startOffset": 1, "endLine": 24, "endOffset": 6, "errorCodes": [1005]}}
Perf 133 [6:16:41.327] 17::getCodeFixes: elapsed time (in milliseconds) 0.5404
Info 134 [6:16:41.327] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":17,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":24,"offset":1},"end":{"line":24,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 135 [6:16:41.327] request:
{"seq": 18, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 13, "startOffset": 20, "endLine": 13, "endOffset": 21, "errorCodes": [1005]}}
Perf 136 [6:16:41.328] 18::getCodeFixes: elapsed time (in milliseconds) 0.3283
Info 137 [6:16:41.328] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":18,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":13,"offset":1},"end":{"line":13,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 138 [6:16:41.328] request:
{"seq": 19, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 24, "startOffset": 1, "endLine": 24, "endOffset": 6, "errorCodes": [1005]}}
Perf 139 [6:16:41.329] 19::getCodeFixes: elapsed time (in milliseconds) 0.3971
Info 140 [6:16:41.329] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":19,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":24,"offset":1},"end":{"line":24,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 141 [6:16:41.330] request:
{"seq": 20, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 13, "startOffset": 20, "endLine": 13, "endOffset": 21, "errorCodes": [1005]}}
Perf 142 [6:16:41.330] 20::getCodeFixes: elapsed time (in milliseconds) 0.2863
Info 143 [6:16:41.330] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":20,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":13,"offset":1},"end":{"line":13,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 144 [6:16:41.331] request:
{"seq": 21, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 24, "startOffset": 1, "endLine": 24, "endOffset": 6, "errorCodes": [1005]}}
Perf 145 [6:16:41.331] 21::getCodeFixes: elapsed time (in milliseconds) 0.3914
Info 146 [6:16:41.331] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":21,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":24,"offset":1},"end":{"line":24,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
Info 147 [6:16:41.332] request:
{"seq": 22, "type": "request", "command": "getCodeFixes", "arguments": {"file": "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js", "startLine": 32, "startOffset": 1, "endLine": 32, "endOffset": 4, "errorCodes": [1005]}}
Perf 148 [6:16:41.332] 22::getCodeFixes: elapsed time (in milliseconds) 0.3418
Info 149 [6:16:41.332] response:
{"seq":0,"type":"response","command":"getCodeFixes","request_seq":22,"success":true,"body":[{"fixName":"disableJsDiagnostics","description":"Ignore this error message","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":32,"offset":1},"end":{"line":32,"offset":1},"newText":"// @ts-ignore\n"}]}],"fixId":"disableJsDiagnostics","fixAllDescription":"Add '@ts-ignore' to all error messages"},{"fixName":"disableJsDiagnostics","description":"Disable checking for this file","changes":[{"fileName":"/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js","textChanges":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":1},"newText":"// @ts-nocheck\n"}]}]}]}
2019-03-27 06:16:26,275 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=55713): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10cb03b70>: Failed to establish a new connection: [Errno 61] Connection refused'))
2019-03-27 06:16:26,380 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=55713): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10cb2d128>: Failed to establish a new connection: [Errno 61] Connection refused'))
2019-03-27 06:16:26,343 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
2019-03-27 06:16:26,482 - INFO - Received ready request
2019-03-27 06:16:26,574 - INFO - Received event notification
2019-03-27 06:16:26,575 - DEBUG - Event name: BufferVisit
2019-03-27 06:16:26,578 - INFO - Using node binary from: /usr/local/bin/node
2019-03-27 06:16:26,579 - INFO - Not using Tern completer: not installed at /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tern_runtime/node_modules/tern/bin/tern
2019-03-27 06:16:26,579 - INFO - Using TypeScript completer with /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tsserver/bin/tsserver
2019-03-27 06:16:26,580 - INFO - Received event notification
2019-03-27 06:16:26,580 - DEBUG - Event name: FileReadyToParse
2019-03-27 06:16:26,580 - INFO - Adding buffer identifiers for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:26,582 - INFO - TSServer log file: /var/folders/v0/4778r7pd0nnfbr5jvtcckc_h0000gn/T/tsserver_f3eh5k4_.log
2019-03-27 06:16:26,586 - INFO - Enabling TypeScript completion
2019-03-27 06:16:27,596 - INFO - Received projectLoadingStart event from TSServer
2019-03-27 06:16:27,597 - INFO - Received projectLoadingFinish event from TSServer
2019-03-27 06:16:27,597 - INFO - Received telemetry event from TSServer
2019-03-27 06:16:27,597 - INFO - Received surveyReady event from TSServer
2019-03-27 06:16:27,597 - INFO - Received configFileDiag event from TSServer
2019-03-27 06:16:27,597 - INFO - Received typingsInstallerPid event from TSServer
2019-03-27 06:16:27,781 - INFO - Received filetype completion available request
2019-03-27 06:16:28,039 - INFO - Received setTypings event from TSServer
2019-03-27 06:16:28,317 - INFO - Received projectsUpdatedInBackground event from TSServer
2019-03-27 06:16:28,419 - INFO - Received syntaxDiag event from TSServer
2019-03-27 06:16:28,424 - INFO - Received semanticDiag event from TSServer
2019-03-27 06:16:28,426 - INFO - Received suggestionDiag event from TSServer
2019-03-27 06:16:32,644 - INFO - Received event notification
2019-03-27 06:16:32,645 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:32,645 - INFO - Adding ONE buffer identifier for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:32,960 - INFO - Received event notification
2019-03-27 06:16:32,960 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:34,053 - INFO - Received completion request
2019-03-27 06:16:34,054 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,185 - INFO - Received completion request
2019-03-27 06:16:34,185 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,312 - INFO - Received completion request
2019-03-27 06:16:34,312 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,386 - INFO - Received completion request
2019-03-27 06:16:34,386 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,537 - INFO - Received completion request
2019-03-27 06:16:34,537 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,640 - INFO - Received event notification
2019-03-27 06:16:34,640 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:34,641 - INFO - Adding ONE buffer identifier for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:34,642 - INFO - Received completion request
2019-03-27 06:16:34,642 - DEBUG - Using filetype completion: False
2019-03-27 06:16:34,859 - INFO - Received completion request
2019-03-27 06:16:34,861 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,055 - INFO - Received completion request
2019-03-27 06:16:35,056 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,163 - INFO - Received completion request
2019-03-27 06:16:35,163 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,180 - INFO - Received completion request
2019-03-27 06:16:35,181 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,386 - INFO - Received event notification
2019-03-27 06:16:35,386 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:35,386 - INFO - Adding ONE buffer identifier for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:35,388 - INFO - Received completion request
2019-03-27 06:16:35,388 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,656 - INFO - Received completion request
2019-03-27 06:16:35,656 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,881 - INFO - Received completion request
2019-03-27 06:16:35,885 - DEBUG - Using filetype completion: False
2019-03-27 06:16:35,992 - INFO - Received completion request
2019-03-27 06:16:35,993 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,116 - INFO - Received completion request
2019-03-27 06:16:36,117 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,220 - INFO - Received completion request
2019-03-27 06:16:36,220 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,307 - INFO - Received completion request
2019-03-27 06:16:36,307 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,398 - INFO - Received completion request
2019-03-27 06:16:36,398 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,414 - INFO - Received completion request
2019-03-27 06:16:36,415 - DEBUG - Using filetype completion: False
2019-03-27 06:16:36,541 - INFO - Received event notification
2019-03-27 06:16:36,541 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:36,541 - INFO - Adding ONE buffer identifier for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:36,543 - INFO - Received completion request
2019-03-27 06:16:36,543 - DEBUG - Using filetype completion: False
2019-03-27 06:16:37,054 - INFO - Received completion request
2019-03-27 06:16:37,054 - DEBUG - Using filetype completion: False
2019-03-27 06:16:40,112 - INFO - Received event notification
2019-03-27 06:16:40,114 - INFO - Received completion request
2019-03-27 06:16:40,115 - DEBUG - Event name: CurrentIdentifierFinished
2019-03-27 06:16:40,116 - DEBUG - Using filetype completion: False
2019-03-27 06:16:41,286 - INFO - Received event notification
2019-03-27 06:16:41,286 - DEBUG - Event name: FileReadyToParse
2019-03-27 06:16:41,286 - INFO - Adding buffer identifiers for file: /Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/tests/javascript/testdata/test.js
2019-03-27 06:16:41,288 - INFO - Received event notification
2019-03-27 06:16:41,289 - DEBUG - Event name: InsertLeave
2019-03-27 06:16:47,779 - INFO - Received debug info request
2019-03-27 06:16:55,776 - INFO - Received debug info request
2019-03-27 06:17:26,198 - INFO - Received debug info request
2019-03-27 06:18:59,876 - INFO - Received debug info request
2019-03-27 06:18:59,878 - ERROR - Error retrieving completer debug info
Traceback (most recent call last):
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 234, in DebugInfo
request_data ).DebugInfo( request_data )
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 298, in _GetCompleterForRequestData
return _server_state.GetFiletypeCompleter( request_data[ 'filetypes' ] )
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/server_state.py", line 87, in GetFiletypeCompleter
current_filetypes ) )
ValueError: No semantic completer exists for filetypes: ['']
2019-03-27 06:19:07,226 - INFO - Received debug info request
2019-03-27 06:19:07,233 - ERROR - Error retrieving completer debug info
Traceback (most recent call last):
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 234, in DebugInfo
request_data ).DebugInfo( request_data )
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 298, in _GetCompleterForRequestData
return _server_state.GetFiletypeCompleter( request_data[ 'filetypes' ] )
File "/Users/badfilms/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/server_state.py", line 87, in GetFiletypeCompleter
current_filetypes ) )
ValueError: No semantic completer exists for filetypes: ['']
The log is useful, but please can you include exact steps to reproduce including the exact key presses you are using. I can see you're using our test files, so that's a good step. You can see from my gif earlier that when i do it (on the same OS) it works.
I am literally writing the same class as you do int he gif, and pressing ctrl + space after typing B. I get no results, even after waiting quite a while. However, if I type Ba, I get the completion suggestions I posted in the screenshot.
As I mentioned, they are all IDs. This is constant right now across all languages for any local definitions. So, for example, if I have a python function:
def foo(bar):
and type fo, foo has the classification [ID]. Unless I am mistaken, foo should be classified as a function and show its parameters.
Unless I am mistaken, foo should be classified as a function and show its parameters.
You're mistaken, but that's neither here nor there for this discussion.
Please state the exact steps in a list of the form
<key>We will then perform those exact steps and compare our results.
The logs show that semantic completion is never triggered (Using semantic completion: is always False). Are you sure <C-Space> is properly passed to Vim? Try to set the g:ycm_key_invoke_completion option to a different key.
@micbou that did the trick. I am confused why <C-Space> isn't working out of the box, though.
is ctrl-space sending something like NUL ? What is printed if you insert mode <C-v><C-space>
Yep it appears to be. (<c-v><c-space> just stays on the ^ char)
then something is handling the key code and not forwarding it to vim. it's a problem with your environment not forwarding this key code.
Cool I'll figure it out. Thanks for the help.
This reminds me of an old issue. If I remember correctly, putty doens't forward <C-Space> to vim.
So I didn't have this issue in the past when using YCM (though it has been several months since I have been working with more obscure languages). However, ctrl+space and ctrl+shift+space are reserved by macOS to switch input sources (or keyboard layouts). These must have been enabled during an update or something. Disabling them in system preferences fixed the issue.
I have this issue as well where YCM doesn't show prompts for auto-imports. Changing g:ycm_key_invoke_completion doesn't help either. I've disabled <C-Space> in System Preferences as well.

Can you perform alll of the diagnostic steps already in this thread and tell us the results? just saying "me too" doesn't add to the story, it's just noise.