You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ Language Features:
9
9
Compiler Features:
10
10
* Code Generator: More efficient overflow checks for multiplication.
11
11
* Yul Optimizer: Simplify the starting offset of zero-length operations to zero.
12
+
* Language Server: Analyze all files in a project by default (can be customized by setting ``'file-load-strategy'`` to ``'directly-opened-and-on-import'`` in LSP settings object).
// The settings item: "file-load-strategy" (enum) defaults to "project-directory" if not (or not correctly) set.
170
+
// It can be overridden during client's handshake or at runtime, as usual.
171
+
//
172
+
// If this value is set to "project-directory" (default), all .sol files located inside the project directory or reachable through symbolic links will be subject to operations.
173
+
//
174
+
// Operations include compiler analysis, but also finding all symbolic references or symbolic renaming.
175
+
//
176
+
// If this value is set to "directly-opened-and-on-import", then only currently directly opened files and
177
+
// those files being imported directly or indirectly will be included in operations.
178
+
if (_settings["file-load-strategy"])
179
+
{
180
+
autoconst text = _settings["file-load-strategy"].asString();
0 commit comments