SkEditor

Skript Tools SkEditor v2.8.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Hello!
This is just a small update containing a few fixes and changes. In a few days, I'm going on vacation, so the next version will appear in September - I hope it will be much bigger and finally important changes will see the light of day

Changes
- Added a color picker to the "Tools" menu tab.
- Improved the Escape button functionality in settings - when on a subpage, pressing it will return to the previous page; when on the main page, it will close the window.
- Fixed incorrect icon size and title in the application "introduction" during first launch.
- Removed the old API - Addon Rework added a new API, but the old one was kept and marked as deprecated - now it's gone completely.
- Added variable name suggestions in the code completion prototype experiment.
- Fixed a bug with the "hex preview" experiment that didn't highlight colors with a single #.
- Multi-line comments added in Skript 2.9 will no longer be parsed by the code parser.
- Removed the unnecessary "Session saved" debug log that appeared in the logs.

Enjoy!
Hey there!
The last "normal" update was in May, and now it's August. Quite some time has passed! Many users are still on v2.5.0 because the last two versions were pre-releases, which SkEditor ignored in auto-updates.
This update, compared to the last pre-release version, is relatively small. I mainly focused on fixing numerous minor bugs.

Changes
- Added a current line highlighting feature. It's enabled by default in most editors, but SkEditor didn't even have the option. Now it's been added - it's on by default, can be toggled in personalization settings, and the highlight style can be changed in themes.
- App crashes should be better managed - the program should have no problem saving all files in time to reopen them on the next launch. Additionally, errors from addons won't shut down the program anymore - users will just get information about which addon is causing the error.
- Restored the Save All shortcut - however, it might not work on some keyboard layouts, e.g., Polish.
- Most windows should now be closable using the Escape key.
- Documentation, command generator, and GUI windows will now set focus on the text field by default when launched.
- SkEditor will now close the welcome window if the user opens a file.
- Queue saving should work better - auto-pairing shouldn't cause issues anymore.
- Fixed a few bugs in the Session Restore feature.
- Increased additional space for horizontal scrolling to make editing text at the edge more comfortable.

Enjoy!
Hey!

It's been two weeks since the release of v2.7.0. I was on vacation, so I couldn't work on a new version until now.

This version had some particularly annoying bugs, so I've prepared a small update that hopefully fixes most of them. If you come across any bugs, please report them on our Discord server!

Bug Fixes
- Implemented a queue system for saves
- Removed the "Save All" shortcut
- Refactored the crash file saving system
- Settings are now saved automatically when closing the settings window
- Resolved several issues related to the Autosave feature
- Fixed a crash that occurred when searching documentation using SkriptHub, SkriptMC, or Local providers
- Fixed a crash associated with the "Save All" feature
- Resolved a crash caused by invalid session restore files

Enjoy!
Hello!

It's been a while since the last update, hasn't it?
I'd like to point out that this is a pre-release version. Many changes have been made, so there might be some bugs. I've fixed everything I could find, but I prefer to release this update as a pre-release for safety reasons.

