eclipse auto-completion feature with descriptive argument names











up vote
0
down vote

favorite












i use eclipse as IDE for writing java programs. i can use auto-completion feature of course, for example, when i want to open a JOptionPane, auto-complete show it for me as below



enter image description here



as you see it just show available fitting methods, argument list, and type of each methods argument , but each argument is written as arg0, arg1,... !



but recently i watch a video tutorial and i see that auto-completion feature in lecturer system show everything like mine, except that it doesn't show arguments as arg0, arg1, ... , but give them an descriptive name! like below:



enter image description here



i wonder how can i make my eclipse auto-completion to use a descriptive name for each argument, since it's so helpful I think.
thanks










share|improve this question






















  • Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
    – nitind
    8 hours ago










  • @nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
    – feel free
    7 hours ago










  • This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
    – nitind
    7 hours ago

















up vote
0
down vote

favorite












i use eclipse as IDE for writing java programs. i can use auto-completion feature of course, for example, when i want to open a JOptionPane, auto-complete show it for me as below



enter image description here



as you see it just show available fitting methods, argument list, and type of each methods argument , but each argument is written as arg0, arg1,... !



but recently i watch a video tutorial and i see that auto-completion feature in lecturer system show everything like mine, except that it doesn't show arguments as arg0, arg1, ... , but give them an descriptive name! like below:



enter image description here



i wonder how can i make my eclipse auto-completion to use a descriptive name for each argument, since it's so helpful I think.
thanks










share|improve this question






















  • Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
    – nitind
    8 hours ago










  • @nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
    – feel free
    7 hours ago










  • This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
    – nitind
    7 hours ago















up vote
0
down vote

favorite









up vote
0
down vote

favorite











i use eclipse as IDE for writing java programs. i can use auto-completion feature of course, for example, when i want to open a JOptionPane, auto-complete show it for me as below



enter image description here



as you see it just show available fitting methods, argument list, and type of each methods argument , but each argument is written as arg0, arg1,... !



but recently i watch a video tutorial and i see that auto-completion feature in lecturer system show everything like mine, except that it doesn't show arguments as arg0, arg1, ... , but give them an descriptive name! like below:



enter image description here



i wonder how can i make my eclipse auto-completion to use a descriptive name for each argument, since it's so helpful I think.
thanks










share|improve this question













i use eclipse as IDE for writing java programs. i can use auto-completion feature of course, for example, when i want to open a JOptionPane, auto-complete show it for me as below



enter image description here



as you see it just show available fitting methods, argument list, and type of each methods argument , but each argument is written as arg0, arg1,... !



but recently i watch a video tutorial and i see that auto-completion feature in lecturer system show everything like mine, except that it doesn't show arguments as arg0, arg1, ... , but give them an descriptive name! like below:



enter image description here



i wonder how can i make my eclipse auto-completion to use a descriptive name for each argument, since it's so helpful I think.
thanks







eclipse autocomplete






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 hours ago









feel free

303




303












  • Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
    – nitind
    8 hours ago










  • @nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
    – feel free
    7 hours ago










  • This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
    – nitind
    7 hours ago




















  • Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
    – nitind
    8 hours ago










  • @nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
    – feel free
    7 hours ago










  • This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
    – nitind
    7 hours ago


















Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
– nitind
8 hours ago




Is your project's Java Build Path's JRE System Library pointing to a JRE or a JDK?
– nitind
8 hours ago












@nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
– feel free
7 hours ago




@nitind i don't know exactly what you mean, i'm new to java programming and now i'm writing a simple java swing app. if i can answer to what you ask plz tell me from where i can figure it out.
– feel free
7 hours ago












This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
– nitind
7 hours ago






This is a question about the project's setup. In the Package Explorer, you should see an entry for a "JRE System Library" that refers to the Java runtime your own code is compiled against. Is it a JDK or a JRE? Since you're developing Java, it's best if it's a JDK.
– nitind
7 hours ago



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53400665%2feclipse-auto-completion-feature-with-descriptive-argument-names%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53400665%2feclipse-auto-completion-feature-with-descriptive-argument-names%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...