Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>#if & #ifdef ConditionerNew to Visual Studio Code? Get it now.
#if & #ifdef Conditioner

#if & #ifdef Conditioner

ggubugiya

|
516 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

#if #ifdef conditioner

A simple extension that to turn code blocks into active or inactive states.

Features

Active code blocks

  1. Select a pre defined symbol
  2. Press keys
  • window, linux: shift + win + f8
  • mac: shift + command + f8
  1. Set value for pre defined symbol as higher than 0

Inactive code blocks

  1. Select a pre defined symbol
  2. Press keys
  • window, linux: shift + win + f8
  • mac: shift + command + f8
  1. Set value for pre defined symbol as 0
  2. If you did set value for the selected symbol, Select "Modify" menu and set value as 0

Extension Settings

{
    "if-conditioner.symbols": [
        {
            "symbol": "TEST",
            "val": 0
        }
    ],
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft