Code Monkey home page Code Monkey logo

autocomplete-html's Introduction

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

HTML Autocomplete package

OS X Build Status Windows Build Status Dependency Status

HTML tag and attribute autocompletions in Atom.

Tag and attribute autocompletions are powered by the list of HTML tags here and HTML attributes here. Descriptions are powered by MDN.

html-completions

You can update the prebuilt list of tags and attributes names and values by running the update.coffee file at the root of the repository and then checking-in the changed completions.json file.

autocomplete-html's People

Contributors

50wliu avatar abaracedo avatar benogle avatar damieng avatar darangi avatar djch avatar jasonrudolph avatar kevinsawicki avatar lee-dohm avatar maxbrunsfeld avatar mnquintana avatar zoo1 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

Watchers

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

autocomplete-html's Issues

Is there a setting to autocomplete with ending tags?

I have made a screengrap of me struggling to type a div. It is second nature now to just start typing what I want and let the code editor finish, but in Atom it only autocompletes your tag when you don't start with a < which is really frustrating cause every tag starts with a <.

screengrap

Could we get a setting that autocompletes the tag like we get when we don't <
I think these are from the autocomplete-snippets package.

It would also be nice to don't hide the dropdown window when a tag is finished typed, because some tags are just really short like a div or p, so we still can hit enter to complete the tag.

html

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Template Engines

Any plans to extend this to support template engines like Slim or Jade, or should that be implemented in separate packages?

Setting to have autocompleted single quoted attribute values.

A request for the option to use single quotes for auto-completed attribute values.

<!-- At this much typing, hit enter ... -->
<input type='checkbox' che

<!-- ... will currently autocomplete to -->
<input type='checkbox' checked=""

<!-- ... I request the option to have it autocomplete to -->
<input type='checkbox' checked=''

... or folding in issue Format of autocompleted boolean HTML attributes do this

<input type='checkbox' checked='checked'

Auto-complete not working as expected

When writing code hitting tab or enter does not complete the suggested/selected code as expected. For example if I type <h I will see options for h1, h2, etc. But after hitting tab/enter it only completes to <h1 instead of <h1></h1> as expected.

Uncaught TypeError: Cannot read property 'href' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.4.16
OS: linux 4.10.13-1-ARCH
Thrown From: autocomplete-html package 0.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'href' of undefined

At /usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:252

TypeError: Cannot read property 'href' of undefined
    at Object.getAttributeValues (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:252:46)
    at Object.getAttributeValueCompletions (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:192:21)
    at Object.getSuggestions (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:24:21)
    at /usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

Commands

Non-Core Packages


Class Quotes Not Ignored

When using autocomplete for the class attribute it correctly adds the quotes. Is there a way to escape outside the quotes? If not the issue I am running into is I do not know of a way to escape the quotes, so when I type the quotes is adds one instead of recognizing that keystroke as the closing quotes and allowing me to escape. So this happens, <div class="someclass"">

Format of autocompleted boolean HTML attributes

From @willnwhite on November 15, 2015 11:52

E.g. checked is a true/false checkbox attribute, and rather than Atom autocompleting to checked="", implying checked takes a value, it should just complete to checked, implying true. I had to read the HTML spec to learn that the actual presence or absence of boolean attributes were their true and false values, and Atom did not help me learn this (for ages I was trying checked="false" to no avail).

Copied from original issue: atom/autocomplete-plus#613

Add/Update values of attributes on majorities of the html tags.

Prerequisites

Description

Add/Update values of attributes on majorities of the html tags. When i try to use for example input tag, the attribute type doesn't show the values of this attributes permit to use, align is other attribute that doesn't show the values.

Steps to Reproduce

  1. Open Atom
  2. Create new html file.
  3. Try to use a tag for example input.
  4. Include type attributes.
    5.Use ctrl + space to open autocomplete attributes values list.

Expected behavior: Use ctrl + space on a tag attributes to open autocomplete attributes values list.

Actual behavior: Nothing happend

Reproduces how often: 100%

Versions

Atom : 1.14.2
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
apm 1.15.3
npm 3.10.5
node 4.4.5 x64
python 2.7.12
git 2.10.2

autocomplete isn't working at all

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Suggestions for atribute 'type' in input

When I type 'input' I get this:
<input type="button" name="name" value="">
I think it would be helpful if someone typed inside the type attribute and got this suggestions:
button
checkbox
color
date
datetime
datetime-local
email
file
hidden
image
month
number
password
radio
range
reset
search
submit
tel
text
time
url
week

autocomplete-html does not working

Prerequisites

Description

autocomplete-html does not working

