WLA-DX for VSCode
Publisher: Kroc CamenThemes in package: 3
VSCode language support for WLA-DX assembler; WLA DX - Yet Another GB-Z80/Z80/6502/65C02/65CE02/6510/65816/6800/6801/6809/8008/8080/HUC6280/SPC-700 Multi Platform Cross Assembler Package
VSCode language support for WLA-DX assembler; WLA DX - Yet Another GB-Z80/Z80/6502/65C02/65CE02/6510/65816/6800/6801/6809/8008/8080/HUC6280/SPC-700 Multi Platform Cross Assembler Package
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment | #080 | — |
| comment.block.disabled | #0808 | italic |
| string | #800 | — |
| keyword | #008 | bold |
| storage.type, entity.name.function.macro | #00f | bold |
| support.type.property-name | #008 | bold |
| constant | #808 | bold |
| constant.numeric | #808 | |
| entity.name.function | #08f | bold |
| entity.name.method, entity.name.property | #08f | italic |
| entity.name.type | #08f | |
| entity.name.type.property | — | italic |
| storage.modifier | #00f | italic bold |
| support.function | #008 | bold |
| support.function.illegal | #c00 | bold |
| support.variable | #f80 | bold |
| support.variable.register | #f80 | bold |
| support.variable.register.shadow | #960 | bold |
| support.constant | #f08 | bold |
| keyword.operator | #88c | — |
| punctuation | #448 | — |
| punctuation.separator | #bbb | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}