mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2025-02-17 20:34:33 +01:00
add csv editor for txt files
This commit is contained in:
parent
c8eaf9ecd2
commit
e10f5327d8
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1,11 @@
|
|||||||
# Godot-specific ignores
|
# Godot-specific ignores
|
||||||
.import/
|
.import/
|
||||||
|
scn/
|
||||||
|
.import
|
||||||
|
default_env.tres
|
||||||
|
icon.png
|
||||||
|
icon.png.import
|
||||||
|
project.godot
|
||||||
|
|
||||||
# Imported translations (automatically generated from CSV files)
|
# Imported translations (automatically generated from CSV files)
|
||||||
*.translation
|
*.translation
|
||||||
|
@ -12,7 +12,7 @@ This plugin is now supported in [Godot Extended Library Discord](https://discord
|
|||||||
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: *1.8.7*
|
Version: *1.8.8*
|
||||||
Godot Version: *3.2.3*
|
Godot Version: *3.2.3*
|
||||||
|
|
||||||
**This repository was pushed directly from Godot Engine Editor thanks to this [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integration)!**
|
**This repository was pushed directly from Godot Engine Editor thanks to this [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integration)!**
|
||||||
|
@ -1,2 +1 @@
|
|||||||
This is a simple text file.
|
This is a simple text file.
|
||||||
|
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
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="Nicolo 'fenix' Santilio"
|
author="Nicolo 'fenix' Santilio"
|
||||||
version="1.8.7"
|
version="1.8.8"
|
||||||
script="scripts/file-editor.gd"
|
script="scripts/file-editor.gd"
|
||||||
|
@ -435,7 +435,7 @@ func open_in_inieditor(path : String) -> Control:
|
|||||||
|
|
||||||
func open_in_csveditor(path : String) -> Control:
|
func open_in_csveditor(path : String) -> Control:
|
||||||
var extension = path.get_file().get_extension()
|
var extension = path.get_file().get_extension()
|
||||||
if extension == "csv":
|
if extension in ["csv", "txt"]:
|
||||||
var csveditor = CsvEditor.instance()
|
var csveditor = CsvEditor.instance()
|
||||||
SplitEditorContainer.add_child(csveditor)
|
SplitEditorContainer.add_child(csveditor)
|
||||||
csveditor.hide()
|
csveditor.hide()
|
||||||
|
Loading…
Reference in New Issue
Block a user