Skip to content

Releases: Pure-D/serve-d

v0.4.1

31 Dec 19:12
Compare
Choose a tag to compare

Fix an issue with serve-d deleting itself when trying to install DCD on the default path

v0.4.0

31 Dec 17:02
Compare
Choose a tag to compare

General

  • workspace-d update to 3.3.0 (dcd 0.10.2, dfmt 0.9.0, dscanner 0.6.0)

Additions

  • Large projects will no longer completely load, rather you will be asked if you want to load all the additional projects in deeper directories
  • Support for hierarchical outline (outline view, breadcrumbs in vscode)
  • Diet autocompletion
  • added searchFile and findFilesByModule methods which can be used to find certain modules (in code-d for the dpldocs embed)
  • you can now use tildes in paths in the settings ("~/path/to/dcd")
  • Dscanner (static linting) is now run whenever you open a file

Bug fixes

  • unknown DDoc macros are now kept inside the documentation
  • dub linter is running again
  • module insertion on file renaming is fixed
  • outdated DCD is properly detected
  • DCD updater should work more stable
  • enableAutoComplete setting fixed
  • Fix some unicode issues
  • disabling linting will remove the linter errors from the files

v0.3.0

07 Jul 14:30
Compare
Choose a tag to compare
  • Workspace symbol search now shows all symbols starting with the search query.
  • DScanner issues can now be disabled per workspace and per line of code (using @suppress(all), @suppress(dscanner.xxx) or @supress(xxx) in the same line as the issue, a code fix helps removing it)

v0.2.1

05 Jul 20:42
Compare
Choose a tag to compare

Fixed fsworkspace provider and d.extraRoots not working.

v0.2.0

05 Jul 20:07
9218161
Compare
Choose a tag to compare

Update to workspace-d v3!

This release finally includes multi workspace support. You can manually add instances using the new d.extraRoots setting and prevent automatic instance detection partially using d.disabledRootGlobs or disable it fully using "d.scanAllFolders": false to get back to the old behaviour (but still with working multi-root workspaces).

Some bugs may occur and some old ones may have been fixed during this transition. Please report issues to the code-d github repository.

Project dependent settings such as the status bar buttons or the dub dependencies are linked to the project containing the file you are currently editing.

Minor things:

  • Dependency upgrades (dub to 1.10.0, dfmt to 0.8.2, dscanner to 0.5.7)
  • Settings are now properly categorized for multi-workspace projects and some settings can be set in all cases and some only in user settings.
  • DCD is now fetched from the official github releases (0.9.9)
  • dub.json completion now properly inserts quotes
  • some dub startup errors were fixed
  • import timing takes into account possible second-run optimizations.
  • some requests in code-d were previously decoded wrong, causing silent ignoring of some configuration and parameters. This has been fixed with a single character.

v0.1.3

05 Apr 08:57
Compare
Choose a tag to compare

Pinpoint workspace-d to 2.12.0
fix windows DCD installation

v0.1.2

03 Apr 20:37
Compare
Choose a tag to compare

Bumped --version to 0.1.2

v0.1.1

03 Apr 19:50
Compare
Choose a tag to compare
  • fixed windows installation
  • live output when compiling dcd
  • no longer needed to reload window when freshly installed dcd
  • output folder correct now

v0.1.0

24 Mar 19:38
Compare
Choose a tag to compare

Initial release containing:

  • language server protocol 3.0 implementation
  • implementation of workspace-d features
    • integration of dub for projects
    • import path time detection using dmd as code lens
    • dscanner diagnostics
    • dfmt formatting
    • auto completion of dlangui markup language
    • import symbols code fix
    • module name insertion on file creation & rename (vscode bound)
    • auto completion using dcd (as external program)
  • extension commands
    • dcd install/update binary served/updateDCD
    • list dub configurations served/listConfigurations
    • change dub configuration served/switchConfig
    • getting dub configuration served/getConfig
    • list dub architectures served/listArchTypes
    • change dub architecture served/switchArchType
    • get dub architectureserved/getArchType
    • list dub build types served/listBuildTypes
    • change dub build type served/switchBuildType
    • get dub build type served/getBuildType
    • get dub compiler served/getCompiler
    • change dub compiler served/switchCompiler
    • manually add import path to completion served/addImport
    • sort a block of imports served/sortImports params: textDocument: TextDocumentIdentifier, location: int returns: TextEdit[]
    • implement interface methods for a class served/implementMethods params: textDocument: TextDocumentIdentifier, location: int returns: TextEdit[]
    • restart DCD server served/restartServer
    • refresh dub imports served/updateImports
    • listing dub dependencies served/listDependencies params: string (packageName), returns: DubDependency[] (see protoext.d)
    • kill DCD server served/killServer
    • install dub dependency (edit dub.json/dub.sdl & reload cache) served/installDependency
    • update dub dependency to specified version (edit dub.json/dub.sdl & reload cache) served/updateDependency
    • served/uninstallDependency
  • notifications back to client
    • Log request to dependency (DCD) installation process coded/logInstall
    • Request to change user settings coded/updateSetting
    • Notification that dub is ready to be read with listDependencies coded/initDubTree
    • Notification that dub packages have changed and listDependencies should be called coded/updateDubTree