Hi Kaiyin,

[2016-10-11] Kaiyin Zhong wrote:
> Dear list,
>
> How can I define new snippets for rmarkdown documents? For example, I
> would
> like to type `r ctrl-space` and get
>
> ```{r}
> cursor here
> ```

Such an template already exists, but not with the name r. It is usually at
the end of the proposal list.

You can also add new templates using Mylyn editor templates: On the
preference page "Wikitext [StatET]" is a link to the preference page.

Note that due to a small bug the content assist doesn't work correclty at
the end of file, just keep one or multiple linebreaks behind the cursor.

Regards,
Stephan


>
>
>
> Best regards,
>
> Kaiyin ZHONG
> _______________________________________________
> StatET-user mailing list
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/statet-user

_______________________________________________
StatET-user mailing list
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/statet-user

Reply via email to