You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Epoch, when I do File->New->Lingua Franca Project, it populates the project with a FederatedHelloWorld.lf program. This is an unfortunate choice for two reasons:
Most people should not start with federated programs.
That is not the intent. After naming the project, a number of templates are offered to the user:
These options are listed in alphabetical order and the federated template just happens to come first. We can either disable the "Finish" button until a selection is made, or we can reorder the templates and put the "Hello World" template first. I'm thinking it might be better to have an "Empty" template that looks something like this:
target C
// Declare reactor classes
main reactor {
// Instantiate reactors
// Connect ports
}
A yes, the problem is that "Finish" is enabled, hence I click on it and get the Federated example. The default template should definitely not be the Federated one. Perhaps the order should be simply in order of increasing sophistication. The empty template you propose seems like a reasonable first choice.
lhstrh
changed the title
New LF Project is populated with the wrong example file
Default template for "New LF Project" is federated program
May 17, 2022
In Epoch, when I do File->New->Lingua Franca Project, it populates the project with a FederatedHelloWorld.lf program. This is an unfortunate choice for two reasons:
The text was updated successfully, but these errors were encountered: