Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthornivaldo
    • CommentTimeDec 26th 2007
     permalink
    Hi,

    I noticed that if I specify a snippet (say, def declaration snippet for Ruby), it will paste the code using tabs, regardless if I have specified that I want to use spaces instead of tabs...I believe that this should not be so and the user should be allowed to have control over the snippets use of spaces vs. tabs.

    Thanks.
  1.  permalink

    Well, I’m not sure, if I’m getting this right, but the snippet insertion should respect current user settings, if the snippet is written properly (I mean that it is using tabs for indentation). I have done some tests and it seems that it is working okay for me (v675). Can you, please give us more details, ideally if you can send us version of Intype you are using and check the snippet that is not working whether it is using tabs for indentation?

    • CommentAuthornivaldo
    • CommentTimeJan 4th 2008
     permalink
    Hi Martin,

    I am using version Alpha 0.3.1.547.

    Example:
    1. set to use Spaces (in the Status bar)
    2. click on Bundles -> Ruby -> Declarations -> def...end
    3. specify method_name to be say_hello and then press tab (or use down arrow) to go to body of function and write puts 'hello'...so that in the end we have:
    def say_hello
    puts 'hello'
    end
    4. save file
    5. open file in another text editor that allows viewing of tabs and spaces...and the result is that there is a tab (and not spaces) before the statement puts 'hello'

    Hope this helps,
    Thanks!
  2.  permalink

    nivaldo: Ok, I’ve tested this in our latest internal release and it seems okay with the scenario you have written. I’ll send you the release by e-mail so you can test it yourself.

    • CommentAuthornivaldo
    • CommentTimeJan 4th 2008
     permalink
    Thanks Martin! It works great now...
    •  
      CommentAuthormajk
    • CommentTimeJan 15th 2008
     permalink

    martincohen: I have done some tests and it seems that it is working okay for me (v675).

    v675?! Hmmm… :)

    • CommentAuthorhusain
    • CommentTimeFeb 5th 2008
     permalink

    hi majk,
    you’ got v675? I don’t see it in download page.
    Or may be I miss it.

    • CommentAuthordaryl
    • CommentTimeFeb 5th 2008
     permalink

    It’s not available. Currently available releases are .664(unstable) or .547(stable).

  3.  permalink

    v675 is from the internal cutting edge releases…