elementary / elementary/code

Freeze while finding/replacing large amount text

Offen
#601 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Vala
Sterne
521
Forks
118
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
14

Beschreibung

I attempted to replace tabs with spaces in a ~6000-line tab-indented file. Code's UI locked up pretty much immediately, and a single CPU core was pegged for a couple of minutes. After a few minutes, Code had performed the replacement properly, but it had rendered the whole app unusable in the meantime.

For kicks and to reproduce, it was this file: https://github.com/elementary/wingpanel-indicator-network/blob/ce10f927cc7adb4843aafa536b12968bd512883b/vapi/libnm.vapi

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.