description-package provides the old behavior of SDE as fallback if debugYamlPackage is not available using swift package describe --type json. No new behavior.
swift-file-package provides a helper target containing all unused Swift files. No new behavior.
This PR implements changes proposed in https://github.com/vknabel/vscode-swift-development-environment/issues/27#issuecomment-414717260.
First of all, it includes some major refactoring
Current
typerootPath
in favor ofworkspaceFolders
for better workspace supportallModulePaths
andallModuleSources
withtargets
allModulePaths
andallModuleSources
intoPackage
sWithin this PR, a
Package
provide autocompletionTarget
s (module
is a keyword in JS).The following packages are known:
availablePackages
which includes all other packages. No new behavior.configPackage
providing targets fromswift.targets
setting. New behavior.debugYamlPackage
provides targets by reading the.build/(debug|release).yaml
files. New behavior as proposed by https://github.com/vknabel/vscode-swift-development-environment/issues/27#issuecomment-414717260.description-package
provides the old behavior of SDE as fallback ifdebugYamlPackage
is not available usingswift package describe --type json
. No new behavior.swift-file-package
provides a helper target containing all unused Swift files. No new behavior.