How I can generate grid/layout guides with positions of all layers in photoshop and save it? I would like to look like this, but for all elements in document. If it is not possible to generate, how I can quickly draw pixel perfect lines with it lengths?
I have found free solution here. Essentially it is spec plugin. There is several option on the market, most of them are paid. Ink will do the job in most cases.