const NativeApp = brackets.getModule("utils/NativeApp")Virtualized NativeApp apis that works cross-platform, and in the browser.
openLiveBrowser Open the given URL in the user's system browser, optionally enabling debugging.
Kind: global function
| Param | Type | Description |
|---|---|---|
| url | string |
The URL to open. |
| [enableRemoteDebugging] | boolean |
Whether to turn on remote debugging. Default false. |
closeLiveBrowser
closeAllLiveBrowsers Closes all the browsers that were tracked on open
TODO: does not seem to work on Windows
Opens a URL in the system default browser.
Kind: global function
| Param | Type | Description |
|---|---|---|
| url | string |
|
| tabIdentifier | string |
An optional tab identifier can be set to group the tabs. Maps to target option in browser. Doesn't do anything in tauri. |
Gets the path to the application's support directory
Kind: global function