R-Box icon indicating copy to clipboard operation
R-Box copied to clipboard

Set Working Directory does not work

Open ghost opened this issue 6 years ago • 6 comments

Intermittently, setting the working directory does not work (neither via keyboard shortcut or using the menu item).

Error message in console: no command for selector: noop:

ghost avatar Jul 09 '18 22:07 ghost

What keyboard shortcut are you using? There is default keybind for setting working directory at all. By the way, did you install SendCode?

randy3k avatar Jul 09 '18 22:07 randy3k

{ "keys": ["super+shift+h"], "command": "send_code", "args": {"cmd": "setwd(\"$file_path\")"}, "context": [ { "key": "selector", "operator": "equal", "operand": "source.r" } ] },

However, it does not depend on the shortcut (using the menu entry produces the same result)

Latest version of SendCode is installed.

Note that the problem is temporary, it is usually fixed by restarting ST.

ghost avatar Jul 09 '18 22:07 ghost

It is weird..

randy3k avatar Jul 10 '18 00:07 randy3k

Indeed. Attached is a screenshot. I noticed this before, but I cannot reproduce it consistently (it seems to happen after starting a fresh instance of ST)

untitled

ghost avatar Jul 10 '18 01:07 ghost

By the way, are you using R-Box or R-IDE? (I could see that LSP is running)

randy3k avatar Jul 10 '18 02:07 randy3k

R-Box. (Happy to try R-IDE)

ghost avatar Jul 10 '18 14:07 ghost