Jump to page: 1 2
Thread overview
Mac IDE with Intellisense
Sep 26, 2015
Mike McKee
Sep 26, 2015
Rikki Cattermole
Sep 26, 2015
wobbles
Sep 26, 2015
Mike McKee
Sep 27, 2015
Johannes Loher
Sep 28, 2015
wobbles
Sep 26, 2015
Gary Willoughby
Sep 26, 2015
Mike McKee
Oct 01, 2015
Marco Leise
Sep 26, 2015
extrawurst
Sep 27, 2015
nazriel
September 26, 2015
I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to have the D2 language in it yet (only D), and doesn't have intellisense for components in the imports that I do, even after saving the file after adding the import statements.

What OSX editor do you recommend that would have intellisense?

In all reality, I don't like intellisense -- it's annoying. However, I need it because the documentation for me is still a little hard to read and hard for me to search for a class method here or there. For instance, I was doing toHexString(myByteArray) instead of simply doing myByteArray.toHexString(). (That was on an md5 example, by the way.) Intellisense would have helped me realize this.


September 26, 2015
On 26/09/15 9:17 PM, Mike McKee wrote:
> I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to
> have the D2 language in it yet (only D), and doesn't have intellisense
> for components in the imports that I do, even after saving the file
> after adding the import statements.
>
> What OSX editor do you recommend that would have intellisense?
>
> In all reality, I don't like intellisense -- it's annoying. However, I
> need it because the documentation for me is still a little hard to read
> and hard for me to search for a class method here or there. For
> instance, I was doing toHexString(myByteArray) instead of simply doing
> myByteArray.toHexString(). (That was on an md5 example, by the way.)
> Intellisense would have helped me realize this.

Try Mono-D.

September 26, 2015
On Saturday, 26 September 2015 at 09:17:10 UTC, Mike McKee wrote:
> I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to have the D2 language in it yet (only D), and doesn't have intellisense for components in the imports that I do, even after saving the file after adding the import statements.
>
> What OSX editor do you recommend that would have intellisense?
>
> In all reality, I don't like intellisense -- it's annoying. However, I need it because the documentation for me is still a little hard to read and hard for me to search for a class method here or there. For instance, I was doing toHexString(myByteArray) instead of simply doing myByteArray.toHexString(). (That was on an md5 example, by the way.) Intellisense would have helped me realize this.

Have you installed dkit for sublime?
September 26, 2015
On Saturday, 26 September 2015 at 09:17:10 UTC, Mike McKee wrote:
> I was doing toHexString(myByteArray) instead of simply doing myByteArray.toHexString(). (That was on an md5 example, by the way.) Intellisense would have helped me realize this.

Both these forms are the same. It's called UFCS (uniform function call syntax). Here's some material to help you understand what's going on here:

http://ddili.org/ders/d.en/ufcs.html
http://nomad.so/2013/08/alternative-function-syntax-in-d/

Auto-complete in D is tricky because of this feature and no-one has invested any time to figure out a nice way to provide auto-complete for this.

There is DCD by Brian Schott that looks very impressive but UFCS suggestions are not implemented yet.

http://forum.dlang.org/post/hlrykibossssijmtnxug@forum.dlang.org
September 26, 2015
On Saturday, 26 September 2015 at 10:31:13 UTC, wobbles wrote:
> Have you installed dkit for sublime?

As in?

https://github.com/yazd/DKit

Looks like it's alpha and doesn't run on Mac? No homebrew install?

September 26, 2015
On Saturday, 26 September 2015 at 10:38:29 UTC, Gary Willoughby wrote:
> Both these forms are the same. It's called UFCS (uniform function call syntax). Here's some material to help you understand what's going on here:
>
> http://ddili.org/ders/d.en/ufcs.html
> http://nomad.so/2013/08/alternative-function-syntax-in-d/

Noted, and thanks.

September 26, 2015
On Saturday, 26 September 2015 at 09:17:10 UTC, Mike McKee wrote:
> I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to have the D2 language in it yet (only D), and doesn't have intellisense for components in the imports that I do, even after saving the file after adding the import statements.
>
> What OSX editor do you recommend that would have intellisense?

I use mono-d on win32 and OS X and am happy with it: http://wiki.dlang.org/Mono-D

--Stephan
September 27, 2015
On Saturday, 26 September 2015 at 18:27:52 UTC, Mike McKee wrote:
> On Saturday, 26 September 2015 at 10:31:13 UTC, wobbles wrote:
>> Have you installed dkit for sublime?
>
> As in?
>
> https://github.com/yazd/DKit
>
> Looks like it's alpha and doesn't run on Mac? No homebrew install?

I'm using this and it works great. It uses dcd, so you need to install that first (via homebrew). As DKit it is a sublime text plugin, you don't install it via homebrew. Usually you'd install sublime packages via Package Control, but sadly DKit is not in the repositories yet. There is an issue about that already (https://github.com/yazd/DKit/issues/18). So instead, you install the package manually (just follow the instrcutions in the readme).

I don't know where you got the idea it doesn't work on OS X, it works like a charm for me.
September 27, 2015
On Saturday, 26 September 2015 at 09:17:10 UTC, Mike McKee wrote:
> I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to have the D2 language in it yet (only D), and doesn't have intellisense for components in the imports that I do, even after saving the file after adding the import statements.
>
> What OSX editor do you recommend that would have intellisense?
>
> In all reality, I don't like intellisense -- it's annoying. However, I need it because the documentation for me is still a little hard to read and hard for me to search for a class method here or there. For instance, I was doing toHexString(myByteArray) instead of simply doing myByteArray.toHexString(). (That was on an md5 example, by the way.) Intellisense would have helped me realize this.

Mono-D works really well.

Also it integrates well with dub so you can simply "import" projects by opening dub.json file - pure awesomeness.
September 28, 2015
On Sunday, 27 September 2015 at 22:55:38 UTC, Johannes Loher wrote:
> On Saturday, 26 September 2015 at 18:27:52 UTC, Mike McKee wrote:
>> On Saturday, 26 September 2015 at 10:31:13 UTC, wobbles wrote:
>>> Have you installed dkit for sublime?
>>
>> As in?
>>
>> https://github.com/yazd/DKit
>>
>> Looks like it's alpha and doesn't run on Mac? No homebrew install?
>
> I'm using this and it works great. It uses dcd, so you need to install that first (via homebrew). As DKit it is a sublime text plugin, you don't install it via homebrew. Usually you'd install sublime packages via Package Control, but sadly DKit is not in the repositories yet. There is an issue about that already (https://github.com/yazd/DKit/issues/18). So instead, you install the package manually (just follow the instrcutions in the readme).
>
> I don't know where you got the idea it doesn't work on OS X, it works like a charm for me.

Yeah, me too (on linux and windows). I used to try out quite a few of the D IDEs (Mono-d, DDT, Visual D etc) but this one plugin has replaced them all. For now at least...

« First   ‹ Prev
1 2