Workspace

DlangIDE workspace

class Workspace : WorkspaceItem {}

Constructors

this
this(IDEFrame frame, string fname)
Undocumented in source.

Members

Functions

absoluteToRelativePath
string absoluteToRelativePath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
addDependencyProject
bool addDependencyProject(Project p)
Undocumented in source. Be warned that the author may not have intended to support it.
addProject
void addProject(Project p)
Undocumented in source. Be warned that the author may not have intended to support it.
cleanupUnusedDependencies
void cleanupUnusedDependencies()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
fillStartupProject
void fillStartupProject()
Undocumented in source. Be warned that the author may not have intended to support it.
findProject
Project findProject(string filename)

find project in workspace by filename

findProjectByName
Project findProjectByName(string name)

find project in workspace by filename

findProjectInWorkspace
Project findProjectInWorkspace(Project p)
Undocumented in source. Be warned that the author may not have intended to support it.
findProjectInWorkspace
Project findProjectInWorkspace(string projectFilename)
Undocumented in source. Be warned that the author may not have intended to support it.
findSourceFile
ProjectSourceFile findSourceFile(string projectFileName, string fullFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
findSourceFileItem
ProjectSourceFile findSourceFileItem(string filename, bool fullFileName)

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

getBreakpoints
Breakpoint[] getBreakpoints()

returns all workspace breakpoints

getSourceFileBookmarks
EditorBookmark[] getSourceFileBookmarks(ProjectSourceFile file)
Undocumented in source. Be warned that the author may not have intended to support it.
getSourceFileBreakpoints
Breakpoint[] getSourceFileBreakpoints(ProjectSourceFile file)
Undocumented in source. Be warned that the author may not have intended to support it.
isDependencyProjectUsed
bool isDependencyProjectUsed(string filename)
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.
refresh
void refresh()
Undocumented in source. Be warned that the author may not have intended to support it.
removeProject
Project removeProject(int index)
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.
setSourceFileBookmarks
void setSourceFileBookmarks(ProjectSourceFile file, EditorBookmark[] bookmarks)
Undocumented in source. Be warned that the author may not have intended to support it.
setSourceFileBreakpoints
void setSourceFileBreakpoints(ProjectSourceFile file, Breakpoint[] breakpoints)
Undocumented in source. Be warned that the author may not have intended to support it.
setStartupProjectConfiguration
void setStartupProjectConfiguration(string conf)

setups currrent project configuration by name

Properties

buildConfiguration
BuildConfiguration buildConfiguration [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
buildConfiguration
BuildConfiguration buildConfiguration [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
expandedItems
string[] expandedItems [@property getter]

read list of expanded items from settings

expandedItems
string[] expandedItems [@property setter]

update list of expanded items in settings

files
WorkspaceFile[] files [@property getter]

Last opened files in workspace

files
WorkspaceFile[] files [@property setter]

Last opened files in workspace

includePath
Setting includePath [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
projectConfiguration
ProjectConfiguration projectConfiguration [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
projectConfiguration
ProjectConfiguration projectConfiguration [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
projects
Project[] projects [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
selectedWorkspaceItem
string selectedWorkspaceItem [@property getter]

last selected workspace item in workspace explorer

selectedWorkspaceItem
string selectedWorkspaceItem [@property setter]

update last selected workspace item in workspace explorer

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

Variables

_buildConfiguration
BuildConfiguration _buildConfiguration;
Undocumented in source.
_frame
IDEFrame _frame;
Undocumented in source.
_projectConfiguration
ProjectConfiguration _projectConfiguration;
Undocumented in source.
_projects
Project[] _projects;
Undocumented in source.
_settings
WorkspaceSettings _settings;
Undocumented in source.
_startupProject
Project _startupProject;
Undocumented in source.
_workspaceFile
SettingsFile _workspaceFile;
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.
_originalName
dstring _originalName;
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

name8
string name8 [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
dstring name [@property setter]

name

description
dstring description [@property getter]

description

description
dstring description [@property setter]

description

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