Project

DLANGIDE D project

class Project : WorkspaceItem {}

Constructors

this
this(Workspace ws, string fname, string dependencyVersion)
Undocumented in source.

Members

Functions

addDependency
bool addDependency(Project dep)
Undocumented in source. Be warned that the author may not have intended to support it.
findItems
ProjectFolder findItems(string[] srcPaths)
Undocumented in source. Be warned that the author may not have intended to support it.
findMainSourceFile
void findMainSourceFile()
Undocumented in source. Be warned that the author may not have intended to support it.
findSourceFileItem
ProjectSourceFile findSourceFileItem(ProjectItem dir, string filename, bool fullFileName)

tries to find source file in project, returns found project source file item, or null if not found

findSourceFileItem
ProjectSourceFile findSourceFileItem(string filename, bool fullFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
load
bool load(string fname)
Undocumented in source. Be warned that the author may not have intended to support it.
loadSelections
bool loadSelections()
Undocumented in source. Be warned that the author may not have intended to support it.
refresh
void refresh()
Undocumented in source. Be warned that the author may not have intended to support it.
relativeToAbsolutePath
string relativeToAbsolutePath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
save
bool save(string fname)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

builderSourcePaths
string[] builderSourcePaths [@property getter]

returns project's own source paths

configurations
const(ProjectConfiguration[string]) configurations [@property getter]

returns project configurations

content
SettingsFile content [@property getter]

direct access to project file (json)

defWorkspaceFile
string defWorkspaceFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dependencies
Project[] dependencies [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dependencyVersion
string dependencyVersion [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
description
dstring description [@property getter]

name

description
dstring description [@property setter]

name

executableFileName
string executableFileName [@property getter]

return executable file name, or null if it's library project or executable is not found

importPaths
string[] importPaths [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isDependency
bool isDependency [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isExecutable
bool isExecutable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
items
ProjectFolder items [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
mainSourceFile
ProjectSourceFile mainSourceFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
dstring name [@property getter]

name

name
dstring name [@property setter]

name

runArgs
string runArgs [@property getter]

commandline parameters for running and debugging project

runInExternalConsole
bool runInExternalConsole [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
settings
ProjectSettings settings [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
settingsFileName
string settingsFileName [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sourcePaths
string[] sourcePaths [@property getter]

returns project's own source paths

workingDirectory
string workingDirectory [@property getter]

working directory for running and debugging project

workspace
Workspace workspace [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
workspace
Workspace workspace [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_builderSourcePaths
string[] _builderSourcePaths;
Undocumented in source.
_configurations
ProjectConfiguration[string] _configurations;
Undocumented in source.
_dependencies
Project[] _dependencies;
Undocumented in source.
_dependencyVersion
string _dependencyVersion;
Undocumented in source.
_isDependency
bool _isDependency;
Undocumented in source.
_items
ProjectFolder _items;
Undocumented in source.
_mainSourceFile
ProjectSourceFile _mainSourceFile;
Undocumented in source.
_opened
bool _opened;
Undocumented in source.
_projectFile
SettingsFile _projectFile;
Undocumented in source.
_settingsFile
ProjectSettings _settingsFile;
Undocumented in source.
_sourcePaths
string[] _sourcePaths;
Undocumented in source.
_workspace
Workspace _workspace;
Undocumented in source.

Inherited Members

From WorkspaceItem

_filename
string _filename;
Undocumented in source.
_dir
string _dir;
Undocumented in source.
_name
dstring _name;
Undocumented in source.
_description
dstring _description;
Undocumented in source.
filename
string filename [@property getter]

file name of workspace item

dir
string dir [@property getter]

workspace item directory

filename
string filename [@property setter]

file name of workspace item

name
dstring name [@property getter]

name

name
dstring name [@property setter]

name

description
dstring description [@property getter]

name

description
dstring description [@property setter]

name

load
bool load(string fname)

load

save
bool save(string fname)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta