-
-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defold engine meta #1665
Defold engine meta #1665
Conversation
meta/3rd/Defold/config.lua
Outdated
@@ -0,0 +1,9 @@ | |||
name = 'Defold' | |||
files = {'game.project'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is too common
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi!
Here is the empty project, in defold engine,
also we can associate with file extensions .gui_script, .script, .collection, .render_script, .input_binding,
but in fact on start we have always only one .project in root and one or more .collection in subfolders
MyProject123.zip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can
use one of this words in .project file?
[bootstrap]
main_collection =
[project]
title =
@sumneko is it normal to ad files.associations in config.lua? |
LSP has no relevant regulations on file association. You can do this, but it will only affect VSCode. |
@sumneko i added some changes in config file, is it enough, but i'm not sure is it correct, |
I think it is enough. |
To add, I guess your goal is to create a development environment, rather than simply providing definition files. If this is the case, I suggest you make a separate extension and provide the definition file in your extension using the method in wiki. |
I left only lua file associations |
for all other files i'll make extension |
If I am the user of Defold, I hope I can use your extension directly after installing it, instead of being discovered by my extension and asking whether to apply a the Defold environment. |
I think this meta only for lua develop, other files extensions are editing from defold editor, and maybe redundant here |
Hello! i generated some meta for Defold engine
with fork of https://github.com/d954mas/defold-api-emmylua/