| View previous topic :: View next topic |
| Author |
Message |
Phoscur
Joined: 30 Dec 2009 Posts: 4
|
Posted: Thu Dec 31, 2009 12:49 pm Post subject: JavaScript code completion / documentation |
|
|
Hi!
Some of you may know this pattern in javascript:
| Code: | someObject = function () {
// some stuff including private variables
return { someAttribute: "blubb" };
}();
| Note the execution of the anonym function, which assigns the created object to "someObject".
Well, writing code like this seems not to work correctly in Netbeans (6. . I don't get a correct code completion for the object, the pattern is not recognised.
Additionally I get a strange message here (and all similar places):
| Code: | var self = {
/**
* change the location where the getter is taking the template files from
* @param string newDir
*/
setDir: function setDir(newDir) {
dir = newDir;
},
// .... |
"Incorrect documentation: missing [newDir] and defining extras [string]"
Same here:
| Code: | * parse data into the template
*
* @param object/array data
* @return Template
*/
Template.prototype.parse = function parse(data) {
}; |
(Tried a secondary file for documentation.)
I've seen Netbeans proposed as the second/third best JavaScripteditor, now I'm dissapointed... Am I doing something wrong?
In comparision Aptana Studio, has some evolved ScriptDoc syntax for JavaScript to handle these patterns, also it handels my last example.
I'm not happy with both IDE's, Aptana's pattern recognition is not that nice either..
Now, is it me not using the right features, or aren't these features simply not implemented. Maybe I should try IntelliSense? |
|
| Back to top |
|
 |
Marvin Hunkin Posted via mailing list.
|
Posted: Sun Jan 03, 2010 11:54 pm Post subject: Re: JavaScript code completion / documentation |
|
|
hi.
can you send me the subscription details for this mailling list please.
Marvin.
----- Original Message -----
From: "Phoscur" <address-removed>
To: <address-removed>
Sent: Thursday, December 31, 2009 11:50 PM
Subject: [nbajax] JavaScript code completion / documentation
Hi!
Some of you may know this pattern in javascript:
Code:
someObject = function () {
// some stuff including private variables
return { someAttribute: "blubb" };
}();
Note the execution of the anonym function, which assigns the created object
to "someObject".
Well, writing code like this seems not to work correctly in Netbeans (6. .
I don't get a correct code completion for the object, the pattern is not
recognised.
Additionally I get a strange message here (and all similar places):
Code:
var self = {
/**
* change the location where the getter is taking the template files
from
* @param string newDir
*/
setDir: function setDir(newDir) {
dir = newDir;
},
// ....
"Incorrect documentation: missing [newDir] and defining extras [string]"
Same here:
Code:
* parse data into the template
*
* @param object/array data
* @return Template
*/
Template.prototype.parse = function parse(data) {
};
(Tried a secondary file for documentation.)
I've seen Netbeans proposed as the second/third best JavaScripteditor, now
I'm dissapointed... Am I doing something wrong?
In comparision Aptana Studio, has some evolved ScriptDoc syntax for
JavaScript to handle these patterns, also it handels my last example.
I'm not happy with both IDE's, Aptana's pattern recognition is not that nice
either..
Now, is it me not using the right features, or aren't these features simply
not implemented. Maybe I should try IntelliSense? |
|
| Back to top |
|
 |
Phoscur
Joined: 30 Dec 2009 Posts: 4
|
Posted: Mon Jan 04, 2010 12:53 am Post subject: |
|
|
| Sorry, I don't get what you mean. What do you want. Even knowing what mailing lists are, I am more familiar with forums and I would like to stick to it. Could you please answer my question(s) if you can? Else give me more details to help you. |
|
| Back to top |
|
 |
Marvin Hunkin Posted via mailing list.
|
Posted: Mon Jan 04, 2010 10:50 pm Post subject: Re: JavaScript code completion / documentation |
|
|
hi.
well which mailling list is this.
cannot remmeber subscribing to this.
and want the digest mode for this list.
so send me the mailling list details.
and what lists are you on.
Marvin.
----- Original Message -----
From: "Phoscur" <address-removed>
To: <address-removed>
Sent: Monday, January 04, 2010 11:53 AM
Subject: [nbajax] JavaScript code completion / documentation
Sorry, I don't get what you mean. What do you want. Even knowing what
mailing lists are, I am more familiar with forums and I would like to stick
to it. Could you please answer my question(s) if you can? Else give me more
details to help you. |
|
| Back to top |
|
 |
Phoscur
Joined: 30 Dec 2009 Posts: 4
|
Posted: Wed Jan 06, 2010 2:49 pm Post subject: |
|
|
Well, this is [nbajax], I have no idea what the digest mode is, what the details of this list are, and I'm not on any list.
Maybe you take a look at this:
http://forums.netbeans.org/viewtopic.php?t=21581 |
|
| Back to top |
|
 |
Vatsal_r Posted via mailing list.
|
Posted: Fri Jan 08, 2010 12:04 pm Post subject: |
|
|
| Hi, I do have a website where you can purchase camera, cars, computers, cell phones, etc at cheaper rates.with best quality. Check out my site best deals and you can have best dealing here. |
|
| Back to top |
|
 |
Phoscur
Joined: 30 Dec 2009 Posts: 4
|
Posted: Mon Jan 11, 2010 10:22 am Post subject: |
|
|
| Great forum! |
|
| Back to top |
|
 |
Humage
Joined: 24 Jul 2009 Posts: 104 Location: Cloud 9
|
Posted: Mon Jan 11, 2010 2:09 pm Post subject: |
|
|
| I am using 6.7.1 and I have copied all of your posted code snippets into a js file in the editor. Something must be different with version 6.8 as all seem to show up correctly without errors. |
|
| Back to top |
|
 |
markwright789
Joined: 30 May 2011 Posts: 15
|
Posted: Mon May 30, 2011 9:28 am Post subject: |
|
|
| I am using 6.7.1 and I have copied completely of your posted code snippets into a js file in the editor. Something must be unlike with version 6.8 as all appear to show up correctly without errors. |
|
| Back to top |
|
 |
mikwhite
Joined: 13 Jun 2011 Posts: 4
|
Posted: Mon Jun 13, 2011 4:40 pm Post subject: |
|
|
I really enjoyed reasing your blog, and it looks wonderful. If you get a chance you should visit my blog as well. I hope you have a nice day!
NY Web Design |
|
| Back to top |
|
 |
doncorneo
Joined: 15 Jun 2011 Posts: 4
|
Posted: Wed Jun 15, 2011 9:51 am Post subject: |
|
|
It is funny for me to read this article. However, such information is an education for me. And I am very grateful for this article.
visit my blog |
|
| Back to top |
|
 |
CloeMay
Joined: 21 Jun 2011 Posts: 4
|
Posted: Tue Jun 21, 2011 9:12 pm Post subject: |
|
|
| Women, basically just want in love, in love, and in value. What is the most valuable thing we can give to a woman? The answer is to get them married, and live happily ever after. safety signs |
|
| Back to top |
|
 |
goldclover87
Joined: 21 Jun 2011 Posts: 4
|
Posted: Tue Jun 21, 2011 10:13 pm Post subject: |
|
|
You seem to have lost the directory or simultaneously with the loss of the variable identifier. Try to check the structure of your program, so you can find out where the location of faults.
sql server deadlock |
|
| Back to top |
|
 |
williamblur
Joined: 23 Jun 2011 Posts: 5
|
Posted: Thu Jun 23, 2011 4:32 am Post subject: |
|
|
Wordpress is likely, to be one of the sites-That the blog is very reliable at this time. In terms of prestige, wordpress, moreover Might be Able to raise the price of one.
laptop carrying cases |
|
| Back to top |
|
 |
yamakitoshi
Joined: 29 Jun 2011 Posts: 5
|
Posted: Thu Jun 30, 2011 6:55 am Post subject: |
|
|
Colleges to disclose more details about their programs, including graduation rates, typical loan debts and job placement rates. Such for-profit schools must describe that information on promotional material as well as online.
Baltimore SEO |
|
| Back to top |
|
 |
|