]> git.madduck.net Git - etc/vim.git/blob - doc/ale-dart.txt

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Squashed '.vim/bundle/ale/' content from commit 22185c4c
[etc/vim.git] / doc / ale-dart.txt
1 ===============================================================================
2 ALE Dart Integration                                         *ale-dart-options*
3
4
5 ===============================================================================
6 analysis_server                                      *ale-dart-analysis_server*
7
8
9 -------------------------------------------------------------------------------
10 Installation
11
12 Install Dart via whatever means. `analysis_server` will be included in the SDK.
13
14 In case that `dart` is not in your path, try to set the executable option to
15 its absolute path. : >
16   " Set the executable path for dart to the absolute path to it.
17   let g:ale_dart_analysis_server_executable = '/usr/local/bin/dart'
18 <
19
20 -------------------------------------------------------------------------------
21 Options
22                                   *ale-options.dart_analysis_server_executable*
23                                         *g:ale_dart_analysis_server_executable*
24                                         *b:ale_dart_analysis_server_executable*
25 dart_analysis_server_executable
26 g:ale_dart_analysis_server_executable
27   Type: |String|
28   Default: `'dart'`
29
30   This variable can be set to change the path of dart.
31
32                       *ale-options.dart_analysis_server_enable_language_server*
33                             *g:ale_dart_analysis_server_enable_language_server*
34                             *b:ale_dart_analysis_server_enable_language_server*
35 dart_analysis_server_enable_language_server
36 g:ale_dart_analysis_server_enable_language_server
37   Type: |Number|
38   Default: `1`
39
40   When set to `1`, ALE will use the new `dart language-server` command,
41   available from Dart version 2.16.0, to launch the language server. When set
42   to `0`, ALE will instead use the deprecated
43   `./snapshots/analysis_server.dart.snapshot --lsp` command used by older
44   versions of Dart.
45
46
47 ===============================================================================
48 dart-analyze                                                 *ale-dart-analyze*
49
50
51 -------------------------------------------------------------------------------
52 Installation
53
54 Installing Dart should probably ensure that `dart` is in your `$PATH`.
55
56 In case it is not, try to set the executable option to its absolute path. : >
57   " Set the executable path for dart to the absolute path to it.
58   let g:ale_dart_format_executable = '/usr/lib/dart/bin/dart'
59  >
60
61 Install Dart via whatever means. `dart analyze` will be included in the SDK.
62
63
64 -------------------------------------------------------------------------------
65 Options
66                                           *ale-options.dart_analyze_executable*
67                                                 *g:ale_dart_analyze_executable*
68                                                 *b:ale_dart_analyze_executable*
69 dart_analyze_executable
70 g:ale_dart_analyze_executable
71   Type: |String|
72   Default: `'dart'`
73
74   This variable can be set to specify an absolute path to the
75   format executable (or to specify an alternate executable).
76
77
78 ===============================================================================
79 dart-format                                                   *ale-dart-format*
80
81
82 -------------------------------------------------------------------------------
83 Installation
84
85 Installing Dart should probably ensure that `dart` is in your `$PATH`.
86
87 In case it is not, try to set the executable option to its absolute path: >
88
89   " Set the executable path for dart to the absolute path to it.
90   let g:ale_dart_format_executable = '/usr/lib/dart/bin/dart'
91 <
92
93 -------------------------------------------------------------------------------
94 Options
95                                            *ale-options.dart_format_executable*
96                                                  *g:ale_dart_format_executable*
97                                                  *b:ale_dart_format_executable*
98 dart_format_executable
99 g:ale_dart_format_executable
100   Type: |String|
101   Default: `'dart'`
102
103   This variable can be set to specify an absolute path to the
104   format executable (or to specify an alternate executable).
105
106                                               *ale-options.dart_format_options*
107                                                     *g:ale_dart_format_options*
108                                                     *b:ale_dart_format_options*
109 dart_format_options
110 g:ale_dart_format_options
111   Type: |String|
112   Default: `''`
113
114   This variable can be set to pass additional options to the dart format fixer.
115
116
117 ===============================================================================
118 dartfmt                                                      *ale-dart-dartfmt*
119
120
121 -------------------------------------------------------------------------------
122 Installation
123
124 Installing Dart should probably ensure that `dartfmt` is in your `$PATH`.
125
126 In case it is not, try to set the executable option to its absolute path: >
127
128   " Set the executable path for dartfmt to the absolute path to it.
129   let g:ale_dart_dartfmt_executable = '/usr/lib/dart/bin/dartfmt'
130 <
131
132 -------------------------------------------------------------------------------
133 Options
134                                           *ale-options.dart_dartfmt_executable*
135                                                 *g:ale_dart_dartfmt_executable*
136                                                 *b:ale_dart_dartfmt_executable*
137 dart_dartfmt_executable
138 g:ale_dart_dartfmt_executable
139   Type: |String|
140   Default: `''`
141
142   This variable can be set to specify an absolute path to the
143   dartfmt executable (or to specify an alternate executable).
144
145                                              *ale-options.dart_dartfmt_options*
146                                                    *g:ale_dart_dartfmt_options*
147                                                    *b:ale_dart_dartfmt_options*
148 dart_dartfmt_options
149 g:ale_dart_dartfmt_options
150   Type: |String|
151   Default: `''`
152
153   This variable can be set to pass additional options to the dartfmt fixer.
154
155
156 ===============================================================================
157   vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: