Open krstp opened 1 year ago
Hey @krstp, would this help you? Having a setting, where you could define your own mapping between a given extension and a language known to Zed:
Specifically this is useful for files whose extensions don't uniquely determine their language, e.g. .inc
files which may be C, C++, obj-C, etc.
Check for existing issues
Describe the feature
I would like to request a ZED feature that would by default remember given file/code type selected formatting/coloring. As such each time I open given file, perfectly the same file (or at least similar type of file), I would like ZED to reinstantiate formatting/coloring I selected previously. Currently if I open a file, say a
Dockerfile
, ZED doesn't remember previous coloring/formatting configuration (unless it is one that falls under currently recognizable file extensions for languages:python
,c
,rust
- so.py
,.c
,rs
etc.). Each time I reopen the same Dockerfile (or any other) I need to re-select given coloring formatting, such asshell
. At times it gets a bit annoying to have to reinstantiate all open files in the project, such as multiple dependency files etc.Such feature would be much welcomed. Thanks again team for all the great work you do!
If applicable, add mockups / screenshots to help present your vision of the feature
No response