Skip to content
This repository was archived by the owner on Apr 8, 2023. It is now read-only.

Broken with VSCode 1.15.0 #82

Closed
ArgonAlex opened this issue Aug 10, 2017 · 7 comments
Closed

Broken with VSCode 1.15.0 #82

ArgonAlex opened this issue Aug 10, 2017 · 7 comments

Comments

@ArgonAlex
Copy link

[CSSComb]

SyntaxError: No one parser could not parse file. See log for more details: []
    at Object.parse (/Users/[user]/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/config-profiler/out/services/parser.js:43:9)
    at Object.<anonymous> (/Users/[user]/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/config-profiler/out/services/config.js:37:47)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/[user]/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/tslib/tslib.js:93:62)
@mrmlnc
Copy link
Owner

mrmlnc commented Aug 11, 2017

Most likely this is related to https://code.visualstudio.com/updates/v1_15#_new-api-for-multiroot-workspaces. You have more then one open workspace? Please, provide more detailed information about your workflow and syntax.

@ArgonAlex
Copy link
Author

Ah I have been using npm link to sort of simulate multiple workspaces for a long time, but I'm guessing that some changes to VS Code for real multiple workspaces have some side effects like this.

Anyway, the solution was to simply manually specify the path to the csscomb config file with the preset option. That way, when running the extension on CSS files inside of the symlink, it is able to find the config file.

@mrmlnc
Copy link
Owner

mrmlnc commented Aug 12, 2017

I think we need to resolve this issue and not try to live with it.

@mrmlnc mrmlnc reopened this Aug 12, 2017
@zhaozhe0831
Copy link

I have same problem.
csscomb can't work in VS 1.15.0 .

[CSSComb]

SyntaxError: No one parser could not parse file. See log for more details: []
    at Object.parse (/Users/zhaozhe/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/config-profiler/out/services/parser.js:43:9)
    at Object.<anonymous> (/Users/zhaozhe/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/config-profiler/out/services/config.js:37:47)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/zhaozhe/.vscode/extensions/mrmlnc.vscode-csscomb-5.1.0/node_modules/tslib/tslib.js:93:62)

@mrmlnc
Copy link
Owner

mrmlnc commented Aug 15, 2017

Thanks for report. You also use Multi Workspace? In any case I'll work on this issue today.

@zhaozhe0831
Copy link

what's the mean of Multi Workspace? double window?
this is my VS.
2017-08-16 4 41 36

@mrleblanc101
Copy link

@zhaozhe0831 Hi, I know it's not really the place. But what's the UI and Icon theme for VS code ?

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

No branches or pull requests

4 participants