Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Releases: DDT-IDE/DDT

1.0.3

01 Nov 15:38
Compare
Choose a tag to compare
  • Fixed: recurring timeouts invoking Content Assist and other engine operations with large projects like GTKD. (#143)
    • Now the timeout will still occur the first time Content Assist or Open Definition is invoked in an Eclispe session, but the background engine analysis operation will not be cancelled by the timeout: it will continue in the background, allowing the analysis to complete and caching analsys for future invocations, which should then not timeout.
  • Fixed: Code Folding preferences are never saved. (#149)
  • Fixed stale validation message for location field in New Project Wizard.
  • Fixed stale validation message for Build Command field in Build Targets property page and Launch Configurations dialog.
  • Fixed editor NPE when opening files from a non-workspace VCS revision.

1.0.2

07 Jul 16:25
Compare
Choose a tag to compare
  • Updated minimum CDT to version 9.0 (Eclipse Neon).
  • Fixed: NPE when invoking Content Assist inside a comment, string or character.
  • Fixed: Eclipse variables not being substituted in environment-variables settings of launch configurations.
  • Fixed: invariant declaration without parenthesis is not recognized as valid syntax. (#144)

1.0.1

01 Jun 14:33
Compare
Choose a tag to compare
  • Improved the default names for automatically created launch configurations.
  • Added error display notification for Outline operation failures.
  • Added parameter types for the Outline label of function elements.
  • Fixed: ~this() and this(this) declarations missing from Outline.
  • Fixed: Progress dialog never showing up when "Ok" pressed in LANG_NAME project properties page.
  • Fixed: Eclipse variables not being substituted in environment-variable values. (#139)
  • Fixed: foreach statement parsing does not allow type qualifier with parenthesis. (#140)

1.0.0

17 May 13:42
Compare
Choose a tag to compare
  • Added support for source formatting using dfmt (Ctrl+Shift+F).
    • Added Format DUB package (dfmt) command to Project context menu.
    • Added "Format automatically on editor save." option.
  • Performance improvement: Fixed exponential performance issue invoking semantic operations on projects with complex, dense dependencies trees (such as vibe.d).
  • Added customization of the build command for Build Targets:
    It's now possible to specify a command other than the default one (the DUB tool).
    • Note however that DDT still expects the output of the command (the error messages) to be in the same format as the default tool (the D compiler format).
  • Added support for invoking a specific Build Target when a D editor is saved. This is called "auto-check", and is intended for build commands that only check for compilation errors, but don't produce artifacts. This has the potential to be faster than a regular build.
    • The goal for the future is to enable invoking this command on-the-fly (as the user types), although for this to be useful in practice in non-small projects, it will likely require the compiler to support incremental compilation (or be super fast otherwise).
    • Added Building section to documentation with more information on the above.
  • Added support for modifying the environment variables of a Build Target's build command.
  • Improvement: DDT is now able to parse the non-standard JSON syntax of a trailing comma in an object entry list (ie, { "name" : "value", }).
  • Improved error messages display for the dub describe operation.
  • Enum declarations can now be folded in the editor, just as any other aggregate type. (#126)
  • Added signing to releases.

  • Fixed "IllegalStateException: The service has been unregistered" on Mars.2 when Eclipse is closed.
  • Fixed: Pressing Tab key does not indent according to Editor indentation preferences.
  • Fixed: Parser not recognizing eponymous template syntax for variable declarations. (#135)
  • Fixed: New Project Wizard: creates src/app.d file if project location already contains a DUB manifest.
  • Fixed: Now correctly setup text color and background color for documentation hover. (fixes #129)

0.14.1

15 Feb 15:51
Compare
Choose a tag to compare
  • Added (partial) support for dub.sdl DUB projects. (Fixes #122)
    • Changing a project from DUB's JSON format to SDL (and vice-versa) during an Eclipse session is not supported. You will need to restart Eclipse for changes to be recognized/refreshed.
    • Build Targets display in the Project Explorer is not supported with the SDL format.
  • Dirty editors are now automatically saved if a build is invoked directly from a Build Target in the Project Explorer. (if the workspace "Save automatically before build" option is enabled).
  • Improvement to Auto-Indent when Enter pressed before a closing brace.
  • Added "headerbar", "BUG", "FIXME", "apl" code snippets.
  • Project builder is no longer invoked when workspace "Build Automatically" setting is enabled and a file is saved. (this was considered a misfeature anyways)
  • Minimum and recommended CDT version is now 8.8.

  • Fixed bug with Content Assist snippets using the ${word_selection} variable.
  • Fixed workspace resource locking when a build is invoked directly from a Build Target in the Project Explorer.
  • Fixed regression: Console view always activates when a build is invoked.
  • When debugging, fixed toggling breakpoints on and off for files that are outside the workspace.
  • When debugging, fixed opening source files that are are outside the workspace.
  • Fixed line breakpoint icon.
  • Fixed: project Build Targets settings pages shows wrong default for Program Path field
  • Fixed incorrect icon for errors and warnings in preference page status.
  • Fixed: can't save preference pages with empty fields.

0.14.0

27 Oct 17:15
Compare
Choose a tag to compare
  • Added support for Eclipse dark theme. Namely:
    • Syntax/source coloring now have different settings for dark theme.
    • Fixed Tools Console colors, as well as content assist pop-up colors.
  • Added number literals syntax highlighting.
  • Syntax highlighting now works on the source compare editor.
  • Added support for Content Assist name-only proposal insertion by pressing Ctrl+Enter. (only applicable to proposals that insert arguments)
  • Added per-project DUB installation preferences.
  • Changed: newly created launch configurations now have the debug option "Stop on startup at:" set to false by default. This way debugging won't stop on the C main, which is essentially useless outside of C/C++.

  • Fixed: AssertionFailureException pressing Enter after source with more closing braces than opening ones.
  • Fixed regression: Folding preference page broken.
  • Fixed: foreach(const ref x; y) is invalid syntax. (#117)
  • Fixed: Unindent (Shift-Tab) broken, does nothing after empty lines in selection. (#116)

0.13.1

24 Aug 15:44
Compare
Choose a tag to compare
  • Added UserGuide note about using Homebrew GDB in OS X.
  • Fixed: when invoking toolchain programs, add tool directory to beginning of PATH, not end.
  • Fixed: In Linux, the "Build Target" group UI widget height is broken, too short.
  • Fixed: if build tool reports many error messages, the Eclipse project build will take too long to finish.
  • Fixed: "Run As"/"Debug As" launch shortcut incorrectly matching pre-existing launch configurations.
  • Fixed: Launch Configuration Main tab fields incorrectly modified when a new Build Target is selected (if Build Target is not using defaults)

0.13.0

11 Aug 16:56
Compare
Choose a tag to compare
  • Added support for Build Targets, based on DUB configurations (with the default and unittest build types).
    • Available Build Targets are displayed in the Project Explorer.
    • You can configure which targets are enabled or disabled for a workspace build. Or run/debug a specific target.
    • Project Build Configuration property page updated to enable configuring Build Targets.
    • Build Targets support requires a dub.json file, SDL is not currently supported.
  • Added support for compiler -vcolumns build output error information. (#84)
  • Added parser support for new D 2.068 type reference syntax: Types[0].T a; (dot after indexing).
  • Updated Configuration section in the User Guide.
  • Fixed: Auto-Complete doesn't find D modules in symlink source folders. (#108)
  • Fixed: Displaying build errors when errors occur in dependent projects from the one where the build originated.
  • Fixed: Occasional AssertionFailure when creating new projects in nested locations (project would not show up in Explorer).
  • Fixed: Arguments field in launch configuration is not multi-line.

0.12.1

13 Jul 17:48
Compare
Choose a tag to compare

▶ Recommended/tested CDT version is now 8.7

  • Fixed: Debugging not working on Eclipse 4.5 Mars (CDT 8.7), for certain platform/GDB combinations.
  • Fixed: PATH of external tools bungled if original PATH not set (Windows).
  • Fixed: hover for problem errors not showing if error is over a string literal source.
  • Fixed #112: build errors no longer removed when editing a source file.
  • Fixed #113: Completion proposal insertion text has incorrect casing.
  • Fixed: Error and warning icon decorations sometimes not shown on Project Explorer elements (files/folders).
  • Fixed: new build for a project not started if only external dependencies have changed.
  • Doc: added note about Cygwin GDB not being recommended for debugging.

0.12.0

09 Jun 12:41
Compare
Choose a tag to compare

Important Changes:

  • Added: Automatic insertion of function arguments for function proposals in Content Assist.
  • Added: Parsing of return ref introduced with D 2.067.0.
  • Removed dependency on DLTK (Dynamic Languages Toolkit).
    • This should improve DDT's startup time and memory footprint a bit, although it is mainly an internal change.
    • Removed Open D Type action (could not be implemented correctly at the moment).
  • Editor Outline and parse errors now updated immediately after keystrokes occur (the previous 500 ms delay was removed).
  • Added: Editor Go To Matching Bracket action (shortcut: Ctrl+Shift+P).
  • Reworked Content Assist preference page. Now has option to auto-activate with alphabetic characters.
  • Upgraded minimum Java version to Java 8.
    • Added: Show error message dialog if starting Eclipse with a Java version below the minimum.
  • Improved transparency/aliasing of D element icons - this improves them for Eclipse dark themes. (more work/testing for dark themes needed though)
  • Removed Appearance preference page and associated options.

▶ Recommended/tested CDT version: 8.6.0

Other changes:

  • Cleanup: "Code Templates" preference page renamed to "Code Snippets"
  • Doc - Installation guide: Added note for users in China.
  • Fixed: Some editor actions (such as Open Definition) are enabled even when no IDE editor is active.
  • Fixed #102. A dialog is no longer shown when invoking content assist in invalid locations.
    A less intrusive message is shown in the bottom of the workbench window.
  • Fixed #105: Errors about "project is missing required 'src' folder", when such DUB source/import was not explicitly defined.
  • Fixed #103: Added detection of more standard library folder layouts:
    • For DMD: $DIR/bin/dmd$DIR/include/d2/ (DMD OSX Homebrew package)
    • For LDC: $DIR/bin/ldc2$DIR/include/d/•$DIR/include/d/ldc (MSCV archive, and LDC built from source)
  • Added #107: allow content assist inside token strings (q{ ... })
  • Fixed regression: function overloads no longer appear separately in Content Assist.
  • Fixed regression: the icon of packages in Content Assist incorrectly showing up as the natives icon.
  • Fixed: the preference pages are now searchable in the Preferences dialog search field, by means of relevant keywords.
  • Fixed #91: Tab policy: "Spaces Only" preference ignored when pressing TAB.
  • Fixed #86: ";" doesn't get inserted if Content Assist is open
  • Removed internal/deprecated AST Viewer view.