Notepad++ Avego
Publisher: AvegoThemes in package: 2
Accurate recreation of the classic Notepad++ syntax highlighting in Visual Studio Code. The light theme you know and love.
Accurate recreation of the classic Notepad++ syntax highlighting in Visual Studio Code. The light theme you know and love.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment | #008000 | |
| comment.documentation, comment.block.documentation, comment.block.javadoc, comment.line.double-slash.documentation, punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc | #008080 | |
| entity.name.type.class, entity.name.type.interface | #000000 | bold |
| entity.other.inherited-class | #000080 | — |
| entity.name.function,meta.definition.method.ts entity.name.function.ts | #000000 | bold |
| constant.other | #009900 | italic |
| keyword, constant.language, storage.modifier.extends, storage.type.namespace.directive, variable.language, keyword.operator.delete | #0000ff | bold |
| support.function.php, entity.name.function.php | #010101 | bold |
| support.function.builtin.php, support.function.any-method.php, support.function.any-function.php, meta.function-call.object.php, meta.function-call.static.php | #010101 | bold |
| meta.function-call, entity.other.attribute-name | #000000 | — |
| constant.numeric, constant.language, variable.language.this, variable.other.class, variable.other.constant, meta.property-name, meta.property-value, support | #005cc5 | bold |
| storage.modifier.import, storage.modifier.package | #000000 | — |
| constant.numeric | #ff8000 | — |
| string.quoted.double, string.quoted.single | #808080 | |
| string.quoted.double.xml, string.quoted.double.html | #8000ff | bold |
| string.template | #000080 | |
| punctuation.bracket, punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition.parameters, punctuation.definition.begin, punctuation.definition.end, punctuation.definition.block, keyword.operator, meta.brace.round, meta.brace.square, storage.type.function.arrow | #000080 | bold |
| keyword.control.directive, meta.preprocessor | #804000 | |
| storage.modifier, keyword.other.package, storage.type | #8000FF | |
| storage.type.java, storage.type.generic.java, storage.type.annotation | #000000 | |
| entity.other.attribute-name, punctuation.separator.namespace | #FF0000 | |
| entity.name.tag, meta.tag | #0000FF | |
| meta.tag.preprocessor | #FF0000 | — |
| support.type.property-name.json | #8000ff | — |
| string.quoted.double.json | #800000 | — |
| constant.language.json | #18af8a | bold |
| constant.language.register | #8080ff | — |
| entity.other.attribute-name.pseudo-class | #ff8000 | bold |
| meta.property-value, keyword.other.unit.px, keyword.other.unit.percentage, constant.numeric.css | #000000 | bold |
| support.type.property-name.css | #8080c0 | bold |
| punctuation.separator.key-value.html | #000000 | |
| storage.type.function, storage.type.js | #0000ff | bold |
| markup.heading.markdown | #ff8000 | bold |
| markup.list.unnumbered.markdown | #000080 | italic |
| punctuation.definition.link.description, string.other.link.description.markdown | #8000ff | italic |
| constant.language.python, support.function.builtin.python | #880088 | bold |
| entity.name.function.python, support.function.magic.python | #ff00ff | |
| string.quoted.docstring.multi.python | #ff8000 | |
| constant.numeric.dec.python, constant.numeric.float.python | #ff0000 | |
| support.function.builtin.shell | #0000ff | bold |
export interface User {
id: string;
name: string;
role: "admin" | "member";
tags: string[];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser(id: string): Promise<User | null> {
if (!id) {
return null;
}
const response = await fetch(`/api/users/${id}`, {
method: "GET",
headers: { Accept: "application/json" },
});
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);
}
return (await response.json()) as User;
}
function greet(user: User): string {
// Simple greeting function that uses the user's name
return `Hello, ${user.name}!`;
}