www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D IDE Coedit - version 3 beta 3

reply Basile B. <basile.burg gmx.com> writes:
This would probably have been a RC or even the final version if I 
hadn't to wait for the development platform I use to reach its 
next milestone, which may not happen before the next spring, so 
another beta is worth.

All important information, links and other downloads are here:
https://github.com/BBasile/Coedit/releases/tag/3_beta_3

You can report any problem here:
https://github.com/BBasile/Coedit/issues

If you have questions, exactly today, I'll probably be there:
irc://irc.freenode.net/d as "DotBatch"
Jan 26
next sibling parent reply dminded <dminded trash-mail.com> writes:
On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote:
 This would probably have been a RC or even the final version if 
 I hadn't to wait for the development platform I use to reach 
 its next milestone, which may not happen before the next 
 spring, so another beta is worth.

 All important information, links and other downloads are here:
 https://github.com/BBasile/Coedit/releases/tag/3_beta_3

 You can report any problem here:
 https://github.com/BBasile/Coedit/issues

 If you have questions, exactly today, I'll probably be there:
 irc://irc.freenode.net/d as "DotBatch"
I am new to dlang and wanted to try out Coedit. But it does not run on my platform... I tried the zip archive and the installer for the 64-bit version. I am running Linux Mint 18 Cinnamon x86_64. Running "coedit" will log me out of the current session!? Any idea whats going on?
Jan 28
parent reply Basile B. <basile.burg gmx.com> writes:
On Saturday, 28 January 2017 at 22:18:52 UTC, dminded wrote:
 On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote:
 This would probably have been a RC or even the final version 
 if I hadn't to wait for the development platform I use to 
 reach its next milestone, which may not happen before the next 
 spring, so another beta is worth.

 All important information, links and other downloads are here:
 https://github.com/BBasile/Coedit/releases/tag/3_beta_3

 You can report any problem here:
 https://github.com/BBasile/Coedit/issues

 If you have questions, exactly today, I'll probably be there:
 irc://irc.freenode.net/d as "DotBatch"
I am new to dlang and wanted to try out Coedit. But it does not run on my platform... I tried the zip archive and the installer for the 64-bit version. I am running Linux Mint 18 Cinnamon x86_64. Running "coedit" will log me out of the current session!? Any idea whats going on?
Yes. 1/ Do you have a proper GTK2 runtime environment ? Try to verify with this command: pkg-config --modversion gtk+-2.0 2/ If you replace dastworx by this new version, does it still crash ? new version: https://github.com/BBasile/Coedit/releases/download/3_beta_3/dastworx.linux.x86_64.zip 3/ You can try to log the output by launching from a console: coedit > cecession.txt Do 1/ Do 2/, if it still crashes then do 3/
Jan 28
parent reply dminded <dminded trash-mail.com> writes:
On Saturday, 28 January 2017 at 23:55:58 UTC, Basile B. wrote:
 On Saturday, 28 January 2017 at 22:18:52 UTC, dminded wrote:
 On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote:
 This would probably have been a RC or even the final version 
 if I hadn't to wait for the development platform I use to 
 reach its next milestone, which may not happen before the 
 next spring, so another beta is worth.

 All important information, links and other downloads are here:
 https://github.com/BBasile/Coedit/releases/tag/3_beta_3

 You can report any problem here:
 https://github.com/BBasile/Coedit/issues

 If you have questions, exactly today, I'll probably be there:
 irc://irc.freenode.net/d as "DotBatch"
