Jump to page: 1 24  
Page
Thread overview
code-d 0.12.0 - The user friendly release (code-d for noobs)
Oct 04, 2016
WebFreak001
Oct 05, 2016
Suliman
Oct 05, 2016
Rory McGuire
Oct 05, 2016
WebFreak001
Oct 05, 2016
Rory McGuire
Oct 05, 2016
drug
Oct 09, 2016
Wild
Oct 09, 2016
Dmitry
Oct 09, 2016
WebFreak001
Oct 09, 2016
Dmitry
Oct 15, 2016
bitwise
Oct 15, 2016
WebFreak001
Oct 06, 2016
Chris Wright
Oct 06, 2016
Patric Dexheimer
Oct 05, 2016
Joel
Oct 05, 2016
Dmitry
Oct 05, 2016
WebFreak001
Oct 06, 2016
Luís Marques
Oct 06, 2016
WebFreak001
Oct 06, 2016
Luís Marques
Oct 06, 2016
WebFreak001
Oct 06, 2016
Luís Marques
Oct 08, 2016
Soulsbane
Oct 08, 2016
WebFreak001
Oct 08, 2016
bitwise
Oct 08, 2016
WebFreak001
Oct 08, 2016
bitwise
Oct 08, 2016
WebFreak001
Oct 08, 2016
bitwise
Oct 08, 2016
WebFreak001
Oct 08, 2016
WebFreak001
Oct 08, 2016
bitwise
October 04, 2016
I've been working a lot on the new features for code-d to improve the user experience for new users and lower the barrier of creating D projects.

The new release contains:
* dub.json editor GUI [1] <- biggest one this update
* creation of D projects from templates [2]
* detection of missing tools & installation
* helping user setup paths for auto completion

The dub.json GUI is designed like the project settings from visual studio when you program in C#. It has a user-friendly interface to set all values. Only dependencies are currently a bit less friendly to use due to limitations of the HTML preview of vscode. Currently the editor as well as most other code-d features don't support sub-packages yet.

Also I have made a few templates [3] (10 as of now) for project creation which is basically like dub init from the IDE. If anyone has made some common library like gtk-d, dlangui or vibe.d and wants to include a project template in code-d, just PR or post an issue on the project page https://github.com/Pure-D/code-d


Getting the newest release is really easy now, as workspace-d and other dependencies will be installed for you. Simply get vscode and use the extension manager to install code-d. You should be guided through the rest using some notification messages at the top.

If you find any issues in this new release please post an issue on the project page. Thanks for taking your time to read this.

[1] https://github.com/Pure-D/code-d/wiki/Dub-Project-Settings
[2] https://github.com/Pure-D/code-d/wiki/Project-Creation
[3] https://github.com/Pure-D/code-d/tree/master/templates
October 05, 2016
Please, add Sublime support
October 05, 2016
On Tuesday, 4 October 2016 at 19:28:27 UTC, WebFreak001 wrote:
> I've been working a lot on the new features for code-d to improve the user experience for new users and lower the barrier of creating D projects.
>
> [...]

I'm using macOS 10.12. I get this warning -> A path in your d.stdlibPath setting doesn't exist. Auto completion might lack some s
October 05, 2016
On Wed, Oct 5, 2016 at 7:53 AM, Suliman via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote:

> Please, add Sublime support
>

@WebFreak001: I too am curious as to why you chose to support two obscure editors rather than Sublime as your first supported editors. (Obscure compared to Sublime anyway).

First thing that comes to mind is Sublime is closed source, then one thinks why not limetext, then I realise that feels like a tip of the hat to #golang which feels like betrayal in some ways :D.

Really like what you are doing with workspace-d regardless of the Sublime Text support.

PS: is it because those two editors are JS based?
PS2: dml completion...nice! Really want to try that out since dlangui got
console support.


October 05, 2016
On Wednesday, 5 October 2016 at 07:44:00 UTC, Rory McGuire wrote:
> On Wed, Oct 5, 2016 at 7:53 AM, Suliman via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote:
>
>> Please, add Sublime support
>>
>
> @WebFreak001: I too am curious as to why you chose to support two obscure editors rather than Sublime as your first supported editors. (Obscure compared to Sublime anyway).
>
> First thing that comes to mind is Sublime is closed source, then one thinks why not limetext, then I realise that feels like a tip of the hat to #golang which feels like betrayal in some ways :D.
>
> Really like what you are doing with workspace-d regardless of the Sublime Text support.
>
> PS: is it because those two editors are JS based?
> PS2: dml completion...nice! Really want to try that out since dlangui got
> console support.

well having JS support is great because it means I don't need to port my code, but I didn't add support to sublime because I never used it. Especially the fact that you can buy it makes me wanna not get it becuase that means the free version has some disadvantages to the paid version. And its just a simple text editor, not really wanting to pay for that. Especially for that price.
October 05, 2016
On Wed, Oct 5, 2016 at 3:22 PM, WebFreak001 via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote:

