onivim/oni

Tab rename

Aperta

#2420 aperta il 11 lug 2018

 (5 commenti) (0 reazioni) (0 assegnatari)TypeScript (297 fork)batch import
buggood first issue

Metriche repository

Star
 (11.249 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This is more of a question/request for help than an issue.

My directory structure is as such in my React Native projects

|--Component1
|----index.js
|----style.js
|--Component2
|----index.js
|----style.js

The problem arises when I open multiple index.js and style.js and I would not know which is which. Is there a way to rename the tab on file open? (I would parse the path and if the name is index or style, I would handle this)

Any directions you guys suggest?

Guida contributor