<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=LightweightWhiteboard%3ACommands_and_Settings</id>
	<title>LightweightWhiteboard:Commands and Settings - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=LightweightWhiteboard%3ACommands_and_Settings"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=LightweightWhiteboard:Commands_and_Settings&amp;action=history"/>
	<updated>2026-10-21T11:20:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.mutigeraffe.com/index.php?title=LightweightWhiteboard:Commands_and_Settings&amp;diff=2548&amp;oldid=prev</id>
		<title>Maintenance script: LightweightWhiteboard wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=LightweightWhiteboard:Commands_and_Settings&amp;diff=2548&amp;oldid=prev"/>
		<updated>2026-10-20T21:29:58Z</updated>

		<summary type="html">&lt;p&gt;LightweightWhiteboard wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page lists everything the extension adds to VS Code, taken from its &amp;lt;code&amp;gt;package.json&amp;lt;/code&amp;gt;, and the keys that work on the board.&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command Palette !! Command ID !! What it does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Whiteboard: New Whiteboard&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;vscWhiteboard.new&amp;lt;/code&amp;gt; || Opens a new, unsaved board named &amp;lt;code&amp;gt;whiteboard-&amp;lt;n&amp;gt;.whiteboard&amp;lt;/code&amp;gt;. See [[LightweightWhiteboard:Getting Started|Getting Started]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The extension adds no menu entries. To open a PNG in the board, use the built-in VS Code command &amp;#039;&amp;#039;View: Reopen Editor With...&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Open With...&amp;#039;&amp;#039; in the Explorer context menu.&lt;br /&gt;
&lt;br /&gt;
== Editors and file types ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Editor !! View type !! Files !! Priority&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Whiteboard&amp;#039;&amp;#039; || &amp;lt;code&amp;gt;vscWhiteboard.editor&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;*.whiteboard&amp;lt;/code&amp;gt; || Default. These files open in the board automatically.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;Whiteboard (edit PNG)&amp;#039;&amp;#039; || &amp;lt;code&amp;gt;vscWhiteboard.pngEditor&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;*.png&amp;lt;/code&amp;gt; || Option. Only used when you choose it with &amp;#039;&amp;#039;Reopen Editor With...&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The extension adds no languages. To open all PNG files in the board by default, you can use the VS Code setting &amp;lt;code&amp;gt;workbench.editorAssociations&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;workbench.editorAssociations&amp;quot;: {&lt;br /&gt;
    &amp;quot;*.png&amp;quot;: &amp;quot;vscWhiteboard.pngEditor&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
All settings are in the section &amp;#039;&amp;#039;Whiteboard&amp;#039;&amp;#039; of the settings editor.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting !! Type !! Default !! Values !! What it does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;vscWhiteboard.customColors&amp;lt;/code&amp;gt; || list of strings || &amp;lt;code&amp;gt;[]&amp;lt;/code&amp;gt; || hex colors like &amp;lt;code&amp;gt;#1e90ff&amp;lt;/code&amp;gt; || Your saved colors from the color dialog (&amp;#039;&amp;#039;My colors&amp;#039;&amp;#039;). Shared by all boards. See [[LightweightWhiteboard:Colors|Colors]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;vscWhiteboard.defaultWidth&amp;lt;/code&amp;gt; || integer || &amp;lt;code&amp;gt;1920&amp;lt;/code&amp;gt; || 100 to 8000 || Width in pixels of new boards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;vscWhiteboard.defaultHeight&amp;lt;/code&amp;gt; || integer || &amp;lt;code&amp;gt;1080&amp;lt;/code&amp;gt; || 100 to 8000 || Height in pixels of new boards.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* The board writes &amp;lt;code&amp;gt;vscWhiteboard.customColors&amp;lt;/code&amp;gt; to your &amp;#039;&amp;#039;&amp;#039;user&amp;#039;&amp;#039;&amp;#039; settings when you save or remove a color in the color dialog. Changes to the setting reach all open boards at once.&lt;br /&gt;
* &amp;lt;code&amp;gt;defaultWidth&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;defaultHeight&amp;lt;/code&amp;gt; are read when a board is opened. They only apply to boards without an image: new boards, reverted new boards and files that could not be read. Existing boards keep the size of their image.&lt;br /&gt;
* The ranges are part of the setting definition. The settings editor warns about values outside the range. The board itself does not check them.&lt;br /&gt;
&lt;br /&gt;
Example for &amp;lt;code&amp;gt;settings.json&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;vscWhiteboard.defaultWidth&amp;quot;: 1280,&lt;br /&gt;
&amp;quot;vscWhiteboard.defaultHeight&amp;quot;: 720,&lt;br /&gt;
&amp;quot;vscWhiteboard.customColors&amp;quot;: [&amp;quot;#1e90ff&amp;quot;, &amp;quot;#ff8800&amp;quot;]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Keyboard shortcuts ==&lt;br /&gt;
The extension adds no VS Code key bindings. The following keys only work while the board has the focus and you are not typing in a text field.&lt;br /&gt;
&lt;br /&gt;
=== Tools ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Tool&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;P&amp;lt;/code&amp;gt; || Pen&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;E&amp;lt;/code&amp;gt; || Eraser&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;L&amp;lt;/code&amp;gt; || Line&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; || Arrow&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; || Rectangle&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;O&amp;lt;/code&amp;gt; || Ellipse&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt; || Triangle&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt; || Fill bucket&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt; || Pick color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Other keys ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Action&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;[&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;]&amp;lt;/code&amp;gt; || Smaller / larger size&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Shift&amp;lt;/code&amp;gt; (while drawing a shape) || Square, circle, equilateral triangle, lines in 45° steps&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Shift&amp;lt;/code&amp;gt; (while resizing an image) || Ignore the aspect ratio&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Esc&amp;lt;/code&amp;gt; || Cancel the stroke or shape you are drawing, or discard a floating image&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Delete&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Backspace&amp;lt;/code&amp;gt; || Discard a floating image&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; || Place a floating image&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Space&amp;lt;/code&amp;gt; + drag || Pan the view&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Ctrl&amp;lt;/code&amp;gt; + mouse wheel || Zoom at the pointer&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Ctrl+V&amp;lt;/code&amp;gt; || Paste an image from the clipboard&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Undo, redo and save ===&lt;br /&gt;
Undo, redo, save and revert are normal VS Code commands and use your VS Code key bindings, for example &amp;lt;code&amp;gt;Ctrl+Z&amp;lt;/code&amp;gt; for undo and &amp;lt;code&amp;gt;Ctrl+S&amp;lt;/code&amp;gt; for save.&lt;br /&gt;
&lt;br /&gt;
{{LightweightWhiteboard Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>