When starting the IDE for the first time, a user would love to have some initial files to play with.
Since pseuCo.com offers a similar feature (by providing templates on the creation of a new file), the IDE should make use of it. In particular, these files are available using an API call to https://pseuco.com/api/templates/get?type=pseuco, which offers the possibility for the IDE to include the same templates.
I see two possibilities how this may be realized:
- A distinct
Download templatesbutton, which would query the API and write the files to the local file system such that they are available within the IDE to be opened by the user. As a variation, a dialog may appear, in which the user can choose which templates he wants to download.
- Mimic the behavior of pseuCo.com, which means offering the templates to chose from whenever a new file should be created.
In my opinion, both options are feasible. However, the second option may become annoying as soon as a user is more experienced and does not want to rely on some initial examples. As a consequence, I would prefer the first solution with the mentioned variation in place.