Android Studio sudden lag spikes when editing .xml layout files -


when i'm editing xml files in android studio, reason lags when scrolling, typing or anything. when edit .java files isn't problem.

any ideas on how can prevent these sudden spikes? annoying when takes 30 seconds scroll through 500 line xml file 10 seconds on twice big java file.... point, there way stabilize this?

i using android studio 2.0.0

to clairify, i'm talking xml file's source code not rendered output

in case else encounters in future, i've found if click on little man hat @ bottom right, enable "power saving mode" , switch down highlighting level "none", reduces xml editing lag in complex layouts.

once make edit, can disable power saving , slide highlighting see changes in preview.

not ideal, prevents constant pauses between keypresses whilst editing.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -