LoginSignup
1
2

More than 5 years have passed since last update.

Atom Packageで編集可能なPaneを表示したい

Posted at

plugin作成のメモ
AtomのPackage作成中、編集可能な(Editor View)を右Paneに表示したい場合

# 右Pane取得
pane = atom.workspace.getActivePane().splitRight()

# 編集可能な領域を設定
{EditorView} =require 'atom'
editorView = new EditorView(mini:true)

# 右Paneに編集可能な領域を設定
pane.addItem EditorView.getEditor()
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2