Not signed in (Sign In)

Categories

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

    • CommentAuthorzaussome
    • CommentTimeMay 26th 2008
     permalink
    I'm not sure if this functionality is already in Intype, but I was unable to find it. Intype is an amazing editor, but I have a personal vendetta against using tabs in code, and because of this, I need to change the setting to soft tabs whenever I boot Intype. Is there any way it could be set to use soft tabs by default?

    I also don't frequent this forum very much and thus may not respond.
    • CommentAuthormartincohen
    • CommentTimeMay 27th 2008 edited
     permalink

    zaussome: Currently, there’s no UI to do this, however, there’s a config file that hold the default settings that will apply when you create a new file. The config file is located in

    Intype_Installation_Folder/user/config/preferences

    The settings are in the app.file_defaults namespace.

    However, when you’re opening a file, there’s auto-detection, that cannot be overriden, and it only falls to the defaults if it is not able to detect the format. We are having a plan on how to specify the rules in scope of project and also in scope of application, but it’s not on our current todo list.

    • CommentAuthorzaussome
    • CommentTimeMay 29th 2008
     permalink

    @martincohen

    Sorry about this; in my Intype installation folder I don’t have a config folder, inside user I see preferences.itConfig and session.itConfig.

    The source of preferences.inConfig is the following.

    { version : '0 3 1 547' app.editor : { theme : 'Default' padding_top : 1 padding_bottom : 1 font_size : 12 font_name : 'Consolas' } }

    How would I change this to use 4 spaces instead of a tab when creating a new document?

    • CommentAuthorque
    • CommentTimeMay 29th 2008
     permalink

    zaussome download latest unstable

    { version : '0 3 1 734' app.file_defaults : { line_ending : 'LF' indent_soft : true indent_size : 2 encoding : 'UTF-8-PLAIN' } app.editor : { theme : 'Twilight' padding_top : 0 padding_bottom : 1 font_size : 11 font_name : 'Consolas' } }

    • CommentAuthorzaussome
    • CommentTimeMay 29th 2008
     permalink

    @que I’ve put that in my preferences.itConfig file and am not noticing any difference on new files. What have I done wrong?

    Thanks very much for your help!

  1.  permalink

    zaussome: Please, upgrade to latest release and use instructions I wrote above.

    • CommentAuthorzaussome
    • CommentTimeMay 30th 2008
     permalink

    martincohen: zaussome: Please, upgrade to latest release and use instructions I wrote above.

    I’ve upgraded to that version (had before, but forgot to mention) and inside Intype/user I only see the two aforementioned files and a config folder with nothing in it. When I put that code in preferences.itConfig, nothing happens; which file am I meant to put that code in?