Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
eaff4c5d
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,发现更多精彩内容 >>
提交
eaff4c5d
编写于
4月 07, 2020
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt - fix import layer rules
上级
49c62cbc
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
104 addition
and
52 deletion
+104
-52
.eslintrc.json
.eslintrc.json
+96
-45
src/vs/workbench/contrib/debug/browser/debug.contribution.ts
src/vs/workbench/contrib/debug/browser/debug.contribution.ts
+2
-2
src/vs/workbench/contrib/debug/browser/repl.ts
src/vs/workbench/contrib/debug/browser/repl.ts
+1
-1
src/vs/workbench/contrib/notebook/browser/media/notebook.css
src/vs/workbench/contrib/notebook/browser/media/notebook.css
+0
-0
src/vs/workbench/contrib/notebook/browser/notebookEditor.ts
src/vs/workbench/contrib/notebook/browser/notebookEditor.ts
+1
-1
src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts
...h/contrib/notebook/browser/view/renderers/cellRenderer.ts
+2
-1
src/vs/workbench/contrib/preferences/browser/preferences.contribution.ts
...h/contrib/preferences/browser/preferences.contribution.ts
+1
-1
src/vs/workbench/contrib/terminal/browser/terminalService.ts
src/vs/workbench/contrib/terminal/browser/terminalService.ts
+1
-1
未找到文件。
.eslintrc.json
浏览文件 @
eaff4c5d
...
...
@@ -109,7 +109,7 @@
"restrictions"
:
[
"vs/nls"
,
"**/vs/base/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -146,7 +146,7 @@
"vs/nls"
,
"**/vs/base/{common,node}/**"
,
"**/vs/base/parts/*/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -156,7 +156,7 @@
"vs/css!./**/*"
,
"**/vs/base/{common,browser,node,electron-browser}/**"
,
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -165,7 +165,7 @@
"vs/nls"
,
"**/vs/base/{common,node,electron-main}/**"
,
"**/vs/base/parts/*/{common,node,electron-main}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -206,7 +206,7 @@
"**/vs/base/{common,node}/**"
,
"**/vs/base/parts/*/{common,node}/**"
,
"**/vs/platform/*/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -217,7 +217,7 @@
"**/vs/base/{common,browser,node}/**"
,
"**/vs/base/parts/*/{common,browser,node,electron-browser}/**"
,
"**/vs/platform/*/{common,browser,node,electron-browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -227,7 +227,8 @@
"**/vs/base/{common,node,electron-main}/**"
,
"**/vs/base/parts/*/{common,node,electron-main}/**"
,
"**/vs/platform/*/{common,node,electron-main}/**"
,
"!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/code/**"
,
"*"
//
node
modules
]
},
{
...
...
@@ -396,12 +397,6 @@
"assert"
]
},
{
"target"
:
"**/vs/workbench/workbench.desktop.main.ts"
,
"restrictions"
:
[
"**"
]
},
{
"target"
:
"**/vs/workbench/api/common/**"
,
"restrictions"
:
[
...
...
@@ -437,7 +432,7 @@
"**/vs/editor/contrib/**"
,
//
editor/contrib
is
equivalent
to
/browser/
by
convention
"**/vs/workbench/{common,browser,node,electron-browser,api}/**"
,
"**/vs/workbench/services/*/{common,browser,node,electron-browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -452,7 +447,7 @@
"vs/workbench/contrib/files/common/editors/fileEditorInput"
,
"**/vs/workbench/services/**"
,
"**/vs/workbench/test/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -508,7 +503,7 @@
"**/vs/workbench/{common,node}/**"
,
"**/vs/workbench/api/{common,node}/**"
,
"**/vs/workbench/services/**/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -521,7 +516,23 @@
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser,node,electron-browser,api}/**"
,
"**/vs/workbench/services/**/{common,browser,node,electron-browser}/**"
,
"!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"*"
//
node
modules
]
},
{
"target"
:
"**/vs/workbench/contrib/**/test/**"
,
"restrictions"
:
[
"assert"
,
"vs/nls"
,
"vs/css!./**/*"
,
"**/vs/base/**"
,
"**/vs/platform/**"
,
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser,node,electron-browser}/**"
,
"**/vs/workbench/services/**"
,
"**/vs/workbench/contrib/**"
,
"**/vs/workbench/test/**"
,
"*"
]
},
{
...
...
@@ -536,8 +547,8 @@
"**/vs/platform/**/{common,browser}/**"
,
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser}/**"
,
"**/vs/workbench/
services
/**/{common,browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/workbench/
contrib
/**/{common,browser}/**"
,
"
**/vs/workbench/services/**/{common,browser}/**"
]
},
{
...
...
@@ -550,8 +561,8 @@
"**/vs/platform/**/{common,browser}/**"
,
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser}/**"
,
"**/vs/workbench/
services
/**/{common,browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/workbench/
contrib
/**/{common,browser}/**"
,
"
**/vs/workbench/services/**/{common,browser}/**"
]
},
{
...
...
@@ -564,8 +575,8 @@
"**/vs/platform/**/{common,browser}/**"
,
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser}/**"
,
"**/vs/workbench/
services
/**/{common,browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/workbench/
contrib
/**/{common,browser}/**"
,
"
**/vs/workbench/services/**/{common,browser}/**"
]
},
{
...
...
@@ -575,10 +586,11 @@
"vs/css!./**/*"
,
"**/vs/base/**/common/**"
,
"**/vs/platform/**/common/**"
,
"**/vs/editor/**
/common/**
"
,
"**/vs/editor/**"
,
"**/vs/workbench/common/**"
,
"**/vs/workbench/api/common/**"
,
"**/vs/workbench/services/**/common/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
**/vs/workbench/contrib/**/common/**"
]
},
{
...
...
@@ -590,8 +602,9 @@
"**/vs/platform/**/{common,browser}/**"
,
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser}/**"
,
"**/vs/workbench/api/{common,browser}/**"
,
"**/vs/workbench/services/**/{common,browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
**/vs/workbench/contrib/**/{common,browser}/**"
]
},
{
...
...
@@ -603,8 +616,10 @@
"**/vs/platform/**/{common,node}/**"
,
"**/vs/editor/**/common/**"
,
"**/vs/workbench/{common,node}/**"
,
"**/vs/workbench/api/{common,node}/**"
,
"**/vs/workbench/services/**/{common,node}/**"
,
"!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/workbench/contrib/**/{common,node}/**"
,
"*"
//
node
modules
]
},
{
...
...
@@ -617,7 +632,8 @@
"**/vs/editor/**"
,
"**/vs/workbench/{common,browser,node,electron-browser,api}/**"
,
"**/vs/workbench/services/**/{common,browser,node,electron-browser}/**"
,
"!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"**/vs/workbench/contrib/**/{common,browser,node,electron-browser}/**"
,
"*"
//
node
modules
]
},
{
...
...
@@ -628,7 +644,7 @@
"**/vs/base/parts/**/{common,node}/**"
,
"**/vs/platform/**/{common,node}/**"
,
"**/vs/code/**/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -640,7 +656,7 @@
"**/vs/base/parts/**/{common,browser,node,electron-browser}/**"
,
"**/vs/platform/**/{common,browser,node,electron-browser}/**"
,
"**/vs/code/**/{common,browser,node,electron-browser}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -651,7 +667,7 @@
"**/vs/base/parts/**/{common,node,electron-main}/**"
,
"**/vs/platform/**/{common,node,electron-main}/**"
,
"**/vs/code/**/{common,node,electron-main}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
...
...
@@ -664,13 +680,9 @@
"**/vs/workbench/**/{common,node}/**"
,
"**/vs/server/**"
,
"**/vs/code/**/{common,node}/**"
,
"
!path"
//
node
modules
(except
path
where
we
have
our
own
impl)
"
*"
//
node
modules
]
},
{
"target"
:
"**/{node,electron-browser,electron-main}/**"
,
"restrictions"
:
"**/*"
},
{
"target"
:
"**/extensions/**"
,
"restrictions"
:
"**/*"
...
...
@@ -679,34 +691,73 @@
"target"
:
"**/test/smoke/**"
,
"restrictions"
:
[
"**/test/smoke/**"
,
"*"
"*"
//
node
modules
]
},
{
"target"
:
"**/test/automation/**"
,
"restrictions"
:
[
"**/test/automation/**"
,
"*"
"*"
//
node
modules
]
},
{
"target"
:
"**/test/integration/**"
,
"restrictions"
:
[
"**/test/integration/**"
,
"*"
"*"
//
node
modules
]
},
{
"target"
:
"**/api/**.test.ts"
,
"restrictions"
:
[
"**/vs/**"
,
"assert"
,
"sinon"
,
"crypto"
,
"vscode"
]
},
{
"target"
:
"**/{node,electron-browser,electron-main}/**/*.test.ts"
,
"restrictions"
:
[
"**/vs/**"
,
"*"
//
node
modules
]
},
{
"target"
:
"{**/api/**.test.ts,}"
,
"restrictions"
:
"{**/vs/**,assert,sinon,crypto,vscode}"
"target"
:
"**/{node,electron-browser,electron-main}/**/test/**"
,
"restrictions"
:
[
"**/vs/**"
,
"*"
//
node
modules
]
},
{
"target"
:
"{**/**.test.ts,**/test/**}"
,
"restrictions"
:
"{**/vs/**,assert,sinon,crypto,xterm*}"
"target"
:
"**/test/{node,electron-browser,electron-main}/**"
,
"restrictions"
:
[
"**/vs/**"
,
"*"
//
node
modules
]
},
{
"target"
:
"**/**.test.ts"
,
"restrictions"
:
[
"**/vs/**"
,
"assert"
,
"sinon"
,
"crypto"
,
"xterm*"
]
},
{
"target"
:
"**/{common,browser,workbench}/**"
,
"restrictions"
:
"**/vs/**"
"target"
:
"**/test/**"
,
"restrictions"
:
[
"**/vs/**"
,
"assert"
,
"sinon"
,
"crypto"
,
"xterm*"
]
}
]
},
...
...
src/vs/workbench/contrib/debug/browser/debug.contribution.ts
浏览文件 @
eaff4c5d
...
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!.
./browser
/media/debug.contribution
'
;
import
'
vs/css!.
./browser
/media/debugHover
'
;
import
'
vs/css!./media/debug.contribution
'
;
import
'
vs/css!./media/debugHover
'
;
import
*
as
nls
from
'
vs/nls
'
;
import
{
KeyMod
,
KeyCode
}
from
'
vs/base/common/keyCodes
'
;
import
{
SyncActionDescriptor
,
MenuRegistry
,
MenuId
}
from
'
vs/platform/actions/common/actions
'
;
...
...
src/vs/workbench/contrib/debug/browser/repl.ts
浏览文件 @
eaff4c5d
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!
vs/workbench/contrib/debug/browser
/media/repl
'
;
import
'
vs/css!
.
/media/repl
'
;
import
{
URI
as
uri
}
from
'
vs/base/common/uri
'
;
import
{
IAction
,
IActionViewItem
,
Action
}
from
'
vs/base/common/actions
'
;
import
*
as
dom
from
'
vs/base/browser/dom
'
;
...
...
src/vs/workbench/contrib/notebook/browser/notebook.css
→
src/vs/workbench/contrib/notebook/browser/
media/
notebook.css
浏览文件 @
eaff4c5d
文件已移动
src/vs/workbench/contrib/notebook/browser/notebookEditor.ts
浏览文件 @
eaff4c5d
...
...
@@ -3,6 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!./media/notebook
'
;
import
{
getZoomLevel
}
from
'
vs/base/browser/browser
'
;
import
*
as
DOM
from
'
vs/base/browser/dom
'
;
import
{
IMouseWheelEvent
,
StandardMouseEvent
}
from
'
vs/base/browser/mouseEvent
'
;
...
...
@@ -10,7 +11,6 @@ import { CancellationToken, CancellationTokenSource } from 'vs/base/common/cance
import
{
Color
,
RGBA
}
from
'
vs/base/common/color
'
;
import
{
Emitter
,
Event
}
from
'
vs/base/common/event
'
;
import
{
DisposableStore
,
MutableDisposable
}
from
'
vs/base/common/lifecycle
'
;
import
'
vs/css!./notebook
'
;
import
{
ICodeEditor
}
from
'
vs/editor/browser/editorBrowser
'
;
import
{
IEditorOptions
}
from
'
vs/editor/common/config/editorOptions
'
;
import
{
BareFontInfo
}
from
'
vs/editor/common/config/fontInfo
'
;
...
...
src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts
浏览文件 @
eaff4c5d
...
...
@@ -3,6 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// eslint-disable-next-line code-import-patterns
import
'
vs/css!vs/workbench/contrib/notebook/browser/media/notebook
'
;
import
{
getZoomLevel
}
from
'
vs/base/browser/browser
'
;
import
*
as
DOM
from
'
vs/base/browser/dom
'
;
import
{
IListRenderer
,
IListVirtualDelegate
}
from
'
vs/base/browser/ui/list/list
'
;
...
...
@@ -12,7 +14,6 @@ import { IAction, ActionRunner } from 'vs/base/common/actions';
import
{
escape
}
from
'
vs/base/common/strings
'
;
import
{
DisposableStore
}
from
'
vs/base/common/lifecycle
'
;
import
{
deepClone
}
from
'
vs/base/common/objects
'
;
import
'
vs/css!vs/workbench/contrib/notebook/browser/notebook
'
;
import
{
ICodeEditor
}
from
'
vs/editor/browser/editorBrowser
'
;
import
{
CodeEditorWidget
}
from
'
vs/editor/browser/widget/codeEditorWidget
'
;
import
{
IEditorOptions
}
from
'
vs/editor/common/config/editorOptions
'
;
...
...
src/vs/workbench/contrib/preferences/browser/preferences.contribution.ts
浏览文件 @
eaff4c5d
...
...
@@ -3,10 +3,10 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!./media/preferences
'
;
import
{
KeyChord
,
KeyCode
,
KeyMod
}
from
'
vs/base/common/keyCodes
'
;
import
{
Disposable
}
from
'
vs/base/common/lifecycle
'
;
import
{
URI
}
from
'
vs/base/common/uri
'
;
import
'
vs/css!../browser/media/preferences
'
;
import
{
Context
as
SuggestContext
}
from
'
vs/editor/contrib/suggest/suggest
'
;
import
*
as
nls
from
'
vs/nls
'
;
import
{
Action2
,
MenuId
,
MenuRegistry
,
registerAction2
}
from
'
vs/platform/actions/common/actions
'
;
...
...
src/vs/workbench/contrib/terminal/browser/terminalService.ts
浏览文件 @
eaff4c5d
...
...
@@ -26,7 +26,7 @@ import { escapeNonWindowsPath } from 'vs/workbench/contrib/terminal/common/termi
import
{
isWindows
,
isMacintosh
,
OperatingSystem
}
from
'
vs/base/common/platform
'
;
import
{
basename
}
from
'
vs/base/common/path
'
;
// TODO@daniel code layering
// eslint-disable-next-line code-layering
// eslint-disable-next-line code-layering
, code-import-patterns
import
{
INativeOpenFileRequest
}
from
'
vs/platform/windows/node/window
'
;
import
{
find
}
from
'
vs/base/common/arrays
'
;
import
{
timeout
}
from
'
vs/base/common/async
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录