Steps to Reproduce

  1. writing some tag of html
  2. Ctrl + space
  3. nothing

Expected behavior: [What you expect to happen]
popup with options for autocomplete

Actual behavior: [What actually happens]
I don't see any option
Reproduces how often: [What percentage of the time does it reproduce?]
every time

Versions

1.17.0 X64 update

Additional Information

Windows 10

Autocomplete CSS class/id in HTML/PHP files (and vice versa optionally)

It will be nice, when I write:

<div class="">

and the cursor is betwteen class="|" the autocomplete will show the class / id which I defined in my sass / scss / less / css files

Optionally: When I start write in sass / scss / less / css files by typing . or # the autocomplete display class / id which I defined in my HTML / PHP files.

当我写完一个标签开始的时候,为何不能自动给我补上结束标签呢。

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Some time appears all attributes permissible by a tag.

Prerequisites

Description

Some time appears all attributes permissible by a tag, when i'm using the img tag, and try use align not appear on the autocomplete list, but after a while at the end of the img (<img src="" alt="" here>), sometimes appear the attributes.

Steps to Reproduce

  1. Open Atom
  2. Create .html file.
  3. try use some tag and use the attributes of the tags
  4. use ctrl + space to open autocomplete.
  5. look for the attribute.
  6. not appear, nor writing.

Expected behavior: Appear a complete list of attributes.

Actual behavior: Appear a incomplete list of attributes

Reproduces how often: 90% of times.

Versions

Atom : 1.14.2
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
apm 1.15.3
npm 3.10.5
node 4.4.5 x64
python 2.7.12
git 2.10.2

Failed to activate the autocomplete-html package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Microsoft Windows 10 Enterprise
Thrown From: autocomplete-html package 0.7.3

Stack Trace

Failed to activate the autocomplete-html package

At Arguments to CompositeDisposable.add must have a .dispose() method

TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
    at assertDisposable (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/event-kit/lib/composite-disposable.js:74:1)
    at CompositeDisposable.module.exports.CompositeDisposable.add (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/event-kit/lib/composite-disposable.js:43:1)
    at requireAutocompleteManagerAsync (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/autocomplete-plus/lib/main.js:110:1)
    at Object.requireAutocompleteManagerAsync (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/autocomplete-plus/lib/main.js:31:1)
    at Object.consumeProvider (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/autocomplete-plus/lib/main.js:107:1)
    at Object.consumeProvider_2_0 (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/autocomplete-plus/lib/main.js:86:1)
    at Provider.module.exports.Provider.provide (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/service-hub/lib/provider.js:34:1)
    at ServiceHub.module.exports.ServiceHub.provide (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/service-hub/lib/service-hub.js:30:1)
    at Package.module.exports.Package.activateServices (~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:446:1)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:256:1)
    at ~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:225:1
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:99:1)
    at ~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:218:1
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:215:1)
    at PackageManager.module.exports.PackageManager.activatePackage (~/AppData/Local/atom/app-1.17.0/resources/app/src/package-manager.js:642:1)
    at ~/AppData/Local/atom/app-1.17.0/resources/app/src/package-manager.js:374:1
    at ~/AppData/Local/atom/app-1.17.0/resources/app/src/config.js:644:1
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/event-kit/lib/emitter.js:25:1)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/event-kit/lib/emitter.js:141:1)
    at Config.module.exports.Config.emitChangeEvent (~/AppData/Local/atom/app-1.17.0/resources/app/src/config.js:835:1)
    at Config.module.exports.Config.setRawValue (~/AppData/Local/atom/app-1.17.0/resources/app/src/config.js:621:1)
    at Config.module.exports.Config.set (~/AppData/Local/atom/app-1.17.0/resources/app/src/config.js:236:1)
    at Config.module.exports.Config.removeAtKeyPath (~/AppData/Local/atom/app-1.17.0/resources/app/src/config.js:386:1)
    at Package.module.exports.Package.enable (~/AppData/Local/atom/app-1.17.0/resources/app/src/package.js:84:1)
    at PackageManager.module.exports.PackageManager.enablePackage (~/AppData/Local/atom/app-1.17.0/resources/app/src/package-manager.js:185:1)
    at HTMLButtonElement.enablementButtonClickHandler (~/AppData/Local/atom/app-1.17.0/resources/app/node_modules/settings-view/lib/package-card.js:361:1)

Commands

     -6:10.5.0 core:undo (input.hidden-input)
     -6:06.9.0 autocomplete-plus:confirm (input.hidden-input)
  3x -6:03.8.0 core:backspace (input.hidden-input)
     -5:47.2.0 command-palette:toggle (input.hidden-input)
     -5:33.4.0 spell-check:toggle (input.hidden-input)
     -5:24.4.0 bracket-matcher:go-to-matching-bracket (input.hidden-input)
  3x -5:17.1.0 core:backspace (input.hidden-input)
     -5:14.5.0 autocomplete-plus:confirm (input.hidden-input)
  7x -5:12.3.0 core:undo (input.hidden-input)
  4x -5:08.0 core:backspace (input.hidden-input)
     -4:06.9.0 autocomplete-plus:activate (input.hidden-input)
     -4:04.2.0 core:backspace (input.hidden-input)
     -4:01.2.0 autocomplete-plus:activate (input.hidden-input)
     -3:59.5.0 core:backspace (input.hidden-input)
  2x -3:02.6.0 window:toggle-menu-bar (input.hidden-input)
     -2:04.0 grammar-selector:show (input.hidden-input)

Non-Core Packages


html element tag icon not being displayed

In the README's animated gif html elements, attributes, and attribute values have distinct visual tags.

My installation does not have the element tags, but does have attribute and attribute value tags. Instead of element tags it has the green tab right tag.

Working as expected: Not working: instead get:
,

autocomplete-html: 0.7.2
atom: 1.12.2 & 1.12.4
seen with: Atom Dark, Base 16 Tomorrow Dark, One Dark, & Solarized Dark

not working properly as it'll perform.........

when i start a tag with coding..... {Just an Example.....}
<he
it gives me suggestions
i choose one of them and press enter
it shows only

now tell me what is this ?

actually it perform like that when i press enter it'll complete like this......

| {with the cursor blinking in the middle of the starting tag and the end tag}

if this pakage doesn't work like that,
then please tell me the pakage name which perform like that.........
thanks in advance........

Not working!

Not loading in my atom text editor package is enabled but not responding

Does not work

I'm So Sorry !!! It does work. It's perfect and it's amazing that you actually came to help !! :D

Autocomplete HTML style attribute

Should this package suggest content of style attribute in html files (CSS property names and values) or it is part of autocomplete-css or another package?
Thanks

Autocomplete don't suggests some atribbutes values

I made an issue to autocomplete-html about "Suggestions for atribute 'type' in input". you can read it here.

And while I read the README file I found out that autocomplete-html is powered by a list of HTML tags and HTML attributes from Brackets HTMLCodeHints.

So I headed there and saw the suggestion that I was asking for in "Suggestions for atribute 'type' in input", but they are not showing up in autocomplete.

This is only occurring in attributes that have the /, for example input/type or button/type.

screenshot from 2016-06-30 18-50-14

Add/update autocomplete attributes pls

Hello, i can't pull a requests so, i use this side to publish my request and sorry.

autocomplete-html isn't completing attributes of the html, when i try to use the tag input and put a type, the attribute values not appear, and this happens with the majorities of html tags.

Thankyou

i cant use the autocomplete

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Recommendations disappear immediately

So my issue is, i can't make any use of this since the recommendations disappear immediately and i can't even move to any of them with arrow keys.

Autocomplete suggests tags instead of attributes

If you type a tag, put the cursor at the end, and hit space, you get an autocomplete list for attributes. You can start typing, it'll narrow down the list, everything works great.

If you place the cursor inside a tag that already has an attribute, before that attribute, and hit space, you get an autocomplete list for attributes as expected. When you start to type, though, the autocomplete list turns into a list of tags, not attributes.

If you place the cursor at the end of this tag and hit space everything works fine, this only happens if you bring up the autocomplete inside a tag before an already-existing attribute.

No autocomplete suggestion to close open tags

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. type <html>
  2. type </
  3. look at autocomplete popup

Expected behavior: [What you expect to happen]
to automatically suggest closing the nearest open tag
Actual behavior: [What actually happens]
no suggestion whatsoever.
Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

1.22.1

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

<unknown> is deprecated.

You have the core package "autocomplete-html" installed as a community package. See https://github.com/atom/dalek for how this causes problems and instructions on how to correct the situation.

<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/dalek/lib/main.js:14:14)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:514:32)

Autocomplete-html not working in .hbs files

I'm having the same issue as #31, but the solution provided there is not working for me.

I have enabled an HTMLBars language package (https://github.com/jmurphyau/language-ember-htmlbars), and my scope appears to be working when pressing Command-Option-P:
screen shot 2016-05-28 at 11 42 41 am

If I open an angle bracket and start typing some html, I don't see any autocomplete options:
screen shot 2016-05-28 at 11 43 44 am

If I don't use the angle bracket, I do see snippets options, but these are not as useful as autocomplete:
screen shot 2016-05-28 at 11 46 00 am

Any thoughts on what I'm doing wrong? (I'm new to Atom...)

