Skip to content

querux/script_multi_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godot_engine tool license copyright


Script Multi Plus

This add-on allows you to view and edit multiple code editors.


Caution

Floating is not supported.

If it still does not work after restarting, execute   Data Button

Issues

Caution

Right-clicking a property in the Inspector and selecting Open Document will not jump to that item.

It will jump only if the document is already open."


Overview

  • Multiple

  • SMP Finder




ICONS  

*( ) default settings



  Expand / Focus  ( Ctrl + Shift + 1 ~ 3 )

  • Expand the selected editor to its maximum view.

Tip

When using shortcut keys, pressing the key of a non-focused index will move the focus to it.

If the index is already focused, it will be maximized."



  Recent Open  ( Ctrl + Shift + ] )

  • A list of recently opened scripts.

  • The Recent list differs for each container (1~3).

  • When opened using shortcut keys, you can navigate using the Up and Down keys.

  • If the script does not exist in the FileSystem, it will appear in gray.

  • The top is the oldest, and the bottom is the newest.

image

Tip

If it is already open, pressing the shortcut key again will close it.

Can be changed in Project Settings Popup Recent Max Size 2 to 16



  Vertical Button



  Boundary Button

  • Enables line wrapping.

Note

Wraps and displays the hidden parts of the code.



  Minimap Button

  • Minimap: Show / Hide


  Add / Minus



  Data Button   ( Hold Mouse button )

  • #1   Hold left click : delete Containers save data.

  • #2   Hold right click : delete All save data.


Tip

If SMP still does not work properly after restarting,

execute #1 to delete the container data.   If it still does not work,

execute #2 to delete all save data ( ScriptMultiPlusData will be moved to the trash ).




SMP Container Features

Note

The SC Editor can be displayed up to three times. The editor indexes are fixed.

Press the     to change the orientation of the container.

 

 

Drag Area

Note

The yellow line is the drag area.

It is located slightly to the side, not in the center.

  • Horizontal

  • Vertical


Tip

If no script is attached to the container,

it is a plain notepad with no functionality. You can only write in it.




How to Attach a Script

  • Clicking on the Script Editor will move the focus to that index.

  • When opening a script by double-clicking from Godot's Filesystem,

  • it will be loaded into the currently focused Editor index.


Important

The     button is displayed when a script is attached to the container.


Important

The next index number is active only when a script is being loaded in the Editor.


Caution

When a set script is removed from the list,

the previous container becomes empty. Using it in this state increases the likelihood of bugs.

It is recommended to mainly use container indexes 1 and 2.



Settings Features

Note

The addon settings can be found at the bottom of the Project Settings under the item Script Multi Plus.

The save data will be placed in the current project folder:   default name : ( ScriptMultiPlusData )


Code Edit Settings

*( ) default settings


Center Caret on Scroll :   ( true )

  • When pressing Ctrl + Allow Up or Allow Down, the caret position is always kept centered.

Text Scroll Past End of File :   ( true )

  • Allow scrolling past the last line into "virtual" space.

Text Scroll Multiply :   (2)

  • When pressing Ctrl + Arrow Up or Arrow Down, the caret movement distance is adjusted.

Popup Recent Max Size :   (8)

  • Can be changed in Project Settings Popup Recent Max Size 2 to 16

   


   

   



Find Word Settings

*( ) default settings


Word Search ( Shift *2 )

  • Double-clicking a word, or pressing the Shift key 2 times in a row,

  • will highlight the word with a green line color. ( Text Word Color )


Tip

To hide the displayed word line color,

double-click on an area without code or press the Shift key 2 times.

Pressing the ESC key will hide the line color.


Word Jump   Previous : ( Ctrl + Shift + / )   Next : ( Ctrl + Shift + \ )

  • When the line color is set to a hit,
  • pressing the shortcut key will move the caret to the previous or next hit.

Tip

Editing the code will hide the line color,

but the words are stored internally.

Pressing the shortcut key will jump to the matched words."



Note

When the caret is inside a region word,

pressing the Shift key 2 times in a row will toggle the region open or closed.




Find Search ( Ctrl + F )

  • When using the standard search with Ctrl + F,

  • the matched words will be highlighted with a blue line color. ( Text Find Color )

Tip

When a Find search is active, the line color will not change even if you do a Word search.

Pressing the ESC key will hide the line color.


Find Jump   Previous : ( Shift + Enter )   Next : ( Enter )

Tip

When the Line Edit is focused,

pressing Enter or Shift + Enter will jump to the hit words ( Godot standard keys ).



Tip

To hide the line color, set the Alpha to 0.




SMP Finder


Selected :   Folder / Script ( LMB or Enter )   Deselect :   ( RMB or Backspace )

Note

Right-click or press the Backspace key to deselect.

Pressing Ctrl + Arrow Up or Down moves by 4 rows.

SMP Finder :   Open ( Alt *2 )

Important

Only when the Script Editor is focused. ( LMB or Ctrl + Shift + 1~3 )

Pressing the Alt key 2 times in a row will display the Finder.

Important

SMP Finder can be opened using shortcut keys only. There is no icon.

Click outside the panel to close it.



SMP Finder Details -


*1:   SMP Line Edit ( Ctrl + F )

*2:   Displays a list of scripts from the registered folders. ( Script only )


*3:   List of registered folders.   ProjectSettings: ( Popup Folder Name: Array )

addons/script_multi_plus//finder_panel/popup_folder_name

Important

Only root folder names can be registered.

The folders displayed are the root folder and the first-level folders under the root.

The folder display is limited to the first level, but scripts inside nested folders will still be shown.

Child folder names cannot be registered or displayed.


*4:   A button to attach to the index of the SMP Container. ( LMB or Enter )

*5:   Script status

*6:   Number of Scripts




Shortcuts Settings

*( ) default settings


Caution

The shortcut keys for the Mac version have not been tested, so their functionality is not guaranteed.


Shortcut keys

Name Key
OpenRecent       Ctrl + Shift + ]      
Focus_1 Ctrl + Shift + 1
Focus_2 Ctrl + Shift + 2
Focus_3 Ctrl + Shift + 3
TextScrollUp Ctrl + Up
TextScrollDown Ctrl + Down
JumpPrevious Ctrl + Shift + /
JumpNext Ctrl + Shift + \

Important

If the shortcut keys are changed, please click on the ScriptEditor ( LMB ).

The changes will not take effect otherwise.



my other plugins : LINK



Important

Cheers! Godot-Life



Top   Icons   Contaier   Settings   SMP Finder   Shortcuts


Home

About

You can display and edit multiple script windows at the same time.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published