csscomb / sublime-csscomb

Sublime plugin for CSScomb—CSS coding style formatter
398 stars 61 forks source link

Default "Sort Order" path does not exist #2

Closed leighkendell closed 10 years ago

leighkendell commented 10 years ago

Hi there, I just installed the plugin via package control and following the readme:

Preferences > Package Settings > CSScomb > Sort Order - Default, is not there.

All I have is Preferences > Package Settings > CSScomb > Settings - Default & Settings User. Both of which are empty files.

I have node installed, is there something else I'm missing?

tonyganch commented 10 years ago

This plugin does not work yet. We'll announce once it's ready.

leighkendell commented 10 years ago

Oh ok, I figured it would work since it showed up in package control :)

tonyganch commented 10 years ago

We've released it for testing purpose :)

leighkendell commented 10 years ago

Do you have an ETA on when it will be ready?

tonyganch commented 10 years ago

Not sure yet. Definitely not this month. I'll ping you when it's fixed, if you want.

leighkendell commented 10 years ago

That would be great, thanks!

paulradzkov commented 10 years ago

I leave this comment here to get message when plugin will be ready :) Happy development!

MarkMurphy commented 10 years ago

ETA would be sweet, looking forward to using this

tonyganch commented 10 years ago

@leighkendell, @interpaul, @MarkMurphy, ping :octopus:

The plugin's name in Package Control is "CSScomb JS" (note "JS" part without any dots). There are probably some bugs yet, you are very welcome to report them.

Two things:

  1. It should be possible to install both plugins (php and node versions) for one editor. It's done for your convenience, so if anything goes wrong with the new version, you can still use the old one.
  2. When you first click on "Run CSScomb JS" there should be a noticeable delay. It may appear that ST does not respond. That's ok if it takes a minute or so. We'll improve this moment.
leighkendell commented 10 years ago

Hi @tonyganch I just tried it out and can't seem to get it working. "Run CSScomb JS" doesn't appear to do anything. Is there anything else other than having node installed required?

tonyganch commented 10 years ago

@leighkendell, no, Node is the only requirement. Have you tried to reinstall the package? (remove and install again) Can you please open console (ctrl + ` on Mac) and tell me what ST writes there about CSScomb?

tonyganch commented 10 years ago

@leighkendell, your OS name and ST version will be helpful, too.

leighkendell commented 10 years ago

Hi @tonyganch, sorry I'm on a Mac running 10.9 and Sublime Text Build 3059. Here's the output of the console after running CSScomb. Yes I did try removing and installing again.

Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublimeplugin.py", line 549, in run return self.run(edit) File "/Users/leighkendell/Library/Application Support/Sublime Text 3/Packages/CSScomb JS/CSScomb.py", line 23, in run config_path = self.get_config_path() File "/Users/leighkendell/Library/Application Support/Sublime Text 3/Packages/CSScomb JS/CSScomb.py", line 64, in get_config_path this line is repeated over and over again I won't include it all as it goes over the character limit allowed in comments return self.get_config_path(config_path) File "/Users/leighkendell/Library/Application Support/Sublime Text 3/Packages/CSScomb JS/CSScomb.py", line 60, in get_config_path if os.path.dirname(config_path) == os.path.expanduser('~'): File "X/posixpath.py", line 259, in expanduser File "X/collections/abc.py", line 385, in contains File "X/os.py", line 669, in getitem RuntimeError: maximum recursion depth exceeded

tonyganch commented 10 years ago

@leighkendell, what is absolute path to the file you try to comb?

tonyganch commented 10 years ago

@leighkendell, I've pushed a small fix, please upgrade plugin and see if it helps you.