Re: Mac IDE with Intellisense
Am Sat, 26 Sep 2015 10:38:25 + schrieb Gary Willoughby: > 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. Mono-D does have UFCS auto-complete. The plugin is going to bit-rot though, since its only developer is done studying. -- Marco
Re: Mac IDE with Intellisense
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...
Re: Mac IDE with Intellisense
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.
Re: Mac IDE with Intellisense
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.
Re: Mac IDE with Intellisense
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/hlrykiboijmtn...@forum.dlang.org
Re: Mac IDE with Intellisense
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.
Mac IDE with Intellisense
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.
Re: Mac IDE with Intellisense
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?
Re: Mac IDE with Intellisense
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?
Re: Mac IDE with Intellisense
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.
Re: Mac IDE with Intellisense
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