-
Notifications
You must be signed in to change notification settings - Fork 70
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
Auto complete doesn't appear #12
Comments
Yes, the auto-complete box should appear, for both full property names and their Zen Coding shortcuts. Is the syntax active? Any other info to share? |
Yeah syntax highlighting appears, but the suto-complete is patchy and the semi-colon doesn't appear at the end of the values. The plugin is extremely helpful, and I thank you. |
The semicolon not appearing is a side-effect of supporting the Sass (indented) syntax. I currently don't know of a way to support both without creating separate SCSS & Sass bundles. (It may be possible, but I haven't really dug deep into the documentation to see if it's possible) |
Ah I am with you. I never considered that. It isn't a huge deal, I just got used to it being there. Ha. But, still with some properties they aren't auto-completing. I will compile a list of any I have problems with when I get back to work tomorrow. |
I managed to get full set of CSS properties by copy/pasting the css_completions file from CSS package folder to the Sass package folder, maybe it'll work for you. |
Good thinking. I'll look into that. |
Okay, I did some testing I think some of the trickiness comes from the TextMate legacy code that's in there. So there are a bunch of useful Snippets that give us the Zen Coding shortcuts, but there are also the Sublime Text completions files. I also looked at ST2's default CSS completions, and it appears to be using an older style definition (maybe from Sublime Text 1?). I had mixed results getting those to work. I also noticed that if you activate one of the Zen Coding triggers (TextMate snippets), after hitting tab, Sublime waits for field input, so autocomplete for the property value is disabled until you hit ESC. I'm not a ST2 bundle expert, so if anyone has some input here, I'd appreciate it. One solution might be to try converting all the TextMate snippet files to native ST2 snippets. Lastly, I noticed that for some CSS properties (border, for example), Sublime doesn't seem to be pulling from the sublime-completions list like it should. I don't know why that is. |
Hmm I have been looking and I don't appear to be having any of the issues I was having yesterday. Either that or I have already sub-consciously adjusted my workflow. Haha. It could be that Sublime needed to be restarted, as I obviously quit out of it last night. I'll just keep more of an eye on it. Also I don't use Zen Coding anymore, I use it's update Emmet, so that could be part of the issue. |
I did push up some tweaks yesterday, so perhaps I fixed something? One can hope :) |
I still don't get css properties appearing in the autocomplete. How do I get this to work? In a previous comment above you said "Is the syntax active?" What do you mean by that? If I create a new file, set the syntax to Sass, I don't get any standard css in the auto-completion. In the Sass package folder > Completions I see the Sass - Properties and Sass - Property Values sublime.completions and they appear to be full of standard CSS..... Not sure what I'm missing here. |
Yeah I don't see the autocomplete looking like that in my files. Also, I'm using .scss files instead of .sass files, but does that make a difference? Also, where are the Zen Coding shortcuts? Are they in the snippets folder? Or are they in the sublime-completion files? |
Can you check to see if |
I've got exactly the same problem. No autocomplete for css properties. |
Yeah I've given up on this. It is just plain broken and should be removed from the Package manager. |
@Jakobud that's not exactly helpful. If someone would like to take a first crack at removing the zen coding shortcuts, I'd welcome a pull request. |
That's too bad I thought this plugin was going to be a quick and simple fix but without the snippets working its no good. |
I am not getting the auto-complete box appear with fuzzy search while typing css properties. Is this supposed to appear?
The text was updated successfully, but these errors were encountered: