Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

409
Views
Render lambda keyword as the greek symbol in VSCode?

I want vscode to render lambda as λ in my editor. I do not want it to replace the word with the symbol, as that will just break my code since Python doesn't interpet λ as a keyword. It needs to purely be a rendering change, with the actual code still being lambda.

Are there any extensions that do this? Is it possible within the VSCode environment to do this?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The extension Prettify Symbols Mode allows you to do this. You'll have to edit your settings.json to specify this particular subsitution. To do this install the extension then go to the extension's settings page -> "Prettify Symbols Mode: Substitutions" -> edit in settings.json. Then add this:

"prettifySymbolsMode.substitutions": [
        {
            "language": "python",
            "substitutions": [
                {
                    "ugly": "lambda",
                    "pretty": "λ"
                },
            ]
        }
    ]

to the file.

There are more complete options and details available on the extension's page, and here is a more complete example of a Python config (with a lambda expression).

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!