GithubHelp home page GithubHelp logo

emmet-docs's People

Contributors

aeoris avatar bfred-it avatar drdamour avatar ebiansyah1402 avatar matthewkbabbs avatar sergeche avatar superman32432432 avatar yatil avatar zendy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emmet-docs's Issues

Emmet is expanding CSS color property into column-rule property

On pressing Tab key after color in Sublime or Brackets, Emmet is expanding it into below code:
-webkit-column-rule: ;
-moz-column-rule: ;
-o-column-rule: ;
column-rule: ;

Similarly on pressing Tab key for "thin' it is getting expanded to text-indent: ;

Expected: color and thin should not be expanded

Emmet version in Sublime: 2016.08.10.08.24.48
Emmet version in Brackets: 1.2.2

Doesnt work correctly

Grunt version

Version 0.3??
cant running on grunt v 0.4
"the file name grunt.js changed to grunfile.js"

try to Running local web-site
thx

HTML input arrays bug

I found little issue with input arrays in HTML, ex. <input name="foo[]">

Emmet skips closing bracket in attributes (in this case - name):
input[name=foo[]] =>
<input type="text" name="foo[">

input[name=foo[0]] =>
<input type="text" name="foo[0">

input[name=foo[{id}]][value={id}] =>
<input type="text" name="foo[{id}" value="{id}">

ul multiplication troubleshooting

Emmet seems to be working fine. Doc type, div, everything but when I try and use the following syntax nothing happens.

ul>li*6

Have removed and installed new.

Any help would be great.

Rendering error

I seem to get this after a clean pull, npm install and docpad run...

Any ideas?

warning: Something went wrong while rendering: /Users/oo/Dropbox/Dev/emmet-docs/src/layouts/default.html.eco
warning: Something went wrong while rendering: /Users/oo/Dropbox/Dev/emmet-docs/src/documents/cheat-sheet/index.html
error: An error occured: 
TypeError: Cannot use 'in' operator to search for '/c/main.css' in null
    at /Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-frontend/out/frontend.plugin.js:173:25
    at Array.map (native)
    at getAssets (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-frontend/out/frontend.plugin.js:171:32)
    at Object.templateData.assets (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-frontend/out/frontend.plugin.js:187:18)
    at Object.eval (eval at <anonymous> (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-eco/node_modules/eco/lib/compiler.js:19:12), <anonymous>:49:19)
    at Object.eval (eval at <anonymous> (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-eco/node_modules/eco/lib/compiler.js:19:12), <anonymous>:91:8)
    at eval (eval at <anonymous> (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-eco/node_modules/eco/lib/compiler.js:19:12), <anonymous>:93:6)
    at Function.eco.render (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-eco/node_modules/eco/lib/index.js:26:25)
    at EcoPlugin.render (/Users/oo/Dropbox/Dev/emmet-docs/node_modules/docpad-plugin-eco/out/eco.plugin.js:22:35)
    at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:36:27)
    at DocPad.<anonymous> (/usr/local/lib/node_modules/docpad/out/lib/plugin.js:90:18)
    at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:21:27)
    at Task.<anonymous> (/usr/local/lib/node_modules/docpad/node_modules/bal-util/out/lib/events.js:36:16)
    at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:21:27)
    at /usr/local/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:82:19
    at process._tickDomainCallback (node.js:459:13)

Commenting out both <% for url in @assets('css'): %> and <% for url in @assets('js'): %> in default.html.eco allows the rendering to continue.

Node v0.10.6
DocPad. 6.34.2

`>input` wrongly yields an inline result.

When using the nesting operator > with input the result is an inline nesting within the parent element rather than having input on separate lines within the nesting.

<!-- Expected -->
form>p*4
<form action="">
  <p></p>
  <p></p>
  <p></p>
  <p></p>
</form>

<!-- Unexpected -->
form>input*4
<form action=""><input type="text"><input type="text"><input type="text"><input type="text"></form>

<!-- Unexpected, it's not a problem with the form element -->
p>input*4
<p><input type=""><input type="text"><input type="text"><input type="text"></p>

(Using Emmet in Visual Studio Code)

I'm relatively new to Emmet so I can't rule out if this is intended behaviour.

${child} issue

I'm attempting to specify where a child element should be inserted with the following code snippet:

   "z1col":"th.columns.first.last.small-12.large-12>table>tr>th{${child}}+(th.expander)",

When I use "z1col>p", the child elements are being inserted into the th.expander element, and not the previous th element. I've tried $1 and ${child} and neither appear to be working.

Some BEM functionality from parent class

It struck me that it would be nice to be able to write some BEM pattern quickly using the parent class.

e.g.

footer.footer>div.&__inner 

would result into

<footer class="footer">
  <div class="footer__inner">
  </div>
</footer>

Or let say for buttons

button.btn.&--large.&--primary

would result into

<button class="btn btn--large btn--primary"></button>

How do you get Emmet to return the right comment type?

In VS Code, I have Emmet automatically add comments.

"emmet.syntaxProfiles": {
    "html": {
        "filters": "html, c"
    }
}

That's great for HTML comments. But, what if you're using Blade or Nunjucks? You still want to use Emmet's automated comments with these languages, but the comments are different.

Blade: {{-- --}}

