Lazy load emmet helper to ease startup #35120

This commit is contained in:
Ramya Achutha Rao
2017-10-30 20:56:19 -07:00
parent 0c112c7a75
commit 81cca6cc60
7 changed files with 81 additions and 38 deletions

View File

@@ -10,8 +10,7 @@
import { TextEditor, Range, Position, window, TextEdit } from 'vscode';
import * as path from 'path';
import { getImageSize } from './imageSizeHelper';
import { isStyleSheet } from 'vscode-emmet-helper';
import { parseDocument, getNode, iterateCSSToken, getCssPropertyFromRule } from './util';
import { parseDocument, getNode, iterateCSSToken, getCssPropertyFromRule, isStyleSheet } from './util';
import { HtmlNode, CssToken, HtmlToken, Attribute, Property } from 'EmmetNode';
import { locateFile } from './locateFile';
import parseStylesheet from '@emmetio/css-parser';