Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
6f5ebbaa
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6f5ebbaa
编写于
8月 14, 2020
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use vscode-emmet-helper isnetad of vscode-emmet-helper2
上级
bb3c233e
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
9 addition
and
9 deletion
+9
-9
extensions/emmet/extension.webpack.config.js
extensions/emmet/extension.webpack.config.js
+1
-1
extensions/emmet/package.json
extensions/emmet/package.json
+2
-2
extensions/emmet/src/util.ts
extensions/emmet/src/util.ts
+2
-2
extensions/emmet/yarn.lock
extensions/emmet/yarn.lock
+4
-4
未找到文件。
extensions/emmet/extension.webpack.config.js
浏览文件 @
6f5ebbaa
...
...
@@ -21,6 +21,6 @@ module.exports = withDefaults({
filename
:
'
emmetNodeMain.js
'
},
externals
:
{
'
vscode-emmet-helper
2
'
:
'
commonjs vscode-emmet-helper2
'
,
'
vscode-emmet-helper
'
:
'
commonjs vscode-emmet-helper
'
,
},
});
extensions/emmet/package.json
浏览文件 @
6f5ebbaa
...
...
@@ -422,7 +422,7 @@
"scripts"
:
{
"watch"
:
"gulp watch-extension:emmet"
,
"compile"
:
"gulp compile-extension:emmet"
,
"deps"
:
"yarn add vscode-emmet-helper
2
"
"deps"
:
"yarn add vscode-emmet-helper"
},
"devDependencies"
:
{
"@types/node"
:
"^12.11.7"
,
...
...
@@ -435,7 +435,7 @@
"@emmetio/html-matcher"
:
"^0.3.3"
,
"@emmetio/math-expression"
:
"^0.1.1"
,
"image-size"
:
"^0.5.2"
,
"vscode-emmet-helper
2"
:
"^2.0.0-next
.0"
,
"vscode-emmet-helper
"
:
"^2.0
.0"
,
"vscode-html-languageservice"
:
"^3.0.3"
}
}
extensions/emmet/src/util.ts
浏览文件 @
6f5ebbaa
...
...
@@ -8,7 +8,7 @@ import parse from '@emmetio/html-matcher';
import
parseStylesheet
from
'
@emmetio/css-parser
'
;
import
{
Node
,
HtmlNode
,
CssToken
,
Property
,
Rule
,
Stylesheet
}
from
'
EmmetNode
'
;
import
{
DocumentStreamReader
}
from
'
./bufferStream
'
;
import
*
as
EmmetHelper
from
'
vscode-emmet-helper
2
'
;
import
*
as
EmmetHelper
from
'
vscode-emmet-helper
'
;
import
{
TextDocument
as
LSTextDocument
}
from
'
vscode-html-languageservice
'
;
let
_emmetHelper
:
typeof
EmmetHelper
;
...
...
@@ -26,7 +26,7 @@ export function getEmmetHelper() {
// Lazy load vscode-emmet-helper instead of importing it
// directly to reduce the start-up time of the extension
if
(
!
_emmetHelper
)
{
_emmetHelper
=
require
(
'
vscode-emmet-helper
2
'
);
_emmetHelper
=
require
(
'
vscode-emmet-helper
'
);
}
updateEmmetExtensionsPath
();
return
_emmetHelper
;
...
...
extensions/emmet/yarn.lock
浏览文件 @
6f5ebbaa
...
...
@@ -2469,10 +2469,10 @@ vinyl@~2.0.1:
remove-trailing-separator "^1.0.1"
replace-ext "^1.0.0"
vscode-emmet-helper
2@^2.0.0-next
.0:
version "2.0.0
-next.0
"
resolved "https://registry.yarnpkg.com/vscode-emmet-helper
2/-/vscode-emmet-helper2-2.0.0-next.0.tgz#86eb4c2e581a577e7eb56a51f662e72fb1c63b4
7"
integrity sha512-
ccm6Fb5dkbdEDNLIAebWwVcb8X3AXZDsACLi4KYdCxyFSMV+pOoNokBf4rsu+rSYWNe+fMqxjXZs9z0G2CxPGg
==
vscode-emmet-helper
@^2.0
.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/vscode-emmet-helper
/-/vscode-emmet-helper-2.0.0.tgz#0057ec2d4af8ac83b1f7937383714ffdc56fcc0
7"
integrity sha512-
ytR+Ajxs6zeYI0b4bPsl+nPU8xm852piJUtIwO1ajp1Pw7lwn3VeR+f4ynmxOl9IjfOdF2kW9T/qIkeFbKLwYw
==
dependencies:
"@emmetio/extract-abbreviation" "^0.2.0"
jsonc-parser "^2.3.0"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录