Open rvoortman opened 7 years ago
Also I noticed that variables like ${workspaceRoot} do not work neither. If I work on several projects, usually each of them have their own . rubocop.yml
file and I always want to use the "local" settings instead of mine.
@brutuscat – VSCode has notoriously lacked this feature for six years. VSCode supports robust predefined environment variables in tasks.json
launch.json
, but does not in (workspace) settings.json
microsoft/vscode#2809
I've tried adding a relative path in the config to the rubocop.yml file, but that doesn't seem to work.
~/src/.rubocop.yml file does not exist. Ignoring...
however, setting the full path works just fine:
"ruby.rubocop.configFilePath": "/Users/robbinvoortman/src/.rubocop.yml"
I think this is a bug, but I'm not sure if this is intended. This happens on Visual Studio Code Version 1.15.0 (1.15.0) and extension version 0.4.0.