I am new to dlang and wanted to try out Coedit. But it does not run on my platform... I tried the zip archive and the installer for the 64-bit version. I am running Linux Mint 18 Cinnamon x86_64. Running "coedit" will log me out of the current session!? Any idea whats going on?
Yes. 1/ Do you have a proper GTK2 runtime environment ? Try to verify with this command: pkg-config --modversion gtk+-2.0 2/ If you replace dastworx by this new version, does it still crash ? new version: https://github.com/BBasile/Coedit/releases/download/3_beta_3/dastworx.linux.x86_64.zip 3/ You can try to log the output by launching from a console: coedit > cecession.txt Do 1/ Do 2/, if it still crashes then do 3/
Thank you. I got it working and Hello World compiles and runs :D. ... I followed the 'Setup program' instructions, but skipped the important point above the heading: "In all the cases, the DMD D2 compiler must setup and its location has to match to one of the directory of the PATH environment variable.". I only had ldc2 installed. After installing dmd coedit did work. After playing around a bit i noticed, that something is wrong with the project management. While the single Hello world compiles and runs, I can not compile a project. i get the following messages: - compiling - has been successfully compiled - output executable missing: /tmp/app I found the compiled 'app' file next to the coedit executable. Also the 'project inspector' seems not to work. When i add files, they are not listed there. Something seems not to be setup properly on my machine.
Jan 28
parent reply Basile B. <basile.burg gmx.com> writes:
On Sunday, 29 January 2017 at 01:06:32 UTC, dminded wrote:
 On Saturday, 28 January 2017 at 23:55:58 UTC, Basile B. wrote:
 On Saturday, 28 January 2017 at 22:18:52 UTC, dminded wrote:
 On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote:
 This would probably have been a RC or even the final version 
 if I hadn't to wait for the development platform I use to 
 reach its next milestone, which may not happen before the 
 next spring, so another beta is worth.

 All important information, links and other downloads are 
 here:
 https://github.com/BBasile/Coedit/releases/tag/3_beta_3

 You can report any problem here:
 https://github.com/BBasile/Coedit/issues

 If you have questions, exactly today, I'll probably be there:
 irc://irc.freenode.net/d as "DotBatch"
I am new to dlang and wanted to try out Coedit. But it does not run on my platform... I tried the zip archive and the installer for the 64-bit version. I am running Linux Mint 18 Cinnamon x86_64. Running "coedit" will log me out of the current session!? Any idea whats going on?
Yes. 1/ Do you have a proper GTK2 runtime environment ? Try to verify with this command: pkg-config --modversion gtk+-2.0 2/ If you replace dastworx by this new version, does it still crash ? new version: https://github.com/BBasile/Coedit/releases/download/3_beta_3/dastworx.linux.x86_64.zip 3/ You can try to log the output by launching from a console: coedit > cecession.txt Do 1/ Do 2/, if it still crashes then do 3/
Thank you. I got it working and Hello World compiles and runs :D. ... I followed the 'Setup program' instructions, but skipped the important point above the heading: "In all the cases, the DMD D2 compiler must setup and its location has to match to one of the directory of the PATH environment variable.". I only had ldc2 installed. After installing dmd coedit did work. After playing around a bit i noticed, that something is wrong with the project management. While the single Hello world compiles and runs, I can not compile a project. i get the following messages: - compiling - has been successfully compiled - output executable missing: /tmp/app I found the compiled 'app' file next to the coedit executable. Also the 'project inspector' seems not to work. When i add files, they are not listed there. Something seems not to be setup properly on my machine.
I'm on IRC right now. Communication on the forum is really painfull, it looks like I need to explain a few things. Also you can ask questions on the bugtracker, although it's the same problem as here (not real time...).
Jan 28
next sibling parent reply dminded <dminded trash-mail.com> writes:
On Sunday, 29 January 2017 at 02:56:53 UTC, Basile B. wrote:
 I'm on IRC right now. Communication on the forum is really 
 painfull, it looks like I need to explain a few things. Also 
 you can ask questions on the bugtracker, although it's the same 
 problem as here (not real time...).
Seems we live in different time zones, i could not find you on the chat. I got the project management to work, by creating a project with the coedit native format. Seems my trouble did come from trying to open/creating dub projects. Now I am trying to get the debugger working. When I start the debugger i get the following output: - Cannot enable the TUI when the interpreter is 'mi' - debugging terminated: exited-normally
Jan 30
parent Basile B. <b2.temp gmx.com> writes:
On Monday, 30 January 2017 at 19:45:38 UTC, dminded wrote:
 On Sunday, 29 January 2017 at 02:56:53 UTC, Basile B. wrote:
 I'm on IRC right now. Communication on the forum is really 
 painfull, it looks like I need to explain a few things. Also 
 you can ask questions on the bugtracker, although it's the 
 same problem as here (not real time...).
Seems we live in different time zones, i could not find you on the chat. I got the project management to work, by creating a project with the coedit native format. Seems my trouble did come from trying to open/creating dub projects.
DUB projects are well handled: http://bbasile.github.io/Coedit/widgets_dub_project_editor - the project file must be saved after each important modifications. - the "update" button must be clicked if you saved a source in one of the folder that's auto detected (e.g "src") or one of the item in "sourcePaths", so that the project inspector is notified of new sources. I think that it's a matter of habits since I use DUB projects some time to time I'd detected major issues.
Jan 30
prev sibling parent reply dminded <dminded trash-mail.com> writes:
Ok, the debugger also works if i write a bit more then just a 
'writeln' into main.