> On Wednesday, 5 October 2016 at 07:44:00 UTC, Rory McGuire wrote:
>
>> On Wed, Oct 5, 2016 at 7:53 AM, Suliman via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote:
>>
>> Please, add Sublime support
>>>
>>>
>> @WebFreak001: I too am curious as to why you chose to support two obscure editors rather than Sublime as your first supported editors. (Obscure compared to Sublime anyway).
>>
>> First thing that comes to mind is Sublime is closed source, then one thinks why not limetext, then I realise that feels like a tip of the hat to #golang which feels like betrayal in some ways :D.
>>
>> Really like what you are doing with workspace-d regardless of the Sublime Text support.
>>
>> PS: is it because those two editors are JS based?
>> PS2: dml completion...nice! Really want to try that out since dlangui got
>> console support.
>>
>
> well having JS support is great because it means I don't need to port my code, but I didn't add support to sublime because I never used it. Especially the fact that you can buy it makes me wanna not get it becuase that means the free version has some disadvantages to the paid version. And its just a simple text editor, not really wanting to pay for that. Especially for that price.
>


I haven't used anything else since I started using Sublime because of CTRL+d (multi select the next match of my current selection) and fuzzy search of the available commands.


October 05, 2016
05.10.2016 16:32, Rory McGuire via Digitalmars-d-announce пишет:
>
>
>
> I haven't used anything else since I started using Sublime because of
> CTRL+d (multi select the next match of my current selection) and fuzzy
> search of the available commands.
>
Agreed
sublime has something that don't let me give it up... It lacks some features of course, but nevertheless I can't to switch to something else.
October 05, 2016
On Tuesday, 4 October 2016 at 19:28:27 UTC, WebFreak001 wrote:
> I've been working a lot on the new features for code-d to improve the user experience for new users and lower the barrier of creating D projects.

Thank you!

Windows 7 x64

I'm trying:
1. Create new project (empty console application)

Sometime within this step I got one of these errors (or both):

a) std.exception.ErrnoException@C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(2543):  (Bad file descriptor)

reproduce: create the project, close IDE (and don't do "close folder"). Delete all files from project's directory. Run IDE and try create project again.

b) std.socket.SocketOSException@std\socket.d(2777): Unable to connect socket: No connection could be made because the target machine actively refused it.
(problem with dcd-client or dcd-server as I understand)

Sometime second error also appears after IDE closed (also once I had "dcd-server.exe has stopped working" error)


2. Run created project using "code-d: run project",
result is:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
Not enough storage is available to process this command.

f:\projects\dlang\coded_test>


Sometime if I trying run "Empty DlangUI Application" then I have this error:
command 'code-d.run' not found
(for example, when try to run immediately after creation).


October 05, 2016
On Wednesday, 5 October 2016 at 14:56:30 UTC, Dmitry wrote:
> On Tuesday, 4 October 2016 at 19:28:27 UTC, WebFreak001 wrote:
>> I've been working a lot on the new features for code-d to improve the user experience for new users and lower the barrier of creating D projects.
>
> Thank you!
>
> Windows 7 x64
>
> I'm trying:
> 1. Create new project (empty console application)
>
> Sometime within this step I got one of these errors (or both):
>
> a) std.exception.ErrnoException@C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(2543):  (Bad file descriptor)
>
> reproduce: create the project, close IDE (and don't do "close folder"). Delete all files from project's directory. Run IDE and try create project again.

hmm... I'm gonna try to find out why thats happening

> b) std.socket.SocketOSException@std\socket.d(2777): Unable to connect socket: No connection could be made because the target machine actively refused it.
> (problem with dcd-client or dcd-server as I understand)

Yeah I know about this one because it also keeps happening to me. Not really high priority right now because its just happening when you close vscode. But I need to find out why this happens in the future.

> Sometime second error also appears after IDE closed (also once I had "dcd-server.exe has stopped working" error)

Never had that happen before

> 2. Run created project using "code-d: run project",
> result is:
>
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
> Not enough storage is available to process this command.
>
> f:\projects\dlang\coded_test>

Uh... `code-d: run project` is just opening a terminal and run `dub` in there with some other arguments. Idk why this would result in "not enough storage space available"

> Sometime if I trying run "Empty DlangUI Application" then I have this error:
> command 'code-d.run' not found
> (for example, when try to run immediately after creation).

This happens if it isn't done initializing yet
October 06, 2016
On Wed, 05 Oct 2016 13:22:37 +0000, WebFreak001 wrote:
> Especially the fact that you can buy it makes me wanna not get it becuase that means the free version has some disadvantages to the paid version.

The disadvantage is that it puts "UNLICENSED" in the titlebar and pops up a request that you purchase it every now and then -- I don't recall how frequently, but I don't think it was more than twice a week.
« First   ‹ Prev
1 2 3 4