1.130.0
This is the API for Pulsar version 1.130.0.
-
BufferedNodeProcess
Like BufferedProcess, but accepts a Node script as the command to run.
-
BufferedProcess
A wrapper which provides standard error/output line buffering for Node's ChildProcess.
-
Clipboard
Represents the clipboard used for copying and pasting in Pulsar.
-
Color
A simple color class returned from Config::get when the value at the key path is of type 'color'.
-
CommandRegistry
Associates listener functions with commands in a context-sensitive way using CSS selectors. You can access a global instance of this class via
atom.commands, and commands registered there will be presented in the command palette. -
CompositeDisposable
An object that aggregates multiple Disposable instances together into a single disposable, so they can all be disposed as a group.
-
Config
Used to access all of Pulsar's configuration details.
-
ContextMenuManager
Provides a registry for commands that you'd like to appear in the context menu.
-
Cursor
The
Cursorclass represents the little blinking line identifying where text can be inserted. -
Decoration
Represents a decoration that follows a DisplayMarker. A decoration is basically a visual representation of a marker. It allows you to add CSS classes to line numbers in the gutter, lines, and add selection-line regions around marked ranges of text.
-
DeserializerManager
Manages the deserializers used for serialized state
-
Directory
Represents a directory on disk that can be traversed or watched for changes.
-
Disposable
A handle to a resource that can be disposed. For example, Emitter::on returns disposables representing subscriptions.
-
Dock
A container at the edges of the editor window capable of holding items. You should not create a Dock directly. Instead, access one of the three docks of the workspace via Workspace::getLeftDock, Workspace::getRightDock, and Workspace::getBottomDock or add an item to a dock via Workspace::open.
-
Emitter
Utility class to be used when implementing event-based APIs that allows for handlers registered via
::onto be invoked with calls to::emit. Instances of this class are intended to be used internally by classes that expose an event-based API. -
File
Represents an individual file that can be watched, read from, and written to.
-
GitRepository
Represents the underlying git operations performed by Pulsar.
-
Grammar
Grammar that tokenizes lines of text.
-
GrammarRegistry
This class holds the grammars used for tokenizing.
-
Gutter
Represents a gutter within a TextEditor.
-
HistoryManager
History manager for remembering which projects have been opened.
-
LayerDecoration
Represents a decoration that applies to every marker on a given layer. Created via TextEditor::decorateMarkerLayer.
-
Notification
A notification to the user containing a message and type.
-
NotificationManager
A notification manager used to create Notifications to be shown to the user.
-
Package
Loads and activates a package's main module and resources such as stylesheets, keymaps, grammar, editor properties, and menus.
-
PackageManager
Package manager for coordinating the lifecycle of Pulsar packages.
-
Pane
A container for presenting content in the center of the workspace. Panes can contain multiple items, one of which is active at a given time. The view corresponding to the active item is displayed in the interface. In the default configuration, tabs are also displayed for each item.
-
Panel
A container representing a panel on the edges of the editor window. You should not create a
Paneldirectly, instead use Workspace::addTopPanel and friends to add panels. -
PathWatcher
Manage a subscription to filesystem events that occur beneath a root directory. Construct these by calling
watchPath. To watch for events within active project directories, use Project::onDidChangeFiles instead. -
Project
Represents a project that's opened in Pulsar.
-
ScopeDescriptor
Wraps an Array of
Strings. The Array describes a path from the root of the syntax tree to a token including all scope names for the entire path. -
Selection
Represents a selection in the TextEditor.
-
StyleManager
A singleton instance of this class available via
atom.styles, which you can use to globally query and observe the set of active style sheets. TheStyleManagerdoesn't add any style elements to the DOM on its own, but is instead subscribed to by individual<atom-styles>elements, which clone and attach style elements in different contexts. -
Task
Run a node script in a separate process.
-
TextBuffer
A mutable text container with undo/redo support and the ability to annotate logical regions in the text.
-
TextEditor
This class represents all essential editing state for a single TextBuffer, including cursor and selection positions, folds, and soft wraps. If you're manipulating the state of an editor, use this class.
-
ThemeManager
Handles loading and activating available themes.
-
TooltipManager
Associates tooltips with HTML elements.
-
ViewRegistry
ViewRegistryhandles the association between model and view types in Pulsar. We call this association a View Provider. As in, for a given model, this class can provide a view via ViewRegistry::getView, as long as the model/view association was registered via ViewRegistry::addViewProvider -
WASMTreeSitterGrammar
This class holds an instance of a Tree-sitter grammar.
-
Workspace
Represents the state of the user interface for the entire window. An instance of this class is available via the
atom.workspaceglobal. -
WorkspaceCenter
Represents the workspace at the center of the entire window.