Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Set Working Directory does not work #130

Open
ghost opened this issue Jul 9, 2018 · 6 comments
Open

Set Working Directory does not work #130

ghost opened this issue Jul 9, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2018

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:

@randy3k
Copy link
Owner

randy3k commented Jul 9, 2018

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

@ghost
Copy link
Author

ghost commented Jul 9, 2018

{ "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.

@randy3k
Copy link
Owner

randy3k commented Jul 10, 2018

It is weird..

@ghost
Copy link
Author

ghost commented Jul 10, 2018

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

@randy3k
Copy link
Owner

randy3k commented Jul 10, 2018

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

@ghost
Copy link
Author

ghost commented Jul 10, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant