Skip to content

fix windows config setup#479

Merged
Gert-dev merged 1 commit intoGert-dev:masterfrom
UziTech:windows-config
Oct 1, 2019
Merged

fix windows config setup#479
Gert-dev merged 1 commit intoGert-dev:masterfrom
UziTech:windows-config

Conversation

@UziTech
Copy link
Contributor

@UziTech UziTech commented Oct 1, 2019

When initially setting up the new config file in windows we need to escape any backslashes in the folder path

before:

{
    "uris": [
        "file://C:\folder"
    ],
    "indexDatabaseUri": "file://C:\Users\user\AppData\Roaming\php-ide-serenata\index-5c51a4ab6ab1bda8bf0d2e20c0bdc99f.sqlite",
    "phpVersion": 7.3,
    "excludedPathExpressions": [],
    "fileExtensions": [
        "php"
    ]
}

after:

{
    "uris": [
        "file://C:\\folder"
    ],
    "indexDatabaseUri": "file://C:\\Users\\user\\AppData\\Roaming\\php-ide-serenata\\index-5c51a4ab6ab1bda8bf0d2e20c0bdc99f.sqlite",
    "phpVersion": 7.3,
    "excludedPathExpressions": [],
    "fileExtensions": [
        "php"
    ]
}

@Gert-dev
Copy link
Owner

Gert-dev commented Oct 1, 2019

Thanks for taking the time to fix issues with this package on Windows. LGTM!

@Gert-dev Gert-dev merged commit b47a7bd into Gert-dev:master Oct 1, 2019
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

Successfully merging this pull request may close these issues.

2 participants