diff --git a/README.md b/README.md index 2abac14..1334e07 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A little plugin to easy-way manage your text files inside your project folder. Author: *"Nicolo (fenix) Santilio"* -Version: *0.3.1* +Version: *0.3.3* Godot Version: *3.1.1-stable* **This repository was pushed directly from Godot Engine Editor thanks to [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integration)!** @@ -28,6 +28,21 @@ Then, go to `Project > Plugins > "File Editor" > Status > Activate`. You can find this plugin in the AssetLib of Godot Engine Editor. Just download it from there and everything should be fine! (Remember to activate this plugin) +## Supported formats ++ "*.txt ; Plain Text File", ++ "*.rtf ; Rich Text Format File", ++ "*.log ; Log File", ++ "*.md ; MD File", ++ "*.doc ; WordPad Document", ++ "*.doc ; Microsoft Word Document", ++ "*.docm ; Word Open XML Macro-Enabled Document", ++ "*.docx ; Microsoft Word Open XML Document", ++ "*.bbs ; Bulletin Board System Text", ++ "*.dat ; Data File", ++ "*.xml ; XML File", ++ "*.sql ; SQL database file", ++ "*.json ; JavaScript Object Notation File" + #### Current version To check all the features included in the current version, please read the [VERSION file](./VERSION.md) diff --git a/VERSION.md b/VERSION.md index 0ed22d7..4105c90 100644 --- a/VERSION.md +++ b/VERSION.md @@ -41,3 +41,9 @@ ----------------------- +**version 0.3.3** +*added* file support: ++ "*.dat ; Data File", ++ "*.xml ; XML File", ++ "*.sql ; SQL database file", ++ "*.json ; JavaScript Object Notation File" diff --git a/addons/file-editor/README.md b/addons/file-editor/README.md index 2abac14..743fed0 100644 --- a/addons/file-editor/README.md +++ b/addons/file-editor/README.md @@ -1,43 +1,58 @@ -# Godot Text Editor -A little plugin to easy-way manage your text files inside your project folder. - -Author: *"Nicolo (fenix) Santilio"* -Version: *0.3.1* -Godot Version: *3.1.1-stable* - -**This repository was pushed directly from Godot Engine Editor thanks to [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integration)!** - -## What is this? -This is a little plugin I've made to easily edit text files in your project folder. - -## How does it work? -You can open an existing file, create a new file and delete a file. -When opening / creating a file, the editor will open and you will be able to edit it and save it. -You can just *Save* the file, or *Save file As* a new file (if it is a new file but also to make some copies). -You will also be able to see some informations about the file you are editing (time and date of last edit) and you can set your editor to *Read Only* if you don't want to make changes but still read the content of the file. -Multiple files can be opened in different tabs. -Always remember to save your file when you close the tab! -![preview](https://i.imgur.com/RLQoWt8.png)![preview2](https://i.imgur.com/A3kHV1k.png) - -## How do I install it? -**Manual** -Just download this whole repository and put it in your `res://addons` folder inside the project you want to work on. -Then, go to `Project > Plugins > "File Editor" > Status > Activate`. - -**Automatic** -You can find this plugin in the AssetLib of Godot Engine Editor. Just download it from there and everything should be fine! -(Remember to activate this plugin) - -#### Current version -To check all the features included in the current version, please read the [VERSION file](./VERSION.md) - -#### Upcoming features -To check all the features I'm currently working on, please read the [TODO file](./TODO.md) - -# ⚠️ Disclaimer -This addon was built for a **personal use** intention. It was released as an open source plugin in the hope that it could be useful to the Godot Engine Community. -As a "work in progress" project, there is *no warranty* for any eventual issue and bug that may broke your project. -I don't assume any responsibility for possible corruptions of your project files. It is always advisable to keep a copy of your files and check any changes. - -# Want to contact me? -I'm planning to create a Discord group to collect each plugin I've made (and I will make), but until then you can directly talk with my via e-mail at *n.santilio97@gmail.com* +# Godot Text Editor +A little plugin to easy-way manage your text files inside your project folder. + +Author: *"Nicolo (fenix) Santilio"* +Version: *0.3.3* +Godot Version: *3.1.1-stable* + +**This repository was pushed directly from Godot Engine Editor thanks to [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integration)!** + +## What is this? +This is a little plugin I've made to easily edit text files in your project folder. + +## How does it work? +You can open an existing file, create a new file and delete a file. +When opening / creating a file, the editor will open and you will be able to edit it and save it. +You can just *Save* the file, or *Save file As* a new file (if it is a new file but also to make some copies). +You will also be able to see some informations about the file you are editing (time and date of last edit) and you can set your editor to *Read Only* if you don't want to make changes but still read the content of the file. +Multiple files can be opened in different tabs. +Always remember to save your file when you close the tab! +![preview](https://i.imgur.com/RLQoWt8.png)![preview2](https://i.imgur.com/A3kHV1k.png) + +## How do I install it? +**Manual** +Just download this whole repository and put it in your `res://addons` folder inside the project you want to work on. +Then, go to `Project > Plugins > "File Editor" > Status > Activate`. + +**Automatic** +You can find this plugin in the AssetLib of Godot Engine Editor. Just download it from there and everything should be fine! +(Remember to activate this plugin) + +## Supported formats ++ "*.txt ; Plain Text File", ++ "*.rtf ; Rich Text Format File", ++ "*.log ; Log File", ++ "*.md ; MD File", ++ "*.doc ; WordPad Document", ++ "*.doc ; Microsoft Word Document", ++ "*.docm ; Word Open XML Macro-Enabled Document", ++ "*.docx ; Microsoft Word Open XML Document", ++ "*.bbs ; Bulletin Board System Text", ++ "*.dat ; Data File", ++ "*.xml ; XML File", ++ "*.sql ; SQL database file", ++ "*.json ; JavaScript Object Notation File" + +#### Current version +To check all the features included in the current version, please read the [VERSION file](./VERSION.md) + +#### Upcoming features +To check all the features I'm currently working on, please read the [TODO file](./TODO.md) + +# ?? Disclaimer +This addon was built for a **personal use** intention. It was released as an open source plugin in the hope that it could be useful to the Godot Engine Community. +As a "work in progress" project, there is *no warranty* for any eventual issue and bug that may broke your project. +I don't assume any responsibility for possible corruptions of your project files. It is always advisable to keep a copy of your files and check any changes. + +# Want to contact me? +I'm planning to create a Discord group to collect each plugin I've made (and I will make), but until then you can directly talk with my via e-mail at *n.santilio97@gmail.com* \ No newline at end of file diff --git a/addons/file-editor/VERSION.md b/addons/file-editor/VERSION.md index 0ed22d7..4105c90 100644 --- a/addons/file-editor/VERSION.md +++ b/addons/file-editor/VERSION.md @@ -41,3 +41,9 @@ ----------------------- +**version 0.3.3** +*added* file support: ++ "*.dat ; Data File", ++ "*.xml ; XML File", ++ "*.sql ; SQL database file", ++ "*.json ; JavaScript Object Notation File" diff --git a/addons/file-editor/plugin.cfg b/addons/file-editor/plugin.cfg index 8246ec0..257a4b6 100644 --- a/addons/file-editor/plugin.cfg +++ b/addons/file-editor/plugin.cfg @@ -1,7 +1,7 @@ -[plugin] +[plugin] name="File Editor" description="An internal file editor to view and edit text files in your project folder." author="Nicolò 'fenix' Santilio" -version="0.3.1" +version="0.3.3" script="scripts/file-editor.gd" diff --git a/addons/file-editor/scripts/FileEditor.gd b/addons/file-editor/scripts/FileEditor.gd index 06a5a3e..88d00ab 100644 --- a/addons/file-editor/scripts/FileEditor.gd +++ b/addons/file-editor/scripts/FileEditor.gd @@ -28,6 +28,10 @@ var EXTENSIONS : PoolStringArray = [ "*.docm ; Word Open XML Macro-Enabled Document", "*.docx ; Microsoft Word Open XML Document", "*.bbs ; Bulletin Board System Text", +"*.dat ; Data File", +"*.xml ; XML File", +"*.sql ; SQL database file", +"*.json ; JavaScript Object Notation File" ] var directories = []