How can i set breakpoints? If i click on the left side of a row, 
a little red dot appears. But the debugger seems to ignore it and 
instead every statement is a breakpoint. I also can not find a 
"step out of function" button.
Jan 30
next sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Monday, 30 January 2017 at 23:32:12 UTC, dminded wrote:
 Ok, the debugger also works if i write a bit more then just a 
 'writeln' into main.

 How can i set breakpoints? If i click on the left side of a 
 row, a little red dot appears.
This means that GDB cannot set the breakpoint. checkout options/debugger to enable all the options starting with "show..." You'll get the raw GDB output in the messages and you'll see what happens under the hood when you click in the gutter.
 But the debugger seems to ignore it and instead every statement 
 is a breakpoint. I also can not find a "step out of function" 
 button.
Commands that are not in the toolbar can be typed in the field at the bottom. So check out the manual an for the MI syntax to do this and type it. Normally all break reasons are handled by the interpreter.
Jan 30
parent Basile B. <b2.temp gmx.com> writes:
On Tuesday, 31 January 2017 at 07:23:24 UTC, Basile B. wrote:
 On Monday, 30 January 2017 at 23:32:12 UTC, dminded wrote:
 Ok, the debugger also works if i write a bit more then just a 
 'writeln' into main.

 How can i set breakpoints? If i click on the left side of a 
 row, a little red dot appears.
This means that GDB cannot set the breakpoint. checkout options/debugger to enable all the options starting with "show..." You'll get the raw GDB output in the messages and you'll see what happens under the hood when you click in the gutter.
 But the debugger seems to ignore it and instead every 
 statement is a breakpoint. I also can not find a "step out of 
 function" button.
Commands that are not in the toolbar can be typed in the field at the bottom. So check out the manual an for the MI syntax to do this and type it. Normally all break reasons are handled by the interpreter.
By the way there can be a syncronization issue between the breakpoint database and the editor cache (both store the breakpoints). In this case open /home/<your account>/.config/Coedit/breakpoints.txt and delete the right item. For example now mine is object TPersistentBreakPoints items = < item filename = '/home/basile/Dev/dproj/kheops/runnable/default_alignment.d' line = 187 kind = bpkBreak end item filename = '/home/basile/Dev/dproj/kheops/runnable/default_alignment.d' line = 191 kind = bpkBreak end> end let's say that the second break is invalid: object TPersistentBreakPoints items = < item filename = '/home/basile/Dev/dproj/kheops/runnable/default_alignment.d' line = 187 kind = bpkBreak end> end _____ Also don't miss the cool feature: runnables modules can be debugged. In the toolbar there's a menu attached to the "power switch" icon. You can select in this menu if GDB has to start the runnable for the source that has the focus or the project. _____ GDB commander doc is not yet written.
Jan 30
prev sibling parent Basile B. <b2.temp gmx.com> writes:
On Monday, 30 January 2017 at 23:32:12 UTC, dminded wrote:
 Ok, the debugger also works if i write a bit more then just a 
 'writeln' into main.

 How can i set breakpoints? If i click on the left side of a 
 row, a little red dot appears. But the debugger seems to ignore 
 it and instead every statement is a breakpoint. I also can not 
 find a "step out of function" button.
I was writing the manual page for the debugger then I remembered your Q. I bet that you used to wrong toolbar icon. ▷: is for resuming (e.g until next breakpoint/watchpoint/signal) ↓: is for stepping. (http://bbasile.github.io/Coedit/widgets_gdb_commander) If you stepped it's normal that it broke at each line ;]
Feb 03
prev sibling parent Basile B. <basile.burg gmx.com> writes:
On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote:
 This would probably have been a RC or even the final version if 
 I hadn't to wait for the development platform I use to reach 
 its next milestone, which may not happen before the next 
 spring, so another beta is worth.

 All important information, links and other downloads are here:
 https://github.com/BBasile/Coedit/releases/tag/3_beta_3

 You can report any problem here:
 https://github.com/BBasile/Coedit/issues

 If you have questions, exactly today, I'll probably be there:
 irc://irc.freenode.net/d as "DotBatch"
Yet another update...should be of interest for those who tried D for the first time, using CE and experienced a crash https://www.reddit.com/r/d_language/comments/5t5oum/d_ide_coedit_version_3_beta_4/
Feb 09