d1y / vscode_dark_plus.zed

5 stars 5 forks source link

Distiction with Structs, Traits, Enums, Unions #6

Open codeitlikemiley opened 3 months ago

codeitlikemiley commented 3 months ago

On vscode im using default them like this one i've added some customization that allows me to clearly distinguished different types

Vscode settings snippet
```json "editor.tokenColorCustomizations": { "[Default Dark Modern]": { "textMateRules": [ { "scope": [ "keyword.other.rust", "support.type", "support.type.primitive", ], "settings": { "foreground": "#569CD6" } }, // Trait { "scope": [ "entity.name.type.trait.rust" ], "settings": { "foreground": "#b681ef" } }, // Enum, Struct, Union { "scope": [ "entity.name.type.struct.rust", "entity.name.type.union.rust", "variable.other.property", "variable.other.member" ], "settings": { "foreground": "#4EC9B0" } }, { "scope": [ "entity.name.type.enum.rust", // "variable.other.enummember.rust" ], "settings": { "foreground": "#eca4c3" } }, // Namespace { "scope": [ "entity.name.namespace" ], "settings": { "foreground": "#ffffffb2" } }, // Functions and Type Declarations { "scope": [ "entity.name.type.declaration.rust", "entity.name.function.rust" ], "settings": { "foreground": "#DCDCAA" } }, // Properties // Lifetimes and Parameters { "scope": [ "storage.modifier.lifetime.rust", "variable.parameter" ], "settings": { "foreground": "#ed5c5c" } }, // Comments { "scope": [ "comment" ], "settings": { "fontStyle": "italic" } }, ] }, }, ```

See Example

Screenshot 2024-07-09 at 10 37 06 AM
codeitlikemiley commented 3 months ago
Screenshot 2024-07-09 at 12 20 07 PM

I created a fork and I only manage to change bunch of stuff rust related...

still no support for enums, unions, and other , type definition...