Merge pull request #5 from fenix-hub/v0.3.3

V0.3.3
This commit is contained in:
fenix-hub 2019-10-01 17:02:24 +02:00 committed by GitHub
commit 49486ab39f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 92 additions and 46 deletions

View File

@ -2,7 +2,7 @@
A little plugin to easy-way manage your text files inside your project folder. A little plugin to easy-way manage your text files inside your project folder.
Author: *"Nicolo (fenix) Santilio"* Author: *"Nicolo (fenix) Santilio"*
Version: *0.3.1* Version: *0.3.3*
Godot Version: *3.1.1-stable* 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)!** **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! 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) (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 #### Current version
To check all the features included in the current version, please read the [VERSION file](./VERSION.md) To check all the features included in the current version, please read the [VERSION file](./VERSION.md)

View File

@ -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"

View File

@ -1,43 +1,58 @@
# Godot Text Editor # Godot Text Editor
A little plugin to easy-way manage your text files inside your project folder. A little plugin to easy-way manage your text files inside your project folder.
Author: *"Nicolo (fenix) Santilio"* Author: *"Nicolo (fenix) Santilio"*
Version: *0.3.1* Version: *0.3.3*
Godot Version: *3.1.1-stable* 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)!** **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? ## What is this?
This is a little plugin I've made to easily edit text files in your project folder. This is a little plugin I've made to easily edit text files in your project folder.
## How does it work? ## How does it work?
You can open an existing file, create a new file and delete a file. 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. 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 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. 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. Multiple files can be opened in different tabs.
Always remember to save your file when you close the tab! 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) ![preview](https://i.imgur.com/RLQoWt8.png)![preview2](https://i.imgur.com/A3kHV1k.png)
## How do I install it? ## How do I install it?
**Manual** **Manual**
Just download this whole repository and put it in your `res://addons` folder inside the project you want to work on. 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`. Then, go to `Project > Plugins > "File Editor" > Status > Activate`.
**Automatic** **Automatic**
You can find this plugin in the AssetLib of Godot Engine Editor. Just download it from there and everything should be fine! 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) (Remember to activate this plugin)
#### Current version ## Supported formats
To check all the features included in the current version, please read the [VERSION file](./VERSION.md) + "*.txt ; Plain Text File",
+ "*.rtf ; Rich Text Format File",
#### Upcoming features + "*.log ; Log File",
To check all the features I'm currently working on, please read the [TODO file](./TODO.md) + "*.md ; MD File",
+ "*.doc ; WordPad Document",
# ⚠️ Disclaimer + "*.doc ; Microsoft Word Document",
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. + "*.docm ; Word Open XML Macro-Enabled Document",
As a "work in progress" project, there is *no warranty* for any eventual issue and bug that may broke your project. + "*.docx ; Microsoft Word Open XML Document",
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. + "*.bbs ; Bulletin Board System Text",
+ "*.dat ; Data File",
# Want to contact me? + "*.xml ; XML File",
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* + "*.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*

View File

@ -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"

View File

@ -1,7 +1,7 @@
[plugin] [plugin]
name="File Editor" name="File Editor"
description="An internal file editor to view and edit text files in your project folder." description="An internal file editor to view and edit text files in your project folder."
author="Nicolò 'fenix' Santilio" author="Nicolò 'fenix' Santilio"
version="0.3.1" version="0.3.3"
script="scripts/file-editor.gd" script="scripts/file-editor.gd"

View File

@ -28,6 +28,10 @@ var EXTENSIONS : PoolStringArray = [
"*.docm ; Word Open XML Macro-Enabled Document", "*.docm ; Word Open XML Macro-Enabled Document",
"*.docx ; Microsoft Word Open XML Document", "*.docx ; Microsoft Word Open XML Document",
"*.bbs ; Bulletin Board System Text", "*.bbs ; Bulletin Board System Text",
"*.dat ; Data File",
"*.xml ; XML File",
"*.sql ; SQL database file",
"*.json ; JavaScript Object Notation File"
] ]
var directories = [] var directories = []