www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Language Reference

reply Etienne <etcimon globecsys.com> writes:
I'm not sure if this has been discussed before. I use the language 
reference a lot on dlang.org and I've been finding it difficult not to 
use CTRL+F on the menu at the left which has it sorted pretty much randomly.

Clicking on "Language Reference" brings me to "Lexical" rather than an 
alphabetically sorted list or a detailed summary. If I want to find 
"Mixins" for example (because I remembered the page title), I have to 
look through the entire menu twice just to discover it's called 
"Template Mixins" and the page title is inconsistent. Ugh..
Dec 16 2013
parent reply "simendsjo" <simendsjo gmail.com> writes:
On Monday, 16 December 2013 at 20:17:27 UTC, Etienne wrote:
 I'm not sure if this has been discussed before. I use the 
 language reference a lot on dlang.org and I've been finding it 
 difficult not to use CTRL+F on the menu at the left which has 
 it sorted pretty much randomly.

 Clicking on "Language Reference" brings me to "Lexical" rather 
 than an alphabetically sorted list or a detailed summary. If I 
 want to find "Mixins" for example (because I remembered the 
 page title), I have to look through the entire menu twice just 
 to discover it's called "Template Mixins" and the page title is 
 inconsistent. Ugh..
I just use google: mixin site:dlang.org The first hit is string mixins, the second is template mixin.
Dec 16 2013
parent reply Marco Leise <Marco.Leise gmx.de> writes:
Am Mon, 16 Dec 2013 21:46:27 +0100
schrieb "simendsjo" <simendsjo gmail.com>:

 On Monday, 16 December 2013 at 20:17:27 UTC, Etienne wrote:
 I'm not sure if this has been discussed before. I use the 
 language reference a lot on dlang.org and I've been finding it 
 difficult not to use CTRL+F on the menu at the left which has 
 it sorted pretty much randomly.

 Clicking on "Language Reference" brings me to "Lexical" rather 
 than an alphabetically sorted list or a detailed summary. If I 
 want to find "Mixins" for example (because I remembered the 
 page title), I have to look through the entire menu twice just 
 to discover it's called "Template Mixins" and the page title is 
 inconsistent. Ugh..
I just use google: mixin site:dlang.org The first hit is string mixins, the second is template mixin.
Some browsers allow you to create mnemonics for searches. So you can reduce the typing in the address bar to: d mixin E.g. in Opera you visit dlang.org then right-click on the search field in the top-right and select "Create search..." -- Marco
Dec 17 2013
parent reply Martin Nowak <code dawg.eu> writes:
On 12/17/2013 03:11 PM, Marco Leise wrote:
 Some browsers allow you to create mnemonics for searches. So
 you can reduce the typing in the address bar to:

    d mixin

 E.g. in Opera you visit dlang.org then right-click on the
 search field in the top-right and select "Create search..."
And there is also a cmdline tool to do this, dman. Still anything that helps to improve the usability of the website is welcome https://github.com/D-Programming-Language/dlang.org.
Dec 19 2013
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/19/2013 2:11 PM, Martin Nowak wrote:
 And there is also a cmdline tool to do this, dman.
 Still anything that helps to improve the usability of the website is welcome
 https://github.com/D-Programming-Language/dlang.org.
I find dman to be very convenient. Glad someone else noticed it :-)
Dec 20 2013
prev sibling parent reply "ilya-stromberg" <ilya-stromberg-2009 yandex.ru> writes:
On Thursday, 19 December 2013 at 22:11:33 UTC, Martin Nowak wrote:
 And there is also a cmdline tool to do this, dman.
I didn't know about it. How can I download it? Also, can we add a link to the `dman` at the http://dlang.org/download.html page (or at some similar place)?
Dec 21 2013
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 12/21/2013 7:33 AM, ilya-stromberg wrote:
 On Thursday, 19 December 2013 at 22:11:33 UTC, Martin Nowak wrote:
 And there is also a cmdline tool to do this, dman.
I didn't know about it. How can I download it? Also, can we add a link to the `dman` at the http://dlang.org/download.html page (or at some similar place)?
It comes with the dmd installation, it's in the same bin directory as dmd.exe.
Dec 21 2013
parent "ilya-stromberg" <ilya-stromberg-2009 yandex.ru> writes:
On Saturday, 21 December 2013 at 22:18:02 UTC, Walter Bright 
wrote:
 On 12/21/2013 7:33 AM, ilya-stromberg wrote:
 On Thursday, 19 December 2013 at 22:11:33 UTC, Martin Nowak 
 wrote:
 And there is also a cmdline tool to do this, dman.
I didn't know about it. How can I download it? Also, can we add a link to the `dman` at the http://dlang.org/download.html page (or at some similar place)?
It comes with the dmd installation, it's in the same bin directory as dmd.exe.
Thanks. Please, add some information about `dmain` to the `Downloads & Tools` section of `dlang.org` site. It looks like nobody knows about it except core language developers.
Dec 21 2013