Many thanks!

PS I am using Atom 1.7.4, autocomplete-html 0.7.2, and language-ember-htmlbars 0.3.0.
PPS HTML autocomplete works fine in .html files, .php files, .erb files, etc.

Feature request: autocomplete some attributes without auto-quotes

In HTML5 you can add things like disabled and required to tags without having to write disabled="disabled" or required="required". Auto-completing these attributes, however, adds the="" every time. It would be great to have a setting we could toggle to allow these stand-alone attributes to auto-complete without the quotes.

Uncaught TypeError: Cannot read property 'ng-submit' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.4.15
OS: "Arch Linux"
Thrown From: autocomplete-html package 0.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'ng-submit' of undefined

At /usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:252

TypeError: Cannot read property 'ng-submit' of undefined
    at Object.getAttributeValues (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:252:46)
    at Object.getAttributeValueCompletions (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:192:21)
    at Object.getSuggestions (/usr/lib/atom/node_modules/autocomplete-html/lib/provider.js:24:21)
    at /usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:333:54
    at Array.forEach (native)
    at AutocompleteManager.getSuggestionsFromProviders (/usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:309:17)
    at AutocompleteManager.findSuggestions (/usr/lib/atom/node_modules/autocomplete-plus/lib/autocomplete-manager.js:298:19)

Commands

Non-Core Packages

atom-jinja2 0.6.0 
copy-as-rtf 0.9.3 
copy-with-syntax 0.0.3 
hard-wrap 1.1.0 
hidpi 0.12.0 
language-latex 1.0.0 
latex 0.42.3 
linter 1.11.23 
linter-flake8 2.1.4 
linter-gcc 0.7.1 
linter-javac 1.9.4 
multi-wrap-guide 0.28.2 
nuclide 0.209.0 

Include equals and quotes when autocompleting attributes

I'm very accustomed to Coda autocompleting attributes like class with the equals and quotes included (and the cursor between the quotes).

Having to type =, ", every single time is super bumming me out and would love if the autocomplete package could rescue me from this.

Actually, I suppose there are some attributes which don't require parameters like disabled and what-not. So maybe this should be for those that commonly do, like: class, id, href, target, alt, title, src ... okay there are heaps.

Or maybe it could be a toggle in the package settings. Or maybe it should just apply to all attributes because they have parameters more often than they don't.

Stylesheet option for rel="" attribute.

In attributes list for rel="" is no stylesheet option for it.Stylesheet option is using for connect stylesheets which is primary and often used it might be added to autocomplete list for rel="" atribute.

it doesn't work please help me if m doing anything wrong

Prerequisites

Description

[Description of the issue]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Feature request: treat <li> like an inline, not blocking, tag

When I have a long list of little items, I don't want to take up a ton of space. For instance:

<li>
    eggs
</li>
<li>
    milk
</li>

It is much cleaner (easier to read, elegant, pretty) like this:

<li>eggs</li>
<li>milk</li>

The autocomplete automatically does it the first way. Is there a way to change it to the second way, the way it does with tags like 'em'? This seems related to the following issue:
#10
For me the <p> tag still autogenerates two newlines, which is also not my typical behavior. Otherwise, the defaults are what I would call reasonable.

Note I am Ubuntu 16, Atom 1.20, Autoclose 0.23.0.

Enchance/Fix autocomplition of the hidden html attribute

Description

hidden html attribute has a wrong/redundant autocompletion

Steps to Reproduce

  1. <p></p>
  2. <p hi></p>
  3. press tab
  4. <p hidden=""></p>

Expected behavior: after press tab I expected to see just <p hidden></p>

Actual behavior: <p hidden=""></p>

Reproduces how often: 100%

Versions

Atom    : 1.19.0
apm  1.18.2
OS: Elementary OS 0.3.2 Freya (64-bit) built on Ubuntu 14.04

Additional Information

So hidden attribute should behave as correctly as reversed attribute on autocomplition, but
at this point it behaves as a regular attribute — class for example.

How can we enable this in other filetypes? (e.g. handlebars)

I was looking for something I can add to my own init script, or a piece of source code for which I can create a PR. After snooping around, I concluded that I'm too new to Atom to figure it out.

There should be something like fileTypes containing ['htm', 'html'], which would be a good place to add ['hbs', 'hdbs', 'handlebars'].

This is thinking too simple, no?

This issue is probably about the same.

How could I modify the content of auto-compete?

I open a html file by atom, and write a 'p' in a new line, and type the tab key to auto-complete, then I see this:

<p>

</p>

I want to modify it and see

<p></p>
Anyone know I could I do this?

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.