vscode-html-languageservice
Advanced tools
Comparing version 2.0.0-next.1 to 2.0.0-next.2
@@ -74,3 +74,3 @@ (function (factory) { | ||
var tag = curr.tag; | ||
if (tag && !curr.closed) { | ||
if (tag && (!curr.closed || curr.endTagStart > offset)) { | ||
var item = { | ||
@@ -77,0 +77,0 @@ label: '/' + tag, |
@@ -294,2 +294,8 @@ (function (factory) { | ||
}), | ||
testCompletionFor('<div>\n <form>\n <div>\n <label></label>\n <|\n </div>\n </form></div>', { | ||
items: [ | ||
{ label: 'span', resultText: '<div>\n <form>\n <div>\n <label></label>\n <span\n </div>\n </form></div>' }, | ||
{ label: '/div', resultText: '<div>\n <form>\n <div>\n <label></label>\n </div>\n </div>\n </form></div>' }, | ||
] | ||
}), | ||
testCompletionFor('<body><div><div></div></div></| >', { | ||
@@ -296,0 +302,0 @@ items: [ |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "2.0.0-next.1", | ||
"version": "2.0.0-next.2", | ||
"description": "Language service for HTML", | ||
@@ -5,0 +5,0 @@ "main": "./lib/htmlLanguageService.js", |
@@ -6,2 +6,3 @@ # vscode-html-languageservice | ||
[![NPM Downloads](https://img.shields.io/npm/dm/vscode-html-languageservice.svg)](https://npmjs.org/package/vscode-html-languageservice) | ||
[![Build Status](https://travis-ci.org/Microsoft/vscode-html-languageservice.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-html-languageservice) | ||
@@ -8,0 +9,0 @@ Why? |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293406
32
4949
21