Jump to page: 1 25  
Page
Thread overview
Adding D Editor Support
Jun 12, 2008
John A. De Goes
Jun 12, 2008
Tower Ty
Jun 12, 2008
BCS
Jun 13, 2008
John A. De Goes
Jun 12, 2008
Chris R. Miller
Jun 13, 2008
Frank Benoit
Jun 13, 2008
Chris R. Miller
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Robert Fraser
Jun 14, 2008
janderson
Jun 13, 2008
Walter Bright
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Georg Wrede
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Walter Bright
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Ary Borenszweig
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Robert Fraser
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Lutger
Jun 13, 2008
John A. De Goes
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Walter Bright
Jun 13, 2008
John A. De Goes
Jun 13, 2008
Ary Borenszweig
Jun 14, 2008
Georg Wrede
Jun 14, 2008
John A. De Goes
Jun 15, 2008
Georg Wrede
Jun 13, 2008
BLS
Jun 13, 2008
John A. De Goes
Jun 13, 2008
BLS
Jun 13, 2008
John A. De Goes
Jun 14, 2008
Nick Sabalausky
Jun 14, 2008
John A. De Goes
Jun 14, 2008
janderson
Jun 15, 2008
John A. De Goes
Jun 15, 2008
Chris R. Miller
Jun 16, 2008
Mike Parker
Jun 16, 2008
Nick Sabalausky
OT: Adding D Editor Support
Jun 20, 2008
Georg Wrede
Jun 20, 2008
Georg Wrede
Jun 20, 2008
Sean Kelly
Jun 20, 2008
Nick Sabalausky
Jun 17, 2008
John A. De Goes
June 12, 2008
Hi,

We're adding support for the D language to UNA (http://www.n-brain.net). The Personal Edition has been released free of charge (down from $100).

However, none of us have used D so we'd like a bit of help.

We've added support (in dev version) to matching messages of the form:

foo.d(5): Warning: silly variable name
foo.d(5): Error: spelling error in variable name "foobir"

Assuming this is correct, we'd like to proceed with adding commonly used source code constructs, D idioms, and so forth. We call this 'source snippets'. Each source snippet has a few letter textual key. Typing that key and invoking the source snippet button inserts the snippet.

So I'm soliciting for everyone's favorite source snippet.
June 12, 2008
John A. De Goes Wrote:

> Hi,
> 
> We're adding support for the D language to UNA (http://www.n-brain.net). The Personal Edition has been released free of charge (down from $100).
> 
> However, none of us have used D so we'd like a bit of help.
> 
> We've added support (in dev version) to matching messages of the form:
> 
> foo.d(5): Warning: silly variable name
> foo.d(5): Error: spelling error in variable name "foobir"
> 
> Assuming this is correct, we'd like to proceed with adding commonly used source code constructs, D idioms, and so forth. We call this 'source snippets'. Each source snippet has a few letter textual key. Typing that key and invoking the source snippet button inserts the snippet.
> 
> So I'm soliciting for everyone's favorite source snippet.

Better adjust your link as what you want people to do is visit your web site I guess What benefits does your editor have that say KDevelop does not?

June 12, 2008
Reply to Tower,

> John A. De Goes Wrote:
> 
>> Hi,
>> 
>> We're adding support for the D language to UNA
>> (http://www.n-brain.net). The Personal Edition has been released free
>
> Better adjust your link as what you want people to do is visit your
> web site I guess 

link looks fine to me. (OTOH if there is a UNA only page it would be better)


June 12, 2008
John A. De Goes wrote:
> Hi,
> 
> We're adding support for the D language to UNA (http://www.n-brain.net). The Personal Edition has been released free of charge (down from $100).
> 
> However, none of us have used D so we'd like a bit of help.

Well there's your problem!  Come back later when you're educated.  If you're having trouble, there are plenty of people who will help you get going with D.




June 13, 2008
John A. De Goes wrote:
> Assuming this is correct, we'd like to proceed with adding commonly
> used source code constructs, D idioms, and so forth. We call this
> 'source snippets'. Each source snippet has a few letter textual key.
> Typing that key and invoking the source snippet button inserts the
> snippet.
> 
> So I'm soliciting for everyone's favorite source snippet.

Can you give us some examples of what form these snippets take in other languages like C++ and Java?
June 13, 2008
John A. De Goes wrote:
> Hi,
> 
> We're adding support for the D language to UNA
> (http://www.n-brain.net). The Personal Edition has been released free
> of charge (down from $100).
> 
> However, none of us have used D so we'd like a bit of help.
> 
> We've added support (in dev version) to matching messages of the
> form:
> 
> foo.d(5): Warning: silly variable name foo.d(5): Error: spelling
> error in variable name "foobir"
> 
> Assuming this is correct, we'd like to proceed with adding commonly
> used source code constructs, D idioms, and so forth. We call this
> 'source snippets'. Each source snippet has a few letter textual key.
> Typing that key and invoking the source snippet button inserts the
> snippet.
> 
> So I'm soliciting for everyone's favorite source snippet.

Either there's something about your company that those who've already posted in this thread know and don't like, or the guys simply were in a bad mood.

Personally I'm glad that D support is being added by a new vendor, that is always welcome.

---

You've already probably downloaded the DMD compiler to get the documentation and lists of reserved words, etc. Witht that same download comes a wealth of source code, from which it should be possible to collect the most used idioms.

They aren't all that different from what the typical Java or C idioms are, so it might be enough to just have most basic construct snippets.
June 13, 2008
John A. De Goes wrote:
> We've added support (in dev version) to matching messages of the form:
> 
> foo.d(5): Warning: silly variable name
> foo.d(5): Error: spelling error in variable name "foobir"

There's multi-line error messages (for example, if there's an ambiguous overload), and occasionally messages don't have a line, just a file.
June 13, 2008
Thanks for the friendly reply. Looks like I caught people on a bad day. :-)

