{"ref":"artifact:aykut-kafali-cf-space-switcher","page":"/artifacts/aykut-kafali-cf-space-switcher","json":"/artifacts/aykut-kafali-cf-space-switcher.json","generated":"2026-10-30","drafted_with_ai":true,"entity":{"id":"aykut-kafali-cf-space-switcher","name":"CF Space Switcher","artifact_type":"ide-extension","ecosystem":"btp","serves_ecosystems":["cap"],"domain":"developer-experience","origin_ring":"independent","description":{"one_line":"A VS Code extension that logs in to a saved Cloud Foundry API endpoint, org and space and switches between them from a view in the editor, with the targeted space's apps and service instances beside it.","short":"Switches Cloud Foundry API, org and space from a view in VS Code","what_it_solves":"Moving between [Cloud Foundry](artifact:btp-cloud-foundry-runtime) API endpoints, orgs and spaces otherwise means retyping `cf login` and `cf target` in a terminal. This extension keeps favourite API endpoints, preloaded with SAP BTP's Cloud Foundry endpoints, saves a default target for a one-click login, and shows the current org and space in the status bar. For the targeted space it lists the apps, with start, stop, restart, restage, scale, SSH and logs, expands an app into its instances, and attaches a Node.js or Java debugger to one instance through a `cf ssh` tunnel. It lists service instances and their keys and can write a key into a project as a CAP hybrid binding in `.cdsrc-private.json` or as `default-env.json`. It drives the Cloud Foundry CLI, which has to be installed, and asks before acting on a target whose org or space name matches `prod`, `production` or `prd` by default."},"links":{"homepage":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher"},"identity":{"author":"Aykut Kafali","license":"MIT"},"compat":{"deployment":["cf"]},"type_properties":{"installs_into":{"value":["vs-code"],"sources":[{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README","checked":"2026-10-28","quote":"A VS Code extension for seamless and quick Cloud Foundry API, Target and Space switching."}]}},"provides":[{"capability":"capability:deployment","what_it_does":"Logs in to a saved Cloud Foundry API endpoint, org and space and switches between them, and runs the lifecycle operations on the targeted space's apps from VS Code: start, stop, restart, restage, scale and restarting a single instance, each asking first on a target it counts as production.","sources":[{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"Quick Login - Save your preferred default API, Target, and Space for instant login"},{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"Applications - The apps of the targeted space, with start/stop/restart/restage, scale, \"open URL\", environment, SSH, and recent or live logs in an output channel."},{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"Production guard - The status bar turns orange with a warning icon on a production target, and switching there — or stopping, restarting, restaging, scaling an app, restarting a single instance, opening a shell or a debugger into one, enabling SSH, or deleting a service key in it — asks first."}]},{"capability":"capability:debugging","what_it_does":"Attaches a Node.js or Java debug session in VS Code to one running instance of a Cloud Foundry app through a `cf ssh` tunnel to that instance's debug port, mapping the open folder to `/home/vcap/app`; the app has to be started with a debugger listening.","sources":[{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"Attach Debugger - On a running instance: opens a `cf ssh` tunnel to the debug port inside *that* instance's container and attaches a Node.js or Java debug session to it."},{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"The app has to be started with a debugger listening (`NODE_OPTIONS=--inspect`, or `JBP_CONFIG_DEBUG` for Java)."}]},{"capability":"capability:local-development","what_it_does":"Writes a service key of an instance in the targeted Cloud Foundry space into the open project, as a CAP hybrid binding in `.cdsrc-private.json` that holds a reference only, or as `VCAP_SERVICES` in `default-env.json`.","sources":[{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Features","checked":"2026-10-28","quote":"Create, show, copy or delete a key — or bind it straight into your project as a CAP hybrid binding (`.cdsrc-private.json`, a reference only) or as `default-env.json` (`VCAP_SERVICES`)."}]}],"requires":[{"ref":"artifact:btp-cloud-foundry-runtime","for":"The orgs, spaces, apps and service instances it switches between and acts on, where they run on SAP BTP; the SAP BTP Cloud Foundry API endpoints come preloaded among its favourite endpoints.","requirement":"conditional","sources":[{"url":"https://marketplace.visualstudio.com/items?itemName=Aykut-Kafali.cf-space-switcher","title":"CF Space Switcher — Visual Studio Marketplace, README, Getting Started","checked":"2026-10-28","quote":"Configure your API endpoints and login (default API Endpoints for SAP BTP Cloud Foundry are ready to be preloaded)"}],"condition":"the Cloud Foundry endpoints it switches between are SAP BTP's"}],"provenance":{"discovered_via":[{"source":"source:curator"}],"first_seen":"2026-10-28"},"drafted_with_ai":true},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"unknown","evidence":"no release data"},{"label":"Continuity","tier":"unknown","evidence":"no contributor data"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"unknown","evidence":"no BTP release lines in the atlas"},{"label":"Survived majors","tier":"unknown","evidence":"no BTP release lines in the atlas"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"unknown","evidence":"not crawled"},{"label":"Changelog","tier":"unknown","evidence":"not crawled"}],"reach":[{"value":null,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-28","npm":"not published under this name"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}