Code editor case sensitive?

  1. 5 years ago

    Marc

    24 Jan 2019 User since 2018

    It looks like that the code editor's intellisense is code sensitive, so for example typing "textview" won't show my "TextView1" control, which is cumbersome. Is this intentional?

  2. marco

    24 Jan 2019 Administrator User since 2016

    Yes @Marc this is intentional, Gravity is a case sensitive language so TextView is different from textview.

  3. Marc

    25 Jan 2019 User since 2018

    @marco Yes @Marc this is intentional, Gravity is a case sensitive language so TextView is different from textview.

    Although I never understood why case-sensitivity is a thing, in any language, I can (somehow) why it's there in de code syntax. However it is bit cumbersome / unnecessary for intellisense imho.

  4. marco

    26 Jan 2019 Administrator User since 2016

    @Marc you are right, code completion should be case insensitive. This behaviour will be fixed in the next upcoming release.

or Sign Up to reply!