Nunjucks: {# #}

How do you make Emmet smart enough to realize context?

Custom Snippets no longer working

After recent update, my custom snippets have all stopped working. It feels like they are being overridden by sublimeText3's autocomplete feature maybe? The file types in question are .scss and .blade.php. I have been using and relying on these snippets for over a year and all the sudden nothing. I have "disable_completions": false and "remove_html_completions": true

		"html":
		{
			"filters": "html, blade",
			"profile": "html",
			"snippets":
			{
				"container": "<div class=\"container container--large\">\n\t<div class=\"row\">\n\t\t<div class=\"col-${1}\">${2}</div>\n\t</div>\n</div>",
				"fe": "@foreach($0)\n@endforeach"
			}
		}

^ the above "container" snipped usually opens up into some nested divs but now when i hit tab it expands into just container--large.

Expand classname (or id) with curly braces

Hi,
is it possible to autocomplete a class or id with the open and closing curly braces if i do the following:

.classname -> press tab: result should be classname {} and the cursor within the braces

Disabling css.autoInsertVendorPrefixes not working

Below are the contents of my Emmet.sublime-text file, but Emmet is inserting prefixes whenever I press tab around some properties, regardless.

{
  "preferences": {
    "css.autoInsertVendorPrefixes": false
  }
}

A feature like this should not be enabled by default unless it presents the best solution out there, which it doesn't.

Extension breaks multi-selection line breaks in Brackets

Brackets: Release 1.4 build 1.4.0-16380 (release 273804eb3)
Emmet extension: v1.2.2

Related ticket in Brackets GitHub: adobe/brackets#11425

Basically, the issue is that when you have multiple selections using the Brackets built-in multi-select feature, and you have the Emmet extension enabled, using the carriage return behaves in an unexpected manner. The carriage returns happen in the correct places, but the cursors are passed down to the next line from where they were originally, instead of the accounting for the added lines from inserting all of the earlier carriage returns. For example, if your cursors are on lines 16, 19, and 53, they will be located on lines 17, 20, and 54, instead of 17, 22, and 56.

Visual studio 2010/12 support

Although I use sublime text at home, at work I am stuck with VS2010. Are there any plans to support VS2012 or 2012?

Thanks,
Jon

Formatting CSS properties in a single line (compact format)

Although not an issue per se, I wasn't able to see where I could modify Emmet's default CSS formatting from "expanded" (properties+values each in a single line) to compact (all properties+values in a single line).

For example, Emmet's current CSS default formatting (expanded):

header {
       width:960px;
       height:120px;
}

To this style (compact):
header { width:960px; height:120px; }

Any idea how to accomplish this?

Thanks.


I think I posted this in the wrong page.

I posted this issue again here: emmetio/emmet#114

I assume you can delete this post since I can't do it.

Thanks.

Newline tab indentation bug

I am finding an issue in Sublime text 2, where a new line will insert an extra tab, along with subsequent line with one less tab.

I find this in any file type supported, when I hit return anywhere in the document.

html:xt shortcut

Just within this last week, the shortcut "html:xt" stopped working for me in Sublime. Any others having this issue?

Multiplication using "[ ]" brackets not working right

I'm not 100% sure this is an issue or not but here's what's happening to me.

I need this HTML:

<label for=""><input type=""></label>
<label for=""><input type=""></label>
<label for=""><input type=""></label>
<label for=""><input type=""></label>

So after reading the cheat sheet seems I need to use this:

[label>input]*4

...but I'm getting this as the result:

<div label=""></div>
<div label=""></div>
<div label=""></div>
<div label=""></div>

Keep in mind that if I do this:

label>input*4

I get this (which is the correct output regardless if is incorrect markup):

<label for="">
  <input type="">
  <input type="">
  <input type="">
  <input type="">
</label>

Am I doing this wrong? Or is there really an issue with Emmet?

Thanks.

css.autoInsertVendorPrefixes

Господи, как отключить вендорные префиксы, сил больше нет(((

"preferences": {
        "css.autoInsertVendorPrefixes": false,
 }

Не помогает. Sublime 3 build 3126

Netbeans plugin

Hi,

I have seen your post and this link: lorenzos/ZenCodingNetBeansPlugin#19

I have tested the netbeans plugin and would ask about [] and {} they dont work with netbeans 7.1.1. are these features for attributes and text only available in emmet or in zen coding too? Hope it will come soon. Nice tool.

Regards
Chris

Feature Request: rgba() support

Please add support for rgba().

Maybe something like:

F.5 = rgba(255, 255, 255, .5)

FFF.5 = rgba(255, 255, 255, .5)

white.5 = rgba(255, 255, 255, .5)

$ placeholder not behaving as expected

In Sublime Text 2, the abbreviation ul>li[title=$]*4, will produce:

<ul>
    <li title="1"></li>
    <li title="2"></li>
    <li title="3"></li>
    <li title="4"></li>
</ul>

Whereas ul>li{$}*4, will produce:

<ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li></li>
</ul>

Omitting the last digit.

Filter Request

The HAML filter is great, lack of Zen Coding for templating languages is the main reason I still write in vanilla HTML. I would love to see a filter for [slim](http://slim-lang.com]. :)

Can't get |e filter to escape characters in VS Code 1.60.1

Trying to escape characters <> greater than/less with the filter |e in VS Code. Entering the code below, then using tab or enter key. This does not produce the escape the characters like it should:

footer>p>span{Happy Farm}+{© 2021}|e

Is it a bug?

Other filters like comment with |c works fine.

(My System: Windows 11 x64, VS Code 1.60.1)

Turn Off Vendor Prefixing

Hey All,

I am using Compass alongside SCSS (SASS) however I which to remove the vendor short-codes for emmet, as they are slowing down my workflow.

e.g. border radius

Is it possible to do this? I could avoiding needing to delete them, just disable this functionality.

-Neil

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.