Langauge dialect mappings #6590
Replies: 8 comments
-
Thank you, @JosephTLyons, for initiating this conversation. Here's what I am currently seeking:
|
Beta Was this translation helpful? Give feedback.
-
The following file extensions should be associated to JavaScript by default:
Example:
|
Beta Was this translation helpful? Give feedback.
-
I am not sure if the following files could be seen as json files, because someone could use .lock without it needing to be json content.
|
Beta Was this translation helpful? Give feedback.
-
Hello! I would like to use Zed with the Defold game engine:
The names are a bit generic, so of course it's more desirable to be able to set the mapping by the user. |
Beta Was this translation helpful? Give feedback.
-
technically it's not exactly the same language, but until there is actual starlark support, would be nice to map bazel's BUILD files to python. that's also not exactly extensions, but the following patterns:
|
Beta Was this translation helpful? Give feedback.
-
not sure if it counts exactly as a dialect, but I would really love to see syntax highlighting of |
Beta Was this translation helpful? Give feedback.
-
Now, thanks to #9290, we have a way for users to use their local settings and set-up such dialect file associations. |
Beta Was this translation helpful? Give feedback.
-
I'm going to run through our langauge configuration files and add in the extensions of different dialiects of lanugages we already support, just so that Zed picks something when opening those files. For instance, I'll add the micropython extension to the python configuration file. Just to be clear, this will only apply an known language's highlighting to an unknown file.
I'm going to do a bit of digging on my own, but what extensions would you like to see associated with the languages Zed already supports?
Batch 1 added (will ship in v0.100.x):
cxx
,hxx
,inl
cjs
mpy
cts
,d.cts
,d.mts
,mts
Beta Was this translation helpful? Give feedback.
All reactions