Changes
- Completely overhauled the addon system (https://github.com/SkEditorTeam/SkEditor/pull/56) - thanks to @ItsTheSky. This is the biggest change in this version, so it's hard to describe it fully - please check the PR and test it out.
- Added a welcome tab
- Added "go to line" function (https://github.com/SkEditorTeam/SkEditor/pull/61) - thanks to @3meraldK
- Added "trim whitespaces" function (https://github.com/SkEditorTeam/SkEditor/pull/70) - thanks to @3meraldK
- Added "Save all" function (https://github.com/SkEditorTeam/SkEditor/pull/72) - thanks to @3meraldK
- Added the ability to close a project (https://github.com/SkEditorTeam/SkEditor/pull/71) - thanks to @3meraldK
- Added an icon for the Documentation tab
- Added support for the Enter button and focus on the search field in Documentation (https://github.com/SkEditorTeam/SkEditor/pull/62) - thanks to @3meraldK
- Added document size on the bottom bar (https://github.com/SkEditorTeam/SkEditor/pull/64) - thanks to @3meraldK
- Added missing descriptions in settings (https://github.com/SkEditorTeam/SkEditor/pull/68) - thanks to @3meraldK
- Improved translations, updated Polish language
- After an application crash, an improved window showing logs will now be displayed
- Added a log window
- Added Developer Mode in the About tab in settings
- "Check for changes" is now disabled by default. This is because it's still a "peculiarly" working option and will be improved in the future
- Fixed a crash related to missing item icons in the item selector - in such cases, the item icon will be displayed as a barrier
- Fixed crash related to session restore
- Fixed crashes related to syntax highlighting
- Fixed a bug causing the need to double-click the close button for it to take effect
- Fixed incorrect detection of section endings in the code parser
- Fixed a bug causing the inability to toggle some options in settings
- App updater will no longer treat pre-release versions as newer, so there won't be notifications about them.

Is that all? To be honest, there's so much that I might have forgotten something.

[!NOTE]
One more thing...
If you'd like to use SkEditor on Linux or macOS, I've created a guide.
However, currently, it's for version v2.5.0 and this will be updated soon.

That's all for now. Enjoy!
Hey!

It's fair to say that April's update was simply a failure. It came out at the end of the month, was small, and its biggest feature caused issues, leading me to recommend many users disable it...

That's why I'm coming back to you in May with a much better update!

Changes

- SkEditor was missing a feature that even SkEditor+ had - a built-in browser for viewing the Skript documentation. This was because with the change of the new platform, it was quite difficult and problematic. However, thanks to @ItsTheSky, this update brings it back in a much better form - a native, built-in documentation viewer!

docs

It allows you to quickly and conveniently browse the Skript documentation by connecting to skUnity. You can also download individual elements to view them offline.

- Related to the documentation, a new "Connections" tab has been added to the settings, allowing you to manage connections to external services like skUnity or Pastebin.
- A new experiment has been added - Real-Time Code Parser. Thanks to this, the code parser automatically updates information as soon as you modify the code.
- New option: Auto-indent Paste. When enabled, the editor adjusts pasted code to match the current indentation.
- The Code Parser should now correctly mark the start and end of sections.
- The Session Restoring experiment should no longer cause crashes on program startup.
- With Session Restoring enabled, if you had unsaved files open, you had to double-click the close button to exit - fixed.

End Notes
And that's about it! I'm currently adding another very interesting feature - SkDoc - but I preferred to move it to June.
Besides that, this update doesn't address a few issues I'm aware of - such as with the Session Restoring experiment. These will be addressed in smaller future updates or the June one.

Enjoy!
Version 2.4.0 contained a serious bug: SkEditor just....couldn't close when the session restoring experiment wasn't enabled. That's really embarrassing...I'm really sorry! I couldn't catch that because I had session restoring enabled the whole time. So, v2.4.1 fixes that.


Changelog for v2.4.0:

Hey!

I didn't do much work on SkEditor in April as I lacked motivation.
However, I returned at the last chance to release an April update. It's quite small, but I wanted to ensure there would be a monthly update. I plan for the May update to be much bigger! But I'm not making any promises...

Changes:
- Added Session Restoring: SkEditor can now save all your files when you exit the app and reopen them on the next launch. For now, this is an experimental feature that you can enable in the settings.
- Added new closing options: Before, there were only Close and Close All. Now, there's a whole "Close" submenu with new options like close all except current, close all to the left, etc. To be honest, I don't find it very useful, but people requested it, so wish granted.
- Added missing translations: Previously, projects and the code parser couldn't be translated. Even though they are experimental, they should be translatable - so I made that possible. For now, only English and Polish are 100% translated - if you speak another language and would like to contribute, feel free to create a pull request! The current language system requires an app update to update languages, but I plan to change that soon.
- The default font (JetBrains Mono) didn't include bold and italic styles, so those effects weren't displaying in the editor. I "fixed" that.
- You can now open a project by dragging a folder into the app.
- If you enable an option in the Experiments menu that requires another experiment, it will automatically enable that one too.
- If a translation is missing for the selected language, it should now properly fall back to English.
- The auto-updater should now request admin privileges normally.
Hey!

I didn't do much work on SkEditor in April as I lacked motivation.
However, I returned at the last chance to release an April update. It's quite small, but I wanted to ensure there would be a monthly update. I plan for the May update to be much bigger! But I'm not making any promises...

Changes:
- Added Session Restoring: SkEditor can now save all your files when you exit the app and reopen them on the next launch. For now, this is an experimental feature that you can enable in the settings.
- Added new closing options: Before, there were only Close and Close All. Now, there's a whole "Close" submenu with new options like close all except current, close all to the left, etc. To be honest, I don't find it very useful, but people requested it, so wish granted.
- Added missing translations: Previously, projects and the code parser couldn't be translated. Even though they are experimental, they should be translatable - so I made that possible. For now, only English and Polish are 100% translated - if you speak another language and would like to contribute, feel free to create a pull request! The current language system requires an app update to update languages, but I plan to change that soon.
- The default font (JetBrains Mono) didn't include bold and italic styles, so those effects weren't displaying in the editor. I "fixed" that.
- You can now open a project by dragging a folder into the app.
- If you enable an option in the Experiments menu that requires another experiment, it will automatically enable that one too.
- If a translation is missing for the selected language, it should now properly fall back to English.
- The auto-updater should now request admin privileges normally.
Hi!

The previous update had a critical bug - the app would crash when opening an image if the "check for external changes" option was enabled. This new build resolves that issue.
Hello!

I thought there wouldn't be an update in March. But still, I worked on it for a bit and I'm releasing this update in the last days of the month. It's not too big, but something is better than nothing, right? :emoji_slight_smile:

Changes:
- I added code folding, integrated with the code parser. You can enable it as an experiment.
- From the very beginning of SkEditor, there was a "Experiments" tab in the settings window source code, with translations too. I finally added it! This way there's no need to manually change those options in the file.
- I added an "Open AppData folder" button in the "About me" settings tab.
- SkEditor is now compiled using Ready2Run. Thanks to this, it should start up faster. The cost is a slight increase in app size.
- Changing themes should now be more efficient.
- Detecting external file changes should work better now, there used to be weird errors like detecting edits when there were none.
- Menu tabs now have a slight background transition when hovered over instead of an instant change.
- The "Documentation" menu tab no longer appears. It was there from the start as grayed out, meant to show it would be added soon. For now, it hasn't been added, and people keep asking me how to enable it - so from now on, it's not visible at all.
- Installing updates through SkEditor will no longer show the installer GUI.
- After creating a new file, syntax highlighting may not have been applied - fixed.
- On the first run of SkEditor, an error about syntax highlighting could have shown up - fixed.
- Item choice windows in the GUI generator now have the proper styling.
- The language choice and "anonymously" option in the Publish window no longer show up when selecting a service that doesn't support them.
- API changes

Enjoy!
Hello!

It's been quite a while since the last update, but in return, this update is pretty big. However, due to being a bit busy, most of it was done by @ItsTheSky - thanks! :emoji_slight_smile:
Changes
- A code parser has been added to the left sidebar. It shows the code structure, displays variables, and allows editing, etc. - remember that to enable the left sidebar, you need to change the value of the EnableProjectsExperiment option to true in the settings.json file, or use the new method - paste this code into an empty file in SkEditor: -enableSkEditorOption: EnableProjectsExperiment, and then restart the application. (https://github.com/SkEditorTeam/SkEditor/pull/26)
- Projects have been greatly improved: files have icons, you can manage files and folders directly in SkEditor, and much more (https://github.com/SkEditorTeam/SkEditor/pull/28)
- You can now customize the indentation style (spaces or tabs, size) in the settings (https://github.com/SkEditorTeam/SkEditor/pull/25)
- The Sidebar has been generally improved; it's easy to register new panels, the animation of opening panels has been improved, etc. (https://github.com/SkEditorTeam/SkEditor/pull/27)
- Added file association capabilities, menu items registration for addons, and an image viewer (https://github.com/SkEditorTeam/SkEditor/pull/17)
- SkEditor now shows the changelog during the first run after an update (in a simple form as a message, later I plan to add a general start page for such things)
- Themes now have an option to enable the Mica effect, allowing SkEditor to beautify itself by creating a nice background based on the desktop background. For the option to be visible, the application background in the theme must be semi-transparent. Shortly after the update, I plan to add an official version of the default theme with the Mica effect.
- The CompletionItems collection is now a public property, making it easier for addons to add new suggestions.
- Added a simple "refactor" function by right-clicking on text to change variable names.
- Addons with an exclamation mark before the name (folders or dll files) are not loaded by SkEditor now.
- Changed the way to set the style to "small window".
- Added a few new methods to the API.
- Moved the TextMarkers API, which was previously in the Analyzer, to SkEditor. This allows various addons to add their own markers.
- Added "special pastes," mentioned with the code parser - they allow performing simple "developer" tasks with a simple paste of a special command.
- Fixed a few bugs and crashes.
- Updated AvaloniaUI to the latest version

Enjoy!