The atom editor is new and the window appears every time I start the app.
It's a little rough, so I'd like to solve it.
Anyone who knows how to solve it
atom-editor
This article probably applies.
How to open a new file in a other tab installed of a new window in Atomitor?
Questions
I have already opened the Atom Editor window on my Linux and will try to run the Atom to open other files from the terminal.
atom/path/to/new_file.txt
When you open a new file, atom attempts to open a new window instead of opening a new tab in the currently open atom editor.Is there a way to tell Astro Boy not to open a new window (via config etc.) if the Astro Boy window is already open?
Answer
Is there a way to tell atom not to open a new window (through config or something)?
atom-n false/path/to/new_file.txt
where:
-n, --new-windowOpen a new window. [boolean]
Source: Open file/project from terminal/command line-features-Atom Discusion
atom --help
Atom Editor v0.80.0
Usage: atom [options] [file...]
Options:
-d, --dev Run in development mode. [boolean]
-f, --foreground Keep the browser process in the foreground. [boolean]
-h, --help Print this usage message. [boolean]
-l, --log-file Log all output to file. [string]
-n, --new-windowOpen a new window. [boolean]
-s, --spec-directory Set the spec directory (default: Atom's spec directory). [string]
-t, --test Run the specified specifications and exit with error code on failures. [boolean]
-v, --version Print the version. [boolean]
-w, --wait Wait for window to be closed before returning. [boolean]
atom has rc files and global settings, so can I set this option as the default?
Atom config.cson
loads the configuration settings from a file in the %USERPROFILE%\.atom
directory.
However, this --new-window
option is not one of the configurable options.
Source: Basic Customization
© 2024 OneMinuteCode. All rights reserved.