Skip to content
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

$PROJECT_DIR$ Value #15

Open
Sly777 opened this issue May 14, 2015 · 1 comment
Open

$PROJECT_DIR$ Value #15

Sly777 opened this issue May 14, 2015 · 1 comment

Comments

@Sly777
Copy link

Sly777 commented May 14, 2015

Hi all,

I have problem with Config file value. For example, i just want to choose file from project directory but plugin got it with full path. But the problem is starting when another one use the project in different directory. Can we use $PROJECT_DIR$ for these things? because it is working too and it looks more tidy.

For example;
This one is original one.

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ScssLintProjectComponent">
    <option name="scssLintConfigFile" value="D:\projects\testProject\.scss-lint.yml" />
    <option name="scssLintExecutable" value="D:\Ruby21-x64\bin\scss-lint.bat" />
    <option name="pluginEnabled" value="true" />
  </component>

to this

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ScssLintProjectComponent">
    <option name="scssLintConfigFile" value="$PROJECT_DIR$\.scss-lint.yml" />
    <option name="scssLintExecutable" value="D:\Ruby21-x64\bin\scss-lint.bat" />
    <option name="pluginEnabled" value="true" />
  </component>
@idok
Copy link
Owner

idok commented May 28, 2015

On my project this is done automatically by intellij, once I select the file, the value written to my scssLintPlugin.xml is the one with $PROJECT_DIR$.
Does the file you select under the project?

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

No branches or pull requests

2 participants