Skip to content
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

No autocomplete for hex values #27

Open
FeBe95 opened this issue Apr 26, 2015 · 7 comments
Open

No autocomplete for hex values #27

FeBe95 opened this issue Apr 26, 2015 · 7 comments
Labels

Comments

@FeBe95
Copy link

@FeBe95 FeBe95 commented Apr 26, 2015

It seems that there is kind of a bug or missing feature that all "#112233" values won't get (auto-)completed - when already used somewhere else in the CSS file. When I change the syntax to e.g. "Plain Text" the completion works as expected.
Ctrl+space doesn't work either.

@FeBe95 FeBe95 changed the title No autocompletion for hex values No autocomplete for hex values Apr 26, 2015
@ryboe ryboe added the enhancement label Apr 27, 2015
@ryboe
Copy link
Owner

@ryboe ryboe commented Apr 27, 2015

I can confirm that hex values don't show up in auto-complete suggestions and agree that this would be a nice feature. I tinkered for an hour and wasn't able to figure it out. I'll have to deepen my understanding of how symbol indexing works in Sublime to implement this.

@FeBe95
Copy link
Author

@FeBe95 FeBe95 commented Apr 27, 2015

Thank you!

@FeBe95
Copy link
Author

@FeBe95 FeBe95 commented Apr 27, 2015

I found out that any custom completion inside {} is ignored. Sublime only lists the values given by your CSS3 package while inside the brackets.
Autocomplete of hex values outside the brackets is working!

@FeBe95
Copy link
Author

@FeBe95 FeBe95 commented May 4, 2015

Any Update?

@ryboe
Copy link
Owner

@ryboe ryboe commented May 5, 2015

Sorry, I haven't had time to work on this yet. I'm gonna work on it this weekend, though. It's definitely on my TODO list.

@ryboe
Copy link
Owner

@ryboe ryboe commented May 11, 2015

UPDATE: While I was working on improving the symbol indexing, I discovered that the new dev builds of Sublime Text 3 introduce an entirely new system for syntax highlighting. It's a much better system than the old TextMate XML-based garbage. Since symbol indexing is somewhat coupled to the scope names assigned by the syntax highlighter, I've decided to put off any more work on symbol indexing while I rewrite the highlighter from scratch. That's going to take a long time (sorry!), but it should fix a lot annoying bugs. I will keep this issue open and come back to it when the new highlighter has stabilized.

@FeBe95
Copy link
Author

@FeBe95 FeBe95 commented Feb 12, 2018

Any updates on this topic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.