Open andybp85 opened 7 years ago
The name of file types can be different between ycmd and atom. So there is a function used for converting, for example, js
and jsx
to javascript
. It is likely that ts
has a different name in ycmd. You can try modifying that function and see if it works. Also sending a PR is welcome.
I've been using YouCompleteMe on vim for years. This is probably an easy fix but I had zero luck finding anything relevant on Google and I'm asking on here as a last resort, so thanks in advance for any help!
I'm using the same ycmd install I use for vim and testing on the same file in atom and vim, called menuview.ts. Relevant part:
In vim, if I run
:YcmdCompleter GetType
onthis.items
, I get back(property) MenuItems.items: any[]
. Awesome.I have my you-complete-me packages settings pointing at the same python and folder that vim uses. In Enabled Filetypes I have
c, cpp, objc, objcpp, js, py, ts
(I've also triedtypescript
here). I see YouCompleteMe working, but when I try to GetType on the same line I get this error:At the moment I'm befuddled. Thanks again for any help!