blob: d4969ab7f5728f8676127b1b43f15a0024ccfb92 (
plain) (
blame)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
===============================================================================
ALE Dart Integration *ale-dart-options*
===============================================================================
analysis_server *ale-dart-analysis_server*
-------------------------------------------------------------------------------
Installation
Install Dart via whatever means. `analysis_server` will be included in the SDK.
In case that `dart` is not in your path, try to set the executable option to
its absolute path. : >
" Set the executable path for dart to the absolute path to it.
let g:ale_dart_analysis_server_executable = '/usr/local/bin/dart'
<
-------------------------------------------------------------------------------
Options
*ale-options.dart_analysis_server_executable*
*g:ale_dart_analysis_server_executable*
*b:ale_dart_analysis_server_executable*
dart_analysis_server_executable
g:ale_dart_analysis_server_executable
Type: |String|
Default: `'dart'`
This variable can be set to change the path of dart.
*ale-options.dart_analysis_server_enable_language_server*
*g:ale_dart_analysis_server_enable_language_server*
*b:ale_dart_analysis_server_enable_language_server*
dart_analysis_server_enable_language_server
g:ale_dart_analysis_server_enable_language_server
Type: |Number|
Default: `1`
When set to `1`, ALE will use the new `dart language-server` command,
available from Dart version 2.16.0, to launch the language server. When set
to `0`, ALE will instead use the deprecated
`./snapshots/analysis_server.dart.snapshot --lsp` command used by older
versions of Dart.
===============================================================================
dart-analyze *ale-dart-analyze*
-------------------------------------------------------------------------------
Installation
Installing Dart should probably ensure that `dart` is in your `$PATH`.
In case it is not, try to set the executable option to its absolute path. : >
" Set the executable path for dart to the absolute path to it.
let g:ale_dart_format_executable = '/usr/lib/dart/bin/dart'
>
Install Dart via whatever means. `dart analyze` will be included in the SDK.
-------------------------------------------------------------------------------
Options
*ale-options.dart_analyze_executable*
*g:ale_dart_analyze_executable*
*b:ale_dart_analyze_executable*
dart_analyze_executable
g:ale_dart_analyze_executable
Type: |String|
Default: `'dart'`
This variable can be set to specify an absolute path to the
format executable (or to specify an alternate executable).
===============================================================================
dart-format *ale-dart-format*
-------------------------------------------------------------------------------
Installation
Installing Dart should probably ensure that `dart` is in your `$PATH`.
In case it is not, try to set the executable option to its absolute path: >
" Set the executable path for dart to the absolute path to it.
let g:ale_dart_format_executable = '/usr/lib/dart/bin/dart'
<
-------------------------------------------------------------------------------
Options
*ale-options.dart_format_executable*
*g:ale_dart_format_executable*
*b:ale_dart_format_executable*
dart_format_executable
g:ale_dart_format_executable
Type: |String|
Default: `'dart'`
This variable can be set to specify an absolute path to the
format executable (or to specify an alternate executable).
*ale-options.dart_format_options*
*g:ale_dart_format_options*
*b:ale_dart_format_options*
dart_format_options
g:ale_dart_format_options
Type: |String|
Default: `''`
This variable can be set to pass additional options to the dart format fixer.
===============================================================================
dartfmt *ale-dart-dartfmt*
-------------------------------------------------------------------------------
Installation
Installing Dart should probably ensure that `dartfmt` is in your `$PATH`.
In case it is not, try to set the executable option to its absolute path: >
" Set the executable path for dartfmt to the absolute path to it.
let g:ale_dart_dartfmt_executable = '/usr/lib/dart/bin/dartfmt'
<
-------------------------------------------------------------------------------
Options
*ale-options.dart_dartfmt_executable*
*g:ale_dart_dartfmt_executable*
*b:ale_dart_dartfmt_executable*
dart_dartfmt_executable
g:ale_dart_dartfmt_executable
Type: |String|
Default: `''`
This variable can be set to specify an absolute path to the
dartfmt executable (or to specify an alternate executable).
*ale-options.dart_dartfmt_options*
*g:ale_dart_dartfmt_options*
*b:ale_dart_dartfmt_options*
dart_dartfmt_options
g:ale_dart_dartfmt_options
Type: |String|
Default: `''`
This variable can be set to pass additional options to the dartfmt fixer.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|