www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - DCD 0.2.0-beta1

reply "Brian Schott" <briancschott gmail.com> writes:
DCD 0.2.0 beta 1 is ready for testing. Check it out at:

https://github.com/Hackerpilot/DCD/tree/0.2.0-beta1

The D Completion Daemon is an auto-complete system for the D 
programming language that is not tied to any specific text editor 
or IDE. Modules exist for Textadept, Vim, Kate, Emacs, and Zeus.

The 0.2.0 release fixes 22 issues, which you can browse here: 
https://github.com/Hackerpilot/DCD/issues?milestone=2&state=closed. 
The highlights of this release are improved speed, reduced memory 
consumption, and the ability to get the location of the 
declaration of a symbol at the cursor location.

Note that only the Textadept module has support for 
go-to-declaration at the moment. Pull requests to update the 
other modules are welcome and encouraged. (This needs to be fixed 
before the final release)
Nov 06 2013
next sibling parent reply "Jussi Jumppanen" <jussij zeusedit.com> writes:
Hi Brian,

I download the latest DCD, Dscanner and DGrammar code from GitHub.

First thing I found was in the build.bat file the server build 
command line contains a reference to the acvisitor.d file and 
that file does not exist.

I removed the reference to that file and then ran the build.bat 
file.

The batch file created the client and server exeecutable files 
but the build for the server.exe also reported these linker 
errors.

     OPTLINK (R) for Win32  Release 8.00.13
     Copyright (C) Digital Mars 1989-2010  All rights reserved.
     http://www.digitalmars.com/ctg/optlink.html
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined 
_D9stupidlog3Log5levelE9stupidlog8LogLevel
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined 
_D9stupidlog3Log6outputS3std5stdio4File
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined 
_D12astconverter19convertAstToSymbolsFAxS4stdx1d5lexer5TokenAyaZAPxS7actypes8ACSymbol
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined 
_D12astconverter25generateAutocompleteTreesFAxS4stdx1d5lexer5TokenAyaZPxS7actypes5Scope
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined _D12astconverter12__ModuleInfoZ
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined _D8semantic12__ModuleInfoZ
     dcd-server.obj(dcd-server)
      Error 42: Symbol Undefined _D9stupidlog12__ModuleInfoZ
     --- errorlevel 7

This is the version of the compiler used:

     DMD32 D Compiler v2.063.2
     Copyright (c) 1999-2013 by Digital Mars written by Walter 
Bright
     Documentation: http://dlang.org/

Cheers Jussi
Nov 06 2013
parent reply "Brian Schott" <briancschott gmail.com> writes:
Right... Windows. I keep forgetting that. The master branch 
should work now.
Nov 06 2013
parent reply "Jussi Jumppanen" <jussij zeusedit.com> writes:
I downloaded the code again but I'm still getting the same linker 
error :(

Note: I'm getting the code using the *download zip file* option.

These are the files that I downloaded:

     07/11/2013 02:21 PM  108,740 DCD-0.2.0-beta1.zip
     02/09/2013 01:32 PM  141,758 msgpack-d-master.zip
     07/11/2013 02:22 PM   94,507 Dscanner-master.zip
     07/11/2013 02:22 PM   17,761 DGrammar-master.zip
Nov 06 2013
parent reply "Brian Schott" <briancschott gmail.com> writes:
On Thursday, 7 November 2013 at 03:32:18 UTC, Jussi Jumppanen 
wrote:
 Note: I'm getting the code using the *download zip file* option.
That would be why. I didn't tag a new beta after fixing the issue. It was fixed in this changeset: https://github.com/Hackerpilot/DCD/commit/5cba44be86dee6ae9034b825a13091784bc11442 Try the DCD-master.zip?
Nov 06 2013
parent reply "Jussi Jumppanen" <jussij zeusedit.com> writes:
All good now :)

Thanks.
Nov 06 2013
parent "Jussi Jumppanen" <jussij zeusedit.com> writes:
The Python script at the end of this topic:

http://www.zeusedit.com/zforum/viewtopic.php?t=7020

adds *go-to-declaration* to the Zeus IDE.
Nov 06 2013
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-11-07 01:28, Brian Schott wrote:
 DCD 0.2.0 beta 1 is ready for testing. Check it out at:

 https://github.com/Hackerpilot/DCD/tree/0.2.0-beta1

 The D Completion Daemon is an auto-complete system for the D programming
 language that is not tied to any specific text editor or IDE. Modules
 exist for Textadept, Vim, Kate, Emacs, and Zeus.

 The 0.2.0 release fixes 22 issues, which you can browse here:
 https://github.com/Hackerpilot/DCD/issues?milestone=2&state=closed. The
 highlights of this release are improved speed, reduced memory
 consumption, and the ability to get the location of the declaration of a
 symbol at the cursor location.
And support for Mac OS X :) -- /Jacob Carlborg
Nov 06 2013
prev sibling parent "Brian Schott" <briancschott gmail.com> writes:
Beta 2 is ready

https://github.com/Hackerpilot/DCD/tree/0.2.0-beta2

Changes since last time
* Close temporary file used in go-to-declaration in Textadept 
module
* Fixed issue that caused function parameters to not be visible 
in function bodies
* Fixed issue in parser that caused certain valid template mixins 
to fail.
* Fixed tyop in README file
* Fixed build script on Windows
* Fixed logging on Windows
Nov 07 2013