bem / bem-sdk

BEM SDK packages
https://en.bem.info/toolbox/sdk/
88 stars 25 forks source link

Nested-lite scheme for walking #271

Open belozer opened 6 years ago

belozer commented 6 years ago

In explanation https://github.com/bem-sdk-archive/bem-walk/issues/81 and https://github.com/bem-site/bem-forum-content-ru/issues/1100

block/tech
block/_mod/tech
block/_mod_val/tech
block/__elem/tech
block/__elem/_mod/tech
block/__elem/_mod_val/tech

Tech endpoint file path (or dir example: i18n).

Information about the entity lies in the path of the directory

block/__elem/_mod_val/

If it is associated with the task #243 , you get the result

block/tech
block/@platform.tech
block/_mod_val/tech
block/_mod_val/@platrorm.tech
block/__elem/tech
block/__elem/@platform.tech
block/__elem/_mod_val/tech
block/__elem/_mod_val/@platform.tech

Example CtrlP image

belozer commented 6 years ago

Example in files tree image

belozer commented 6 years ago

Sublime:

Tabs switcher: image

View in tabs: image

CtrlP image

Vim

Status Line image image

belozer commented 6 years ago

@veged @vithar @tadatuta @awinogradov What do you think about this?

belozer commented 6 years ago

@zxqfox I almost completed the implementation of this scheme. In the near future I will try to send PR.