mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
📝 Doc other atom.open options
This commit is contained in:
@@ -363,7 +363,15 @@ class Atom extends Model
|
||||
# a file/folder to open in the new window.
|
||||
#
|
||||
# options - An {Object} with the following keys:
|
||||
# :pathsToOpen - An {Array} of {String} paths to open.
|
||||
# :pathsToOpen - An {Array} of {String} paths to open.
|
||||
# :newWindow - A {Boolean}, true to always open a new window instead of
|
||||
# reusing existing windows depending on the paths to open.
|
||||
# :devMode - A {Boolean}, true to open the window in development mode.
|
||||
# Development mode loads the Atom source from the locally
|
||||
# cloned repository and also loads all the packages in
|
||||
# ~/.atom/dev/packages
|
||||
# :safeMode - A {Boolean}, true to open the window in safe mode. Safe
|
||||
# mode prevents installed packages from loading
|
||||
open: (options) ->
|
||||
ipc.send('open', options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user