Repository navigation
refactor(merlin): retain file configuration metadata - #16522
Conversation
cd8043c to
bdf499f
Compare
bdf499f to
3e07a8f
Compare
b0f1d08 to
7f017fe
Compare
3e07a8f to
d901132
Compare
7f017fe to
394901f
Compare
d901132 to
727452f
Compare
394901f to
08efd19
Compare
727452f to
c0b7788
Compare
Select the correct Merlin reader for preprocessed filenames while preserving legacy fallback and copy-line lookup. Fixes the reader-selection case covered by #16537; compatibility tests are in #16540. Prerequisite for #16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
737a2b5 to
b406321
Compare
|
Why is there such a null build penalty even for projects that don't use melange? |
|
Source-kind and counterpart metadata is collected for OCaml configurations too. The avoidable cost is rebuilding a full-path source-file set per configuration, plus a fallback-kind map per module. I have a small optimization ready locally: reuse the source tree's filename sets and compare the two possible fallback keys directly. On the same Dune checkout, null |
|
damn codex really went and replied, i'm digging into it and won't merge with this perf regression |
17156e5 to
fe3261e
Compare
Extracted from #16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Extracted from #16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Extracted from #16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
8f2d5d9 to
717e035
Compare
Extracted from ocaml#16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Extracted from ocaml#16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Extracted from ocaml#16522. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
717e035 to
1d06b5e
Compare
Persist only the module metadata Merlin needs while preserving filename lookup behavior. From anmonteiro#245; related to #16522. 01a12d8e-c091-7010-b0cd-3fdc40400e80 Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Retain compilation mode in processed configurations and expose typed plural lookup with source kind and counterpart metadata. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
1d06b5e to
e49b3bc
Compare
Preserve all copy-line destinations across compilation modes, including sandboxed copies and source reassignment. Upstreams anmonteiro#218; follow-up to #16522. Codex session: `019ea5b2-acde-7141-bcbd-e3c833c8eefe`. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Retain compilation mode, source kind, and counterpart metadata for plural Merlin lookup, while preserving legacy
Filebehavior.Follows #16536. Preparation for single-context editor support; originally anmonteiro#111.
Codex session:
019ea5b2-acde-7141-bcbd-e3c833c8eefe.