I have identified all the basic constructs, but wonder if I may be missing some things. For example, in Java, the following idioms are quite common (the first two, in concurrent programming):

synchronized (object) {
    object.notifyAll();
}

synchronized (object) {
    while (!condition) {
        try {
            object.wait();
        }
        catch (InterruptedException e) {
            break;
        }
    }
}

new Runnable() {
    public void run() {
    }
}

public static void main(String[] args) {
}

These among many others. But I lack the familiarity with D to make such judgements. I was hoping regular D programmers had some oft-used favorites they could throw in.

Regards,

John


Georg Wrede Wrote:

> John A. De Goes wrote:
> > Hi,
> > 
> > We're adding support for the D language to UNA
> > (http://www.n-brain.net). The Personal Edition has been released free
> > of charge (down from $100).
> > 
> > However, none of us have used D so we'd like a bit of help.
> > 
> > We've added support (in dev version) to matching messages of the
> > form:
> > 
> > foo.d(5): Warning: silly variable name foo.d(5): Error: spelling
> > error in variable name "foobir"
> > 
> > Assuming this is correct, we'd like to proceed with adding commonly used source code constructs, D idioms, and so forth. We call this 'source snippets'. Each source snippet has a few letter textual key. Typing that key and invoking the source snippet button inserts the snippet.
> > 
> > So I'm soliciting for everyone's favorite source snippet.
> 
> Either there's something about your company that those who've already posted in this thread know and don't like, or the guys simply were in a bad mood.
> 
> Personally I'm glad that D support is being added by a new vendor, that is always welcome.
> 
> ---
> 
> You've already probably downloaded the DMD compiler to get the documentation and lists of reserved words, etc. Witht that same download comes a wealth of source code, from which it should be possible to collect the most used idioms.
> 
> They aren't all that different from what the typical Java or C idioms are, so it might be enough to just have most basic construct snippets.

June 13, 2008
Hi Walter,

See my other reply in this same thread for examples of commonly used constructs in Java.

Regards,

John

Walter Bright Wrote:

> John A. De Goes wrote:
> > Assuming this is correct, we'd like to proceed with adding commonly used source code constructs, D idioms, and so forth. We call this 'source snippets'. Each source snippet has a few letter textual key. Typing that key and invoking the source snippet button inserts the snippet.
> > 
> > So I'm soliciting for everyone's favorite source snippet.
> 
> Can you give us some examples of what form these snippets take in other languages like C++ and Java?

June 13, 2008
Hi Tower,

I'm not trying to persuade you to stop using KDevelop. By all means, continue to use your favorite development tool. I'm just soliciting regular D programmers on common constructs and idioms in the language, which are not easy to pick up without months of experience developing in a language.

Regards,

John

Tower  Ty Wrote:

> John A. De Goes Wrote:
> 
> > Hi,
> > 
> > We're adding support for the D language to UNA (http://www.n-brain.net). The Personal Edition has been released free of charge (down from $100).
> > 
> > However, none of us have used D so we'd like a bit of help.
> > 
> > We've added support (in dev version) to matching messages of the form:
> > 
> > foo.d(5): Warning: silly variable name
> > foo.d(5): Error: spelling error in variable name "foobir"
> > 
> > Assuming this is correct, we'd like to proceed with adding commonly used source code constructs, D idioms, and so forth. We call this 'source snippets'. Each source snippet has a few letter textual key. Typing that key and invoking the source snippet button inserts the snippet.
> > 
> > So I'm soliciting for everyone's favorite source snippet.
> 
> Better adjust your link as what you want people to do is visit your web site I guess What benefits does your editor have that say KDevelop does not?
> 

« First   ‹ Prev
1 2 3 4 5