Git Product home page Git Product logo

Comments (6)

tonsky avatar tonsky commented on August 24, 2024 1

Removed in 1.000

from firacode.

tonsky avatar tonsky commented on August 24, 2024

I know, Iโ€™ll remove it in the next version. If youโ€™re curious why it was
there in the first place, :? is called Elvis operator

On Sat, Oct 31, 2015 at 3:09 AM Guilherme Bernal [email protected]
wrote:

I'm using Atom 1.1 with Fira Code (It's awesome!), but I noticed ?:
renders to a quite odd symbol.

This is the plain text:

type U = {
aaa?: string // ?: means an optional property
bbb?: number
}

function F(aaa?: string, bbb?: number) {
// ?: means an optional parameter
}

Here is what I see:

https://camo.githubusercontent.com/a5920ad8a231b8d80f307481d63c3249e5e9de5f/687474703a2f2f6c626775696c6865726d652e636f6d2f73637265656e73686f742f37636534663635376463393665383261323230373166666630326130663865622e706e67

This strange ligature symbol makes no sense to me, it would be better to
have no ligature at all here.

โ€”
Reply to this email directly or view it on GitHub
#61.

from firacode.

kornosaurus avatar kornosaurus commented on August 24, 2024

๐Ÿ‘

from firacode.

Dervisevic avatar Dervisevic commented on August 24, 2024

๐Ÿ‘

from firacode.

MadcapJake avatar MadcapJake commented on August 24, 2024

?: is also used in regex for non-captured groups.

In any case, a ligature for ?: isn't exactly a bad idea but perhaps maybe just a condensed form like what is used for ?=. (Sidenote: what is that symbol and where did it come from? o_0 )

from firacode.

mnowak32 avatar mnowak32 commented on August 24, 2024

@MadcapJake The symbol is clearly a portrait of Elvis... ;) But +1 vote for the issue, it drives me nuts as well.

from firacode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.