- Updated autocomplete snippets for API changes up to v13.2
- Added autocomplete snippets for API changes up to v13.1
- Fixed confirm dialogs broken by Atom update.
- If you get an error when you try to Get Lua Scripts you need to update Atom.
- Internal
- Fixed goto line number not working with included files.
- Fixed snippet parameter order for onObjectDrop and onObjectPickUp.
- Fixed
require
not using.
as a path separator. - Fixed
require
bundling error reporting. - Fixed a bunch of autocomplete suggestions.
- Internal
- Fixed parser not understanding
!=
syntax. - Added better error messages.
- Added
require
functionality. - Fixed exceptions caused by names having
\n
in them. - Fixed non-TTS files also open in Atom causing problems.
- Fixed some autocomplete suggestions.
- Added autocomplete snippets for API changes up to v12.2.0
- Added autocomplete snippets for API changes in v11.1.0
#include
base functionality restored to before previous version.- You may now wrap your
#include
d file in<
and>
to make it be enclosed in ado
...end
block. - Some autocomplete snippet fixes
#include
code blocks now surrounded bydo
...end
to isolate locals they define- Fixed
<Include...
setting description.
- Added functionality for xml files (matches functionality already present for lua files)
- Added autocomplete snippets for API changes in v11.0.0
- Fixed some missing autocompletes
- Added autocomplete snippets for API changes in v10.9.0
- Added missing Notes and Wait autocomplete snippets.
- Added autocomplete snippets for API changes in v10.8.
- Added autocomplete snippets for API changes in v10.7.
- Added snippets for
color
andvector
. - Added
Close TTS Tabs
menu command.
- Rewrote file handler: much simplified, it should eliminate EPERM bugs.
- Fixed file leak which would occur when using #include directive
- Added tags to logging system; can specify which verbose logs are displayed in package settings.
- Prep for next TTS update: If user creates object in TTS without saving in TTS then doing a Save & Play in Atom will generate a warning.
- Atom reparses TTS save when save occurs
- Fixed bug with goto error getting confused by .xml files
- Fixed erroneously trying to delete non-existent .xml file
- Fixed tab not focussing when user right-clicked object->scripting and file was already open
- Now checks if the active save has been altered in TTS; if so it prompts user about overwrite when they Save & Play
- Improved confirmation dialogs
- Added automatic creation of empty XML when object sent from TTS, and setting toggle for it
- Added menu option to create XML stub for object
- Fixed Goto Last Error bug
- Fixed Open Global Only and Open None behaviour
- Better feedback on files received from TTS
- Added more verbose logging
- No longer wipes temp files or closes tabs when communicating with TTS
- Added verbose logging option in settings
- Added support for sending/receving xml ui scripts
- Added
setLookingForPlayers
- Added UI and Turns classes (and a couple of misc functions) to autocomplete
- Forced TTS connection restart whenever Get Lua Scripts of Save & Play executed (should stop deadlock problem)
- Fixed .xml extension
- Fixed editor window not focussing when selected object script sent from TTS.
- Added onSearchStart(player), onSearchEnd(player), onObjectSearchStart(object, player), onObjectSearchEnd(object, player)
- Added
hover_color
andpress_color
parameters toobject.createButton
- Added rudimentary XMLUI support
- Some file-handling stability fixes
- Updated API links in autocomplete snippets to point to new API website
- Fixed bug in script loading from TTS
- Added onPlayerConnect, onPlayerDisconnect
- Added log, logStyle
- Force active file to open last on Save & Play so it remains active
- Removed 'experimental' tag from some features
- Fix #47
- TTS now fully supports utf-8, so plugin no longer converts utf-8 to \u codes (it still does the reverse if the setting is enabled)
- Open Save File command
- Generate GUID Code command (pulls GUIDs from TTS save file and makes Lua for them). Format customizable in Style section of package settings.
- Execute Selected Lua (ctrl-@) - send whatever code you have selected to TTS. If you're in an object script will execute under that object, otherwise will execute in Global.
- Highlight GUID Objects setting. When enabled and your cursor is near a GUID string will make TTS highlight the related object.
- Updated autocomplete suggestions for v10.2 additions
- Fixed some linter warnings relating to comments
- Fixed go to line function (was going to wrong line)
- Added more comprehensive setting to let user decide what files are opened in Atom when they are sent from TTS. Can also completely disable communication with TTS.
- Now displays a pop-up in Atom when your TTS mod hits a run-time error, with a button to jump to offending line (if able).
- Added
Jump To Last Error
menu option and hotkeyctrl-e
. - Changed some settings so they default to on for options which have proved stable (such as the unicode conversion setting)
- Added default hotkeys for Get Lua Scripts (ctrl-shift-l) and Save And Play (ctrl-shift-s)
- Added documentation to github wiki, and help item to menu in plugin to open it
- Fixed errors which caused plugin to lock-up and be unable to fetch or send from/to TTS
- Added some more logging to save routines for future debugging
- Linter now recognizes repeat/until one-liners
- Grammar added for #include preprocessor command
Linter:
- Added ability to manually suppress a warning: postfix the line with --
- Added the option to delay the linter when a file is first opened
- Better understands one-liners (now works with closing parenthesis)
- Better understands table definitions (optional comma after last item)
- Fixed the linter spamming file locks when files are opened
Lua module snippets
- Added autocomplete suggestions for built-in Lua classes: string, table, bit32, dynamic
Linter support
- Added linter support (i.e. error detection as you type, instead of waiting to see errors after Save And Play)
- To enable it go to atom settings->install and install the 'linter' package by 'steelbrain' and the dependencies it asks for (other atom linter consumers should also work if you prefer one of them, i.e. Nuclide or atom-ide-ui).
Other updates
- Feature to re-open non-TTS files now simply does not close them when you Save And Play
- Save And Play now locks itself so you cannot trigger it more than once-at-a-time.
- Better autocomplete handling of else/elseif/end
- Fixed error on trying to Go To Line > end of file
- Fixed copy+paste error in cursorChange event
- Fixed not finding current function if root function had indent
- Fixed freezing when right click object and selecting lua editor
- Merged more pull requests
- Merged more pull requests with async saving
- Merged more pull requests
- Merged two pull requests
- Added getHandObjects() to Player
- Added onObjectDropped() event
- Added onObjectPickedUp() event
- Changed onload() to onLoad(). onload() will still work, just not in autocomplete
- Added Timer static global class
- Added onSave() event
- Added parameter to onLoad() for save state
- Added script_code to Global
- Added script_state to Object and Global
- Deprecated callLuaFunctionInOtherScript() and callLuaFunctionInOtherScriptWithParams()
- Added call() to Object and Global
- Added onAttack() to RPGFigurine
- Added onHit() to RPGFigurine
- Added promoted to Player
- Added team to Player
- Added kick() to Player
- Added mute() to Player
- Added promote() to Player
- Added changeColor() to Player
- Added changeTeam() to Player
- Added previous player to onPlayerTurnStart()
- Added next player to onPlayerTurnEnd()
- Added use_grid to Object
- Added use_snap_points to Object
- Added auto_raise to Object
- Added sticky to Object
- Added interactable to Object
- Removed getPlayer()
- Added Player static global class
- Added JSON static global class
- Added TextTool class
- Added tonumber() to autocomplete
- Added tostring() to autocomplete
- Added addNotebookTab() to autocomplete
- Added removeNotebookTab() to autocomplete
- Added getNotebookTabs() to autocomplete
- Added editNotebookTab() to autocomplete
- Added clearPixelPaint() to autocomplete
- Added clearVectorPaint() to autocomplete
- Added copy() to autocomplete
- Added paste() to autocomplete
- Added clone() to autocomplete
- Added RPGFigurine class to autocomplete
- Changed autocomplete references to color to player_color as appropriate
- Fixed Uncaught TypeError: this.stopConnection is not a function
- Globally accessible functions have been recolored to teal instead of blue
- Moved TTS contextual menu commands into a submenu
- Fixed setState autocomplete to include integer parameter
- Bumping to get Atom repo to recognize it
- Added getLuaScript()
- Changed scaleAllAxes() to scale() overload
- Cleaned up debug prints
- Fixed Save & Play with a new tab open
- Fixed reading in script/Object nicknames with special characters
- Added pushing from Unity. Push new scripts, debug print messages, and error messages.
- Reloading was reloading the old version, not the new one. Removed reloading code.
- Test autoupdater
- Autoupdater reloads plugin after update
- Test autoupdater
- Added autoupdater
- Test
- Added script_code to Object autocomplete
- Every feature added
- Every bug fixed