Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Inline style="" autocompletion doesn't work on file formats other than .html #13757

Open
catchem99 opened this issue Oct 6, 2017 · 1 comment

Comments

@catchem99
Copy link

Brackets v1.11
Fresh install with no extensions
capture

@jediwade
Copy link

That is because it is defaulting to the PHP syntax, which is going to be coloring, auto indent, code hints for HTML element attributes, and auto closing of HTML tags. Couldn't say why it doesn't include the style attribute autocomplete, but if you want to make that happen, you can change the interpreted file type from the drop down in the bottom-right corner of Brackets. You should see a button with "PHP" in the name. Clicking that will give you a drop down menu of every coding language that Brackets supports, and you can change it to HTML and it should give you style code hints, but it won't give you PHP code hints anymore. I think you will also have to make that change every time you open the PHP file you are working in.

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

No branches or pull requests

2 participants