omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    a few autocomplete quirks

    Pythonista
    2
    2
    1101
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonB
      JonB last edited by

      not sure if these are new or not... all related to autocompletion after an equal sign if there is not a space after the =:

      1. pressing a single quote after an = only creates a single quote, rather than autoclosing the string normally. if you press a space after =, it behaves as expected.
      2. probably related, but if you press the quote button twice after an =, such as in self.flex='', the editor instead opens a triple quote.
      3. i have noticed jedi autocompletions are sometimes incomplete or nonexistent if missing the space after an =... maybe this is only in the console. such as self.content_mode=ui. does not show any of the ui members... placing the space in there does.
      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        Somewhat related - the auto-paren-quote-matching doesn't recognize Unicode (u"") and explicit bytes (b"") literals. When the first quote is typed, the second one isn't added automatically, and when the second one is typed, it is recognized as a new literal and a third one is added to "close" the second one, which creates a long string literal by accident.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors