-
Notifications
You must be signed in to change notification settings - Fork 128
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
R Markdown Enhancements (Knit Manager) #765
Conversation
- getKnitParams is only used by knitmanager, so should be a private method on it
Fix bug where knitDir could not be resolved when refreshing a preview
- Remove auto-generated package lock - Remove console.log from previous debugging
Always fail to start debugging. The following error occurs on extension activation:
|
I suspect this is some kind of bug with TypeScript, as I had this happen until I deleted my |
- Fixed bug where knit would error when focused on the output stream - Get rPath every knit/preview, so that rPath can be changed without restarting session
This actually works nicely! Thanks! |
Fallback to document folder when workspace is undefined, then fallback to NULL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works nicely!
LGTM
On windows, if I set the Knit directory to the document directory, I get an error:
In the workspace root this error does not occur. |
Argh, the path differences are the bane of my existence!! Thanks for catching that, hopefully the most recent commit fixes this? |
Can confirm that I'm not getting the error anymore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not very experienced with Rmd, but the simple examples I tried worked nicely.
Thanks for the nice work!
- Use enum type for knitDir - Use quickpick result, rather than onDidSelectItem - Refresh active preview on knitDir change - use vscode namespace - fix default config value
* background knitting (with progress bar) * set knit working directory * Smart knit button, use custom knit functions + rmarkdown::render_site where appropriate
Enhances rendering R Markdown documents. Specifically:
Screenshots
"Smart" Knit Button
Custom Knit
R Markdown Site