-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
sdk.code-workspace
78 lines (74 loc) · 2.43 KB
/
sdk.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
// This is a checked-in VSCode workspace configuration file that can be used
// instead of directly opening $SDK_DIR in VSCode.
//
// It's an opt-in workspace configuration that contains settings for:
// - vscode itself
// - Dart analyzer
// - etc.
//
// In terms of precedence, VSCode uses the following order in which settings
// are applied (merged together).
//
// 0) default settings
// 1) user's settings
// 2) remote machine settings
// 3) workspace settings (this file)
// 4) workspace folder settings
//
//
// For details, see:
// https://code.visualstudio.com/docs/getstarted/settings#_settings-precedence
//
////////
// VSCode Workspace Contents
//
// These are the workspace folders, and general VSCode workspace
// configuration itself.
//
// See https://code.visualstudio.com/docs/editor/workspaces for more
// information on this section of the file.
//
////////
// For more inspiration on what else we can do with this file, see:
// https://fuchsia.googlesource.com/fuchsia/+/main/fuchsia.code-workspace
//
"folders": [
{
"path": "."
}
],
"extensions": {
"recommendations": [
// Official Dart support, provides analyzer integration.
"Dart-Code.dart-code",
]
},
"settings": {
"dart.analysisExcludedFolders": [
// These "tests" folders include invalid Dart code which
// will show as analyzer warnings/errors we don't intend to fix.
"tests",
"runtime/tests",
"runtime/observatory/tests",
// We don't control the third_party code, so don't analyze it.
// It includes old Dart examples (e.g. protobuf) or README.dart
// files which don't actually contain dart code and thus don't
// analyze cleanly.
"third_party",
"runtime/third_party",
// This package depends on a package that will not be brought in as a
// dart-sdk dep. https://github.com/dart-lang/sdk/issues/50061
"runtime/tools/heapsnapshot",
// We probably can include 'lib', but it currently shows too many errors.
// We would need to ignore import_internal_library, and other warnings
// on a per-file basis, since the analyzer is designed to work with
// user code not sdk code.
"sdk/lib",
// I would have expected the analyzer to automatically exclude these
// since it's in .gitignore, but it doesn't seem to.
"xcodebuild",
"out",
],
},
}