Skip to content
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

Suggestion: templates #4

Open
superaxander opened this issue Mar 28, 2015 · 1 comment
Open

Suggestion: templates #4

superaxander opened this issue Mar 28, 2015 · 1 comment

Comments

@superaxander
Copy link
Contributor

I suggest you add file templates(can be put inside the same folder as the .edit+ file maybe?). So I can quickly start building my programs. I'd maybe have a template like this

--[[
$fname
By: $author
]]--
local tArgs = {...}
local function main()
  while true do
    --main program loop
  end
end

ok, err = pcall(main)
if not ok then
  --handle error
end

Maybe some sortof simple way to when creating a new file have a dialog box with textfields to fill in the $fname, $author, etc. fields?

@GopherAtl
Copy link
Owner

hmm. Not a bad idea. Seems like a lower-utility feature than the things I've got planned as the focus for the next couple of updates, but I'll think on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants