RTVS icon indicating copy to clipboard operation
RTVS copied to clipboard

Consider setting working directory to project folder

Open MikhailArkhipov opened this issue 8 years ago • 3 comments

So generated paths with ~/ will be project-relative rather than My Documents relative. If someone wants to take project to Mac they won't be placing it in My Documents. In case of multiple projects in the same solution we can set WD to the startup project.

MikhailArkhipov avatar Jul 19 '16 17:07 MikhailArkhipov

+1 on this. Make sure that we get this done for both F5 and the Run Shiny App both call the Set Working Directory to Project Location command before they start running.

jflam avatar Dec 16 '16 23:12 jflam

Working directory isn't set by startup project. Every time I open my solution I need to set working directory to startup project. I have multiple R projects in my solution.

Masutani avatar Jul 21 '17 09:07 Masutani

We should stop saving working directory and rather apply it per project or use default. This especially prominent in Linux since it sets directory to OS-specific value that does not apply to Windows

image

MikhailArkhipov avatar Jul 25 '17 19:07 MikhailArkhipov