Skip to content

Suggestion: templates #4

Open
Open
@superaxander

Description

@superaxander

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions