Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-03-13 Thread Rene Zwanenburg
On Sunday, 16 February 2014 at 12:59:31 UTC, Alexander Bothe 
wrote:
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg 
wrote:
5) Could you pastebin me your last log file(s) please? (You 
can open the folder via 'Help' menu - Open Log directory)


Parts of the log file is Dutch (OS language), Xamarin Studio 
language is set to English but most of the interface and even 
the log files are unaffected. I guess I'll have to take that 
up with the Mono Develop devs.


http://pastebin.com/tBn5hGxd


What I really wonder is why the last exception is occurring - 
In theory there can't be such exception in that case.. Which 
version of Mono-D do you've got installed?


Anyway it might hangs in a deadlock or so while scanning all 
the folders - but I can't imagine that this is happening that 
oftenly.




6) Try to put the include paths into the project settings and 
try to get phobos symbol completion afterwards.


I can't seem to find where to add include paths in the project 
settings..


You could reference them in the dub package definition 
temporarily.


Apologies for getting back so late. I was still on a pretty old 
version of Dub on that machine, updating to the latest version 
has fixed the issue. I'm sorry for wasting your time.


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-16 Thread Rene Zwanenburg
On Saturday, 15 February 2014 at 20:28:03 UTC, Alexander Bothe 
wrote:

1) On which OS are you working?


Windows 7 64 bit


2) What are your include paths?


I'm using the default install directory:
C:\D\dmd2\src\druntime\import
C:\D\dmd2\src\phobos

3) Are those paths put into the 'default' compiler config (aka 
DMD2 should be the default)


Yes

4) Have you opened up a dub project or did you create one 
directly in Mono-D?


I've opened an existing Dub project

5) Could you pastebin me your last log file(s) please? (You can 
open the folder via 'Help' menu - Open Log directory)


Parts of the log file is Dutch (OS language), Xamarin Studio 
language is set to English but most of the interface and even the 
log files are unaffected. I guess I'll have to take that up with 
the Mono Develop devs.


http://pastebin.com/tBn5hGxd

6) Try to put the include paths into the project settings and 
try to get phobos symbol completion afterwards.


I can't seem to find where to add include paths in the project 
settings..


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-16 Thread extrawurst
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg 
wrote:




I can't seem to find where to add include paths in the project 
settings..


Since you are using dub, you simply define those in the dub 
package:

http://code.dlang.org/package-format


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-16 Thread Arjan
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg 
wrote:

On Saturday, 15 February 2014 at 20:28:03 UTC, Alexander Bothe


5) Could you pastebin me your last log file(s) please? (You 
can open the folder via 'Help' menu - Open Log directory)


Parts of the log file is Dutch (OS language), Xamarin Studio 
language is set to English but most of the interface and even 
the log files are unaffected. I guess I'll have to take that up 
with the Mono Develop devs.


No it is not the OS language but the location setting of the OS I 
guess, I have Windows 7 64 bits English and the 
Monodevelop/Xamarin studio default language is still Dutch...

Had to set it manually to English in the options.



Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-16 Thread Alexander Bothe
On Sunday, 16 February 2014 at 11:49:08 UTC, Rene Zwanenburg 
wrote:
5) Could you pastebin me your last log file(s) please? (You 
can open the folder via 'Help' menu - Open Log directory)


Parts of the log file is Dutch (OS language), Xamarin Studio 
language is set to English but most of the interface and even 
the log files are unaffected. I guess I'll have to take that up 
with the Mono Develop devs.


http://pastebin.com/tBn5hGxd


What I really wonder is why the last exception is occurring - In 
theory there can't be such exception in that case.. Which version 
of Mono-D do you've got installed?


Anyway it might hangs in a deadlock or so while scanning all the 
folders - but I can't imagine that this is happening that oftenly.




6) Try to put the include paths into the project settings and 
try to get phobos symbol completion afterwards.


I can't seem to find where to add include paths in the project 
settings..


You could reference them in the dub package definition 
temporarily.




Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-15 Thread extrawurst

On Saturday, 15 February 2014 at 14:31:15 UTC, Rene Zwanenburg
wrote:

On Thursday, 13 February 2014 at 00:46:02 UTC, Alexander Bothe
wrote:

Hi everyone,

Just wanted to announce a new minor version bump of Mono-D.

There have been couple of completion/parser improvements like 
inline-assembly instruction completion (thanks Orvid who spent 
a whole bunch of time for submitting PRs and making the parser 
work even faster! :-) )


(method-body-omitting multi-threaded scan for phobosdruntime 
takes ~200ms without IO, ~800ms with IO atm on .Net/Windows -- 
pretty sufficient!)


Blog/Installation manual:
http://mono-d.alexanderbothe.com

Issues:
https://github.com/aBothe/Mono-D/issues



Cheers,
Alex


I'm trying Mono-D for the first time and I must say I'm really
enjoying the autocomplete. It's not giving suggestions for 
Phobos

though. Includes in D Compiler Toolchains have been set
correctly. Any idea what's wrong?


You have to set up the paths of phobos in mono-d like described
under 3. Mono-D installation  setup on mono-d website:
http://mono-d.alexanderbothe.com/download/


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-15 Thread Rene Zwanenburg

On Saturday, 15 February 2014 at 14:44:13 UTC, extrawurst wrote:

On Saturday, 15 February 2014 at 14:31:15 UTC, Rene Zwanenburg
wrote:

I'm trying Mono-D for the first time and I must say I'm really
enjoying the autocomplete. It's not giving suggestions for 
Phobos

though. Includes in D Compiler Toolchains have been set
correctly. Any idea what's wrong?


You have to set up the paths of phobos in mono-d like described
under 3. Mono-D installation  setup on mono-d website:
http://mono-d.alexanderbothe.com/download/


I double checked the import paths, but they're really correct.
Any other ideas?


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-15 Thread Alexander Bothe
On Saturday, 15 February 2014 at 14:31:15 UTC, Rene Zwanenburg 
wrote:

I'm trying Mono-D for the first time and I must say I'm really
enjoying the autocomplete. It's not giving suggestions for 
Phobos

though. Includes in D Compiler Toolchains have been set
correctly. Any idea what's wrong?


1) On which OS are you working?

2) What are your include paths?

3) Are those paths put into the 'default' compiler config (aka 
DMD2 should be the default)


4) Have you opened up a dub project or did you create one 
directly in Mono-D?


5) Could you pastebin me your last log file(s) please? (You can 
open the folder via 'Help' menu - Open Log directory)


6) Try to put the include paths into the project settings and try 
to get phobos symbol completion afterwards.


Re: Mono-D v1.5.2 - Completion improvements, dub support fixes

2014-02-12 Thread Alexander Bothe

For those who don't know what Mono-D is:

It's a plug-in for XamarinStudio to give it D 
editing/building/debugging/project management support which 
features a large amount of features like semantic highlighting, 
code completion (now there even is a bit CTFE available for 
better mixin pre-compile time analysis available), standard code 
navigation stuff like goto declaration or looking up 
variable/symbol references in the currently edited file - or 
well, just take a look at some of the screenshots uploaded to the 
blog.