emmetio / brackets-emmet

Emmet plugin for Brackets editor
http://emmet.io
MIT License
489 stars 188 forks source link

Emmets on Brackets doesnt have a preferences.json file #96

Open dnecklesportfolio opened 8 years ago

dnecklesportfolio commented 8 years ago

even when created and the location is set within brackets, doesnt work

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28707952-emmets-on-brackets-doesnt-have-a-preferences-json-file?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github).
sergeche commented 8 years ago

Try to use full absolute path to extensions folder

DelphiCoder commented 7 years ago

I had this problem too. This is a hard nut to crack unless you specifically look at the Node.js documentation for absolute file path formats. What is an absolute file path varies by operating system. Node.js documentation on absolute file paths is here.

You may have to add or replace forward/back slashes until it fits the required format.

POSIX (AKA Mac and Unix):

path.isAbsolute('/foo/bar') // true path.isAbsolute('/baz/..') // true

Windows:

path.isAbsolute('//server') // true path.isAbsolute('\\server') // true path.isAbsolute('C:/foo/..') // true path.isAbsolute('C:\foo\..') // true

I hope this helps others that have the same issue,

-Doug (DelphiCoder)