Comments (7)
It works like what you said. But I have remove the type declaration from the parameters. When the parameter completed, the text printf(char*, ...)
will be inserted, and then select parameter char*
(select mode). You can type anything to instead the parameter. And then type <m-n>
, it will jump to ...
and select it. Here's a screenshot.
The picture is to large, it can't put in the markdown.
from completeparameter.vim.
@tenfyzhong yeah, I think it would be wonderfull to show the type that the argument is.
printf
shows
printf( *char, ... )
no type inclusive.
I found that when we edit an argument, it still could jump back to it.
printf("%s\n", "hello world");
then , it back to "hello world"
.
but it can only move back to "hello world"
.
Also, if we don't modify the argment, could it move back to the first one when it hit the last one?
from completeparameter.vim.
I don't think there's a good idea to include the type of the parameter. We can always know the type from the parameter name.
It can not jump back to the first parameter, there's a bug. Thanks to report it. I will fix it later.
from completeparameter.vim.
By the way, sometimes I have a variable has the same name of the parameter, I no need to do anything, just goto the next parameter.
from completeparameter.vim.
By the way, sometimes I have a variable has the same name of the parameter, I no need to do anything, just goto the next parameter.
I don't know the meaning. Can you take some examples?
from completeparameter.vim.
for example:
You have two variable, num1 and num2, and use them to call the add function.
After the completion, it'll select the num1
, but you no need to modify it, you only need to do is jump to the next parameter.
from completeparameter.vim.
then , it back to "hello world".
but it can only move back to "hello world".
Also, if we don't modify the argment, could it move back to the first one when it hit the last one?
I have fix this bug by the commit 08cb954
.
from completeparameter.vim.
Related Issues (20)
- YouCompleteMe error message corvered CompleteParameter signature message. HOT 2
- when complete function, not want complete the parameter type
- missing space between long parameter type like 'const struct sockaddr *' HOT 1
- Cannot work with Python
- Are there any options to not complete the python default parameters at all?
- How can I use 'Tab' and 'C-Tab' to switch choosing parameters HOT 4
- Plug doesn't work HOT 21
- 插件没有运行 HOT 3
- PHP integration
- conflict with ultisnips keymap HOT 1
- How to also keep the types for parameters and not just the names. HOT 3
- How to install with "pathogen"? HOT 1
- 插件没有正常工作 HOT 1
- Arguments Not Shown For Unkown Reason HOT 4
- Hope to support coc.nvim HOT 3
- Solution about auto-pair has some side-effects HOT 17
- Is there a demo show how to use select previous and next overload HOT 1
- [FeatureRequest] fallback to generic auto detect if filetype not configured HOT 1
- Can't completer paramter after i upgrade Youcompleterme . HOT 2
- Support for Completor.vim HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from completeparameter.vim.