DDT-IDE / DDT

DDT is an Eclipse-based IDE for the D programming language:
http://ddt-ide.github.io/
101 stars 16 forks source link

Content Assist: on module throws exception, import problems #99

Closed olehlong closed 9 years ago

olehlong commented 9 years ago

DDT version - 0.11.0.v201503062245

Hello. After the recent update from repository I start getting this exception when I'm pressing content assist for module or typing ".". It throws the same exception on class names too. I think, it used to ignore this calls, but not in the new version. selection_020

Also, sometimes it doesn't even show any suggestions for std libraries, only my class, that defined under, or not related to std suggestions. Here an example:

selection_022 selection_023

Sorry for my bad English. Also I don't know how to turn on logging on Eclipse.

NCrashed commented 9 years ago

Workaround (I don't know who to fix problems in last release, therefore I downgraded to 10): downgrade to 10 version:

  1. Download archive with previous version
  2. Unpack and build with maven terminal command: mvn package P.S. Download Maven (minimum version 3.0)
  3. Make update site ant -f releng/ CreateProjectSite
  4. Open Eclipse. Uninstall recent version of DDT. Open "Install new software" dialog and add new website, there will be button "Local", point to /bin-maven/projectSite/releases. Then follow usual steps of installation guide.

add repository _052

install _053

bruno-medeiros commented 9 years ago

There's an easier way to revert to previous DDT version, if you had it installed before: Go to Help/Installation Details/Installation History, look for the entry where you had 0.10.4.v2014... installed and press Revert: eclipserevert

In any case I'm looking into this bug now.

bruno-medeiros commented 9 years ago

Basically the general form of this bug is: Content Assist is broken if the editor file is not saved.