GithubHelp home page GithubHelp logo

Comments (7)

hudochenkov avatar hudochenkov commented on June 18, 2024

Are you using the latest Emmet package (v.2016.02.22)? PostCSS support is added to Emmet only this week.

from syntax-highlighting-for-postcss.

 avatar commented on June 18, 2024

Yes.

On Sun, Feb 28, 2016 at 6:15 PM, Aleks Hudochenkov <[email protected]

wrote:

Are you using the latest Emmet package (v.2016.02.22)? PostCSS support is
added to Emmet only this week.


Reply to this email directly or view it on GitHub
#8 (comment)
.

from syntax-highlighting-for-postcss.

hudochenkov avatar hudochenkov commented on June 18, 2024

Can you show your Sublime Text preferences and Emmet preferences? I haven't this issue on my setup, so I want to check yours settings.

I've trying on this file and everything is working for me:

/* Colors */

$pelorous : #3fbcc0;
$flamingo : #f54b38;

a {
    c|
}

| —is a cursor before I hit Tab.

from syntax-highlighting-for-postcss.

 avatar commented on June 18, 2024

Here's how it looks on my end: http://imgur.com/gbHca3b

I've got default Emmet settings. Nothing changed there.

Here're Sublime settings. Are those you'd like to see?

{
    "bold_folder_labels": true,
    "caret_style": "phase",
    "color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme",
    "font_size": 10,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "line_padding_bottom": 1,
    "line_padding_top": 1,
    "scroll_past_end": true,
    "shift_tab_unindent": true,
    "tab_size": 4,
    "theme": "Spacegray.sublime-theme",
    "translate_tabs_to_spaces": true,
    "word_wrap": true
}

My installed packages:

  • Emmet
  • BracketHighlighter
  • DocBlockr
  • ReadmePlease
  • SCSS
  • Yours ;-)

from syntax-highlighting-for-postcss.

hudochenkov avatar hudochenkov commented on June 18, 2024

I will look if I can do anything about it. In the meantime you can disable autocomplete for PostCSS. Select Preferences → Settings — More → Syntax Specific — User when PostCSS file is open. This will open new file .../Packages/User/PostCSS.sublime-settings. Add this to it:

{
    "auto_complete": false
}

from syntax-highlighting-for-postcss.

 avatar commented on June 18, 2024

That did the trick. It's probably workaround but I'm happy with it. Big thanks for help.

from syntax-highlighting-for-postcss.

hudochenkov avatar hudochenkov commented on June 18, 2024

I've added basic completions, so you can try to enable auto complete. Update 2.1.0 will be available in a hour.

from syntax-highlighting-for-postcss.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.