const FileViewController = brackets.getModule("project/FileViewController")view managing working set.
manager handling project-related operations.
Modifies the selection focus in the project side bar. A file can either be selected in the working set (the open files) or in the file tree, but not both.
Kind: global function
| Param | Type | Description |
|---|---|---|
| fileSelectionFocus | String |
either PROJECT_MANAGER or WORKING_SET_VIEW |
Opens a document if it's not open and selects the file in the UI corresponding to fileSelectionFocus
Kind: global function
| Param | Type | Description |
|---|---|---|
| fullPath | fullPath |
full path of the document to open |
| fileSelectionFocus | string |
(WORKING_SET_VIEW |
| paneId | string |
pane in which to open the document |
Opens the specified document if it's not already open, adds it to the working set, and selects it in the WorkingSetView
Kind: global function
| Param | Type | Description |
|---|---|---|
| fullPath | fullPath |
|
| [paneId] | string |
Pane in which to add the view. If omitted, the command default is to use the ACTIVE_PANE |
Opens the specified document with its associated external editor,
returns either WORKING_SET_VIEW or PROJECT_MANAGER
Kind: global function