www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - blog post - "An illustrated guide to using Sublime Text 3 for D

reply Pradeep Gowda <pradeep btbytes.com> writes:
Sublime text 3 is a decent editor to write D code. However, 
getting all the different plugins working together has always 
proven to be somewhat of a challenge for me. So, I decided to 
document the process as I went along.

The result is here: https://www.btbytes.com/posts/st3d.html

Comments are suggestions are welcome.
Jan 21 2016
next sibling parent reply Brian Schott <briancschott gmail.com> writes:
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Comments are suggestions are welcome.
You probably want to point DCD at the phobos and druntime import directories that DMD is actually using, not whatever is in git master. If you run `dmd` with no arguments it will tell you the location of its config file. From that you can determine the phobos and druntime import directories.
Jan 21 2016
parent Pradeep Gowda <pradeep btbytes.com> writes:
On Friday, 22 January 2016 at 04:45:15 UTC, Brian Schott wrote:
 On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Comments are suggestions are welcome.
You probably want to point DCD at the phobos and druntime import directories that DMD is actually using, not whatever is in git master. If you run `dmd` with no arguments it will tell you the location of its config file. From that you can determine the phobos and druntime import directories.
Thanks for pointing this out. I've updated the page.
Jan 22 2016
prev sibling next sibling parent reply Nicholas Londey <londey gmail.com> writes:
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Sublime text 3 is a decent editor to write D code. However, 
 getting all the different plugins working together has always 
 proven to be somewhat of a challenge for me. So, I decided to 
 document the process as I went along.

 The result is here: https://www.btbytes.com/posts/st3d.html

 Comments are suggestions are welcome.
Thanks for the tutorial. I will definitely give this a try. About a year ago I wrote a SublimeText project generator for DUB. It was fairly simplistic but met my needs at the time. That reminds me that I possibly have some local improvements I really should create a pull request for. Example Usage: dub generate sublimetext
Jan 22 2016
parent Pradeep Gowda <pradeep btbytes.com> writes:
On Friday, 22 January 2016 at 10:52:18 UTC, Nicholas Londey wrote:
 About a year ago I wrote a SublimeText project generator for 
 DUB. It was fairly simplistic but met my needs at the time. 
 That reminds me that I possibly have some local improvements I 
 really should create a pull request for.

 Example Usage:
 dub generate sublimetext
I believe DKit provides this feature too via "DKit: Create project from DUB package file" option in the context menu.
Jan 22 2016
prev sibling next sibling parent NVolcz <niklas.volcz gmail.com> writes:
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Sublime text 3 is a decent editor to write D code. However, 
 getting all the different plugins working together has always 
 proven to be somewhat of a challenge for me. So, I decided to 
 document the process as I went along.

 The result is here: https://www.btbytes.com/posts/st3d.html

 Comments are suggestions are welcome.
Would love to see a tutorial on setting up the SublimeGDB plugin for D code! And/or tutorials on other tools for debugging :-)
Jan 22 2016
prev sibling next sibling parent reply Suliman <evermind live.ru> writes:
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Sublime text 3 is a decent editor to write D code. However, 
 getting all the different plugins working together has always 
 proven to be somewhat of a challenge for me. So, I decided to 
 document the process as I went along.

 The result is here: https://www.btbytes.com/posts/st3d.html

 Comments are suggestions are welcome.
Could you explain how to use Sublime Linter for D? I see that it's work, but do not understand profits.
Feb 16 2016
parent Suliman <evermind live.ru> writes:
On Tuesday, 16 February 2016 at 08:18:04 UTC, Suliman wrote:
 On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Sublime text 3 is a decent editor to write D code. However, 
 getting all the different plugins working together has always 
 proven to be somewhat of a challenge for me. So, I decided to 
 document the process as I went along.

 The result is here: https://www.btbytes.com/posts/st3d.html

 Comments are suggestions are welcome.
Could you explain how to use Sublime Linter for D? I see that it's work, but do not understand profits.
Am I right understand that it's very limited and show only red and yellow points where can be error?
Feb 16 2016
prev sibling parent reply sigod <sigod.mail gmail.com> writes:
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote:
 Sublime text 3 is a decent editor to write D code. However, 
 getting all the different plugins working together has always 
 proven to be somewhat of a challenge for me. So, I decided to 
 document the process as I went along.

 The result is here: https://www.btbytes.com/posts/st3d.html

 Comments are suggestions are welcome.
This webpage is not available
Feb 16 2016
parent Pradeep Gowda <pradeep btbytes.com> writes:
On Tuesday, 16 February 2016 at 11:49:41 UTC, sigod wrote:
 This webpage is not available
AFAIK, there is no reason for it to be not available -- it's a static page on a pretty low traffic site :) Please try again.
Feb 19 2016