{"id":35009315,"url":"https://github.com/reececomo/ifdef-loader-syntax-highlighting","last_synced_at":"2026-03-15T20:07:38.704Z","repository":{"id":318853144,"uuid":"1076710102","full_name":"reececomo/ifdef-loader-syntax-highlighting","owner":"reececomo","description":"Syntax highlighting for ifdef-loader conditional compilation comments in TypeScript and JavaScript files.","archived":false,"fork":false,"pushed_at":"2025-10-15T08:54:57.000Z","size":93,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-15T23:50:54.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reececomo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-15T08:36:10.000Z","updated_at":"2025-10-15T08:54:52.000Z","dependencies_parsed_at":"2025-10-16T19:50:19.844Z","dependency_job_id":"600ab43e-eeac-46f0-b2f8-6663b0a2a2d7","html_url":"https://github.com/reececomo/ifdef-loader-syntax-highlighting","commit_stats":null,"previous_names":["reececomo/ifdef-loader-syntax-highlighting"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/reececomo/ifdef-loader-syntax-highlighting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reececomo%2Fifdef-loader-syntax-highlighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reececomo%2Fifdef-loader-syntax-highlighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reececomo%2Fifdef-loader-syntax-highlighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reececomo%2Fifdef-loader-syntax-highlighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reececomo","download_url":"https://codeload.github.com/reececomo/ifdef-loader-syntax-highlighting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reececomo%2Fifdef-loader-syntax-highlighting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30550789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T04:57:01.587Z","updated_at":"2026-03-15T20:07:38.700Z","avatar_url":"https://github.com/reececomo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ifdef-loader Syntax Highlighting\n\n[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/reececomo.ifdef-loader-syntax-highlighting.svg)](https://marketplace.visualstudio.com/items?itemName=reececomo.ifdef-loader-syntax-highlighting)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nSyntax highlighting for [**ifdef-loader**](https://www.npmjs.com/package/ifdef-loader) conditional compilation comments.\n\n- ✅ Supports built-ins: `#if`, `#else`, `#elif`, `#endif`\n- ✅ Supports `#code` uncomment prefix blocks (and custom prefixes)\n- 🟡 Not supported: `\"ifdef-triple-slash\": false`\n\n\u003cimg alt=\"Example usage\" src=\"./example.jpg\" width=\"265px\" /\u003e\n\n### Recommended: Enable block highlighting\n\nConfigure block highlights - e.g. using the [**Highlight extension**](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight):\n\n#### .vscode/settings.json:\n\n```json\n{\n  \"highlight.regexes\": {\n    \"( *\\/\\/\\/ #if.*)((?:.|\\n)*?\\n)( *\\/\\/\\/ #endif)\": {\n      \"filterFileRegex\": \".*\\\\.(?:jsx?|tsx?)$\",\n      \"regexFlags\": \"gm\",\n      \"decorations\": [\n        {},\n        {\n          \"isWholeLine\": true,\n          \"dark\":  { \"backgroundColor\": \"#ffa81d28\" },\n          \"light\": { \"backgroundColor\": \"#ffa81d10\" }\n        },\n        {}\n      ]\n    },\n    \"( *\\/\\/\\/ )(#(?:if|elif|else|endif))\": {\n      \"filterFileRegex\": \".*\\\\.(?:jsx?|tsx?)$\",\n      \"decorations\": [\n        {\n          \"isWholeLine\": true,\n          \"dark\":  { \"backgroundColor\": \"#ffa81d26\" },\n          \"light\": { \"backgroundColor\": \"#ffa81d20\" }\n        },\n        {\n          \"fontWeight\": \"600\"\n        }\n      ]\n    }\n  }\n}\n```\n\n## Build \u0026 install\n\n```sh\ngit clone git@github.com:reececomo/ifdef-loader-syntax-highlighting\ncd ifdef-loader-syntax-highlighting\n\nnpm run build\n\nnpm run install-extension\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freececomo%2Fifdef-loader-syntax-highlighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freececomo%2Fifdef-loader-syntax-highlighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freececomo%2Fifdef-loader-syntax-highlighting/lists"}