-
Notifications
You must be signed in to change notification settings - Fork 253
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
Autocomplete with expand arguments in snippet #654
Comments
Imho, such feature requires to sent full set of completion model, just like tokens to client side. So, if I can ask for some additional requirements for such interfaces changes: As reference implementation of completion string mapping in format like json model, you can use such python bindings. Their completion string mappings have rest of detail which are enough for the most full completion implementation on the client side. |
https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol |
Incidentally. This is now implemented. There might be bugs but you can now rc --code-complete-at /Users/abakken/dev/rtags/src/rdm.cpp:50:1: Note that I suspect there's too much info there for it to be performant. I Anders On Thu, Apr 7, 2016 at 2:46 PM, Maxim Kot notifications@github.com wrote:
|
Is the emacs part of this done ? I guess company mode integration will also need an update to show the details ? |
Not really. I don't entirely know what one would need to do to implement it Anders On Fri, Aug 26, 2016 at 10:24 AM, Aneesh Kumar K.V <notifications@github.com
|
https://github.com/company-mode/company-mode/blob/master/company-gtags.el that indicate that we can insert argument template if the company backend support it when building completions. I am not expert in elisp to code that. But i noticed that even rc --code-complete-at --elisp returns the argument details. So we may be able to skip the all the json part and just get the arguments in completion with simple hack ? |
Hm. You know what. We already do this apparently. I think Philippe Vaucher Anders On Thu, Apr 7, 2016 at 7:31 AM, Aneesh Kumar K.V notifications@github.com
|
I think we can close this. |
I am writing this to check whether we support argument expansion while autocomplete ?. Something similar to http://emacs.stackexchange.com/questions/9526/extending-autocomplete-for-go-to-insert-function-arguments
The text was updated successfully, but these